/* Owner review repair for the September 23 Sleeping Bear release. */

/* Keep the Dock available without pushing the navigation or page downward. */
#hb-header {
  position: relative;
}

/* Restore the dark utility bar used by the previous approved header. */
.aus-editorial-site #header-bar {
  color: #f4f1ea !important;
  background: #2b2b2b !important;
}

.aus-editorial-site #header-bar .top-widget,
.aus-editorial-site #header-bar .top-widget p,
.aus-editorial-site #header-bar .top-widget strong,
.aus-editorial-site #header-bar .top-widget a,
.aus-editorial-site #header-bar .top-widget i {
  color: #f4f1ea !important;
}

#header-dropdown {
  position: absolute !important;
  z-index: 10000;
  top: 100%;
  right: 0;
  left: 0;
  height: 0 !important;
  overflow: hidden;
  background: #252625;
  box-shadow: 0 1.25rem 2.5rem rgba(23, 24, 23, 0.28);
  opacity: 0 !important;
  pointer-events: none;
}

#header-dropdown.aus-dock-panel-open {
  height: clamp(18rem, 30vw, 22rem) !important;
  opacity: 1 !important;
  pointer-events: auto;
}

#header-dropdown #contact-map {
  height: 100% !important;
  min-height: 18rem;
}

#header-dropdown .aus-dock-fallback {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  display: grid;
  max-width: 24rem;
  padding: 1.25rem 1.5rem;
  gap: 0.35rem;
  color: #f4f1ea;
  background: rgba(37, 38, 37, 0.94);
  font-family: Raleway, sans-serif;
}

#header-dropdown .aus-dock-fallback strong {
  font-size: 1rem;
  font-weight: 700;
}

#header-dropdown .aus-dock-fallback a {
  width: fit-content;
  margin-top: 0.35rem;
  color: #f4f1ea !important;
  border-bottom: 1px solid #a93226;
  text-decoration: none !important;
}

/* Override the parent theme's intrinsic image height at every breakpoint. */
.winter_photo img,
#main-content .winter_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Restore the exact desktop navigation typography from the prior theme. */
@media (min-width: 761px) {
  .aus-editorial-site #header-inner .hb-ajax-search-button {
    display: none !important;
  }

  .aus-editorial-site #header-inner #search-trigger {
    display: none !important;
  }

  .aus-editorial-site #main-nav > li > a,
  .aus-editorial-site #main-nav > li.aus-nav-book > a {
    font-family: Raleway, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
  }

  /* Preserve the approved 44/56 split and show the full height of the bear photograph. */
  .winter_hero {
    margin-top: 140px;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  }

  .winter_photo img,
  #main-content .winter_photo img {
    object-position: 50% 35%;
  }
}

/* One shared type rule controls present and future calls to action. */
.aus-editorial-site .aus-button,
.aus-editorial-site button,
.aus-editorial-site input[type="button"],
.aus-editorial-site input[type="submit"] {
  font-family: Raleway, sans-serif !important;
  font-weight: 700 !important;
}

/* Keep the signup useful and compact. */
.winter_signup {
  padding-block: clamp(2rem, 3.5vw, 3rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.winter_signup h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.winter_signup p {
  margin-bottom: 0;
}

.aus-bear-wake-form > p:first-of-type,
.aus-bear-wake-form form > p:first-of-type {
  display: grid;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem 0.75rem;
  align-items: end;
}

.aus-bear-wake-form > p:first-of-type > br,
.aus-bear-wake-form form > p:first-of-type > br {
  display: none;
}

.aus-bear-wake-form > p:first-of-type > label:first-child,
.aus-bear-wake-form form > p:first-of-type > label:first-child {
  min-width: 0;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.aus-bear-wake-form > p:first-of-type > .wpcf7-form-control-wrap[data-name="winter-consent"],
.aus-bear-wake-form form > p:first-of-type > .wpcf7-form-control-wrap[data-name="winter-consent"] {
  grid-column: 1 / -1;
  grid-row: 2;
}

.aus-bear-wake-form > p:first-of-type > input[type="submit"],
.aus-bear-wake-form form > p:first-of-type > input[type="submit"] {
  min-height: 51px;
  margin: 0;
  padding: 0.9rem 1.35rem;
  border-radius: 0;
  grid-column: 2;
  grid-row: 1;
  color: var(--aus-paper) !important;
  background: var(--aus-red);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: none;
}

.aus-bear-wake-form > p:nth-of-type(2),
.aus-bear-wake-form form > p:nth-of-type(2) {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

/* Preserve each component's original single visual cue instead of stacking underlines. */
.aus-experience-jump a,
.aus-safari-grid h3 a,
.aus-text-link,
.aus-redesign .aus-reading a.aus-text-link,
.aus-review-source,
.aus-reviews-home .aus-review-card footer a {
  text-decoration: none !important;
}

/* Experience selector links use a restrained hover line directly below the label. */
.aus-experience-jump a {
  color: var(--aus-paper) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.aus-experience-jump a::after {
  right: 20%;
  bottom: 0.5rem;
  left: 20%;
  height: 1px;
}

.aus-experience-jump a:hover,
.aus-experience-jump a:focus-visible {
  color: var(--aus-paper) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Present three primary choices first, with Ultimate and Custom centered below. */
#experiences .aus-experience-links {
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.aus-experience-links > a {
  grid-column: span 2;
}

.aus-experience-links > a:nth-child(4) {
  grid-column: 2 / span 2;
}

.aus-experience-links > a:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Card links share the same red hover language, with one deliberate underline. */
.aus-safari-grid h3 a:hover,
.aus-safari-grid h3 a:focus-visible,
.aus-safari-grid .aus-text-link:hover,
.aus-safari-grid .aus-text-link:focus-visible {
  color: var(--aus-red) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-color: var(--aus-red) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.18em;
}

.aus-safari-grid .aus-text-link:hover,
.aus-safari-grid .aus-text-link:focus-visible {
  border-bottom-color: transparent;
}

/* The navigation action stays a red action on hover. */
.aus-editorial-site #main-nav > li.aus-nav-book > a:hover,
.aus-editorial-site #main-nav > li.aus-nav-book > a:focus-visible {
  color: var(--aus-paper) !important;
  background: var(--aus-red-dark) !important;
}

/* Return the proof band to a restrained strip, not four large boxes. */
.aus-proof-strip {
  color: var(--aus-paper) !important;
  background: var(--aus-red) !important;
  border: 0;
}

.aus-proof-grid {
  gap: clamp(1rem, 3vw, 2.5rem);
}

.aus-proof-grid > div {
  min-height: 4.5rem;
  padding: 0.8rem 0;
  border: 0 !important;
  background: transparent;
}

.aus-proof-grid > div::before {
  display: none;
}

.aus-proof-grid strong {
  color: var(--aus-paper) !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.aus-proof-grid span {
  color: rgba(244, 241, 234, 0.72) !important;
}

/* Keep the seaplane story balanced and stop the quote from becoming a page-height panel. */
.aus-image-story {
  min-height: clamp(24rem, 34vw, 30rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(26rem, 0.85fr);
}

.aus-image-story > div,
.aus-image-story > div picture,
.aus-image-story > div img {
  display: block;
  width: 100%;
  height: 100% !important;
}

.aus-image-story blockquote {
  padding: clamp(2.5rem, 3.5vw, 3.5rem);
}

.aus-image-story blockquote span {
  max-width: 15ch;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.04;
}

/* Align recognition art with the review metrics and give the heading room for three lines. */
.aus-awards-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: end;
}

.aus-awards-grid h2 {
  max-width: 16ch;
}

.aus-award-badges {
  align-self: end;
}

/* Keep the action links below the metrics without using them to lower the badge grid. */
.aus-awards-grid > div:first-child {
  position: relative;
}

.aus-awards-grid .aus-recognition-links {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
}

.aus-awards-grid .aus-review-sources {
  margin-bottom: 0;
}

/* Give the field story copy enough width to hold its heading to three lines. */
.aus-video-story--home .aus-video-story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
}

.aus-video-story--home .aus-video-copy h2 {
  max-width: 13ch;
}

@media (max-width: 760px) {
  #experiences .aus-shell {
    width: 100% !important;
    min-width: 0;
  }

  .aus-awards-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .aus-award-badges {
    margin-bottom: 0;
    transform: none;
  }

  .aus-awards-grid .aus-recognition-links {
    position: static;
    margin-top: 1rem;
  }

  .aus-video-story--home .aus-video-story-grid {
    grid-template-columns: 1fr;
  }

  .aus-video-story--home .aus-video-copy h2 {
    max-width: none;
  }

  .aus-bear-wake-form > p:first-of-type,
  .aus-bear-wake-form form > p:first-of-type {
    grid-template-columns: 1fr;
  }

  .aus-bear-wake-form > p:first-of-type > label:first-child,
  .aus-bear-wake-form form > p:first-of-type > label:first-child,
  .aus-bear-wake-form > p:first-of-type > .wpcf7-form-control-wrap[data-name="winter-consent"],
  .aus-bear-wake-form form > p:first-of-type > .wpcf7-form-control-wrap[data-name="winter-consent"],
  .aus-bear-wake-form > p:first-of-type > input[type="submit"],
  .aus-bear-wake-form form > p:first-of-type > input[type="submit"] {
    grid-column: 1;
    grid-row: auto;
  }

  .aus-bear-wake-form > p:first-of-type > input[type="submit"],
  .aus-bear-wake-form form > p:first-of-type > input[type="submit"] {
    width: 100%;
  }

  .aus-proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
  }

  .aus-proof-grid > div {
    min-height: 4rem;
    padding-block: 0.65rem;
  }

  .aus-image-story {
    grid-template-columns: 1fr;
  }
}

/* September 24 owner directed live regression hotfix. */
@media (min-width: 901px) {
  .aus-home .aus-section-heading h2 {
    max-width: 19ch;
    font-size: clamp(3rem, 4.2vw, 3.5rem);
    line-height: 1.02;
  }

  .aus-home .aus-awards-grid h2 {
    max-width: 22ch;
    font-size: clamp(3rem, 4.2vw, 3.5rem);
    line-height: 1.04;
  }
}

/* Keep Safari card indicators in one fixed position before and during hover. */
.aus-safari-grid h3 a,
.aus-safari-grid h3 a:hover,
.aus-safari-grid h3 a:focus-visible {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.2em !important;
}

.aus-safari-grid .aus-text-link,
.aus-safari-grid .aus-text-link:hover,
.aus-safari-grid .aus-text-link:focus-visible {
  border-bottom: 1px solid currentColor !important;
  text-decoration: none !important;
}

#header-dropdown .aus-dock-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Show the embedded Dock map when the visitor opens its panel. */
#header-dropdown.aus-dock-panel-open #contact-map {
  opacity: 1 !important;
  visibility: visible !important;
}
