html[data-archive-site="woodesk"][data-archive-page="index"] {
  --woodesk-screen-height: 100vh;
  --woodesk-header-height: 65px;
  --woodesk-hero-height: calc(var(--woodesk-screen-height) - var(--woodesk-header-height));
  --woodesk-controls-inset: clamp(18px, 5vh, 58px);
}

@supports (height: 100dvh) {
  html[data-archive-site="woodesk"][data-archive-page="index"] {
    --woodesk-screen-height: 100dvh;
  }
}

.home_body {
  height: auto;
}

.home_body > div[class^="homenav_p"] {
  scroll-margin-top: var(--woodesk-header-height);
}

.home-section-nav.nav {
  top: calc((100% + var(--woodesk-header-height)) / 2);
  right: clamp(8px, 1.6vw, 26px);
  width: auto;
  padding: 0;
  transform: translateY(-50%);
}

.home-section-nav .home_navbar {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  margin: 0;
  border: 0;
  background: transparent;
}

.home-section-nav .home_navbar::before {
  content: "";
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  border: 2px solid #ffcc99;
  border-radius: 50%;
  background: #ffcc99;
}

.home-section-nav .home_navbar[aria-current]::before {
  width: 16px;
  height: 16px;
  background: transparent;
}

[data-archive-site="woodesk"] .home_content_slider {
  box-sizing: border-box;
  height: var(--woodesk-screen-height);
  padding-top: var(--woodesk-header-height);
}

[data-archive-site="woodesk"] .home_event_info {
  top: 0;
  height: 100%;
}

[data-archive-site="woodesk"] .home_event_info > li {
  height: 100%;
}

.home_event_info > li > a:first-child {
  display: block;
  height: 100%;
}

[data-archive-site="woodesk"] .home_event_info > li > a:first-child > img {
  display: block;
  object-position: center;
}

/* The original opening slide is visible while the carousel initializes. */
.home_event_info > .home_dining {
  left: 0;
}

[data-archive-site="woodesk"] .home_content_slider :is(.btn_prev, .btn_next) {
  top: calc(var(--woodesk-header-height) + var(--woodesk-hero-height) / 2);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  z-index: 5;
}

.home_content_slider :is(.btn_prev, .btn_next) img {
  left: 0;
  max-height: 100%;
}

[data-archive-site="woodesk"] .home_content_slider .home_nav_rectangle {
  position: absolute;
  top: auto;
  bottom: var(--woodesk-controls-inset);
}

.home_content_slider .home_nav_rectangle > li:first-child {
  margin-left: 10px;
}

.home_conutdown_content {
  box-sizing: border-box;
  display: grid;
  align-content: center;
  padding-block: 24px 48px;
  height: auto;
  min-height: var(--woodesk-hero-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.home_countdown_box {
  top: auto;
  left: clamp(32px, 6vw, 120px);
  width: 720px;
}

.home_countdown_box_countdown {
  box-sizing: border-box;
  width: min(100% - 90px, 445px);
  margin: 8px 45px 18px;
  padding: 0;
}

#clockdiv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 12px);
  color: #444;
  font-variant-numeric: tabular-nums;
}

#clockdiv > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffcc9980;
}

#clockdiv span {
  font-size: clamp(20px, 4.5vw, 30px);
  line-height: 1;
}

#clockdiv .smalltext p {
  font-size: clamp(10px, 2.6vw, 16px);
  line-height: 1.2;
}

.home_parallax {
  background-position: center;
  background-size: cover;
}

.home_parallax_text_img {
  width: min(402px, 86%);
  height: auto;
  aspect-ratio: 402 / 143;
}

.home_parallax_text_img img {
  display: block;
  width: 100%;
}

@media (min-width: 1025px) {
  .home_event_info .home_description_box {
    top: clamp(36px, 16%, 155px);
  }

  .home_event_info :is(.home_valentine_description, .home_wedding_description) {
    top: clamp(36px, calc(100% - 445px), 37%);
  }

  .home_event_info .home_valentine_description {
    left: clamp(110px, 16vw, 275px);
  }

  .home_event_info .home_wedding_description {
    left: auto;
    right: 8vw;
  }
}

@media (min-width: 1025px) and (max-height: 655px) {
  .home_event_info .home_description_box {
    zoom: .74;
  }
}

@media (min-width: 701px) and (max-height: 820px) {
  .home_countdown_box {
    zoom: .78;
  }
}

@media (max-width: 700px) {
  .home_conutdown_content {
    padding: 56px 24px 72px;
    background-position: 65% center;
  }

  .home_countdown_box {
    left: auto;
    width: min(100%, 420px);
  }

  .home_countdown_box_line,
  .home_countdown_box_year {
    display: none;
  }

  .home_countdown_box_infobox {
    position: static;
    width: auto;
    height: auto;
    padding: clamp(18px, 5vw, 34px);
    background-color: #fffc;
  }

  .home_countdown_box_infobox_title,
  .home_countdown_box_infobox_words,
  .home_countdown_box_countdown {
    margin: 0;
    width: auto;
  }

  .home_countdown_box_infobox_title {
    line-height: 1.25;
  }

  .home_countdown_box_infobox_title h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .home_countdown_box_infobox_title h3 {
    margin-top: 8px;
    font-size: 17px;
  }

  .home_countdown_box_countdown {
    margin: 14px 0;
  }

  .home_countdown_box_infobox_words {
    line-height: 1.7;
    text-align: start;
  }

  .home_countdown_box_infobox_words p {
    font-size: 14px;
  }

  .home_countdown_box_infobox_btn {
    display: table;
    position: static;
    margin: 16px 0 0 auto;
    padding: 9px 16px;
  }

  .home_parallax {
    background-attachment: scroll;
  }
}
