/* Post-audit responsive image, layout-shift, and overflow guards.
   Loaded AFTER style.css so these selectors win where they need to. */

/* ---- "Coming Soon!" markers for dining / restaurant content ---- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.cs-banner {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, rgba(46, 32, 20, 0.92), rgba(80, 55, 30, 0.88)),
              url('../images/banner1.webp') center/cover no-repeat;
  text-align: center;
  padding: 60px 20px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cs-banner .cs-script {
  font-family: 'Great Vibes', 'Pinyon Script', 'Brush Script MT', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  font-weight: normal;
}

.cs-banner .cs-sub {
  display: block;
  color: #f3e7d2;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
}

.cs-pill {
  display: inline-block;
  background: #b8860b;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
}

.cs-inline {
  font-family: 'Great Vibes', 'Pinyon Script', 'Brush Script MT', cursive;
  color: #b8860b;
  font-size: 1.6em;
  line-height: 1;
  margin-left: 0.3em;
  vertical-align: middle;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cs-banner { padding: 40px 16px; }
  .cs-banner .cs-script { font-size: clamp(2.5rem, 12vw, 4rem); }
}


img {
  max-width: 100%;
  height: auto;
}

picture,
figure {
  max-width: 100%;
}

.gallery img,
.rooms-sec img,
.owl-carousel img,
.slick-slider img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lightbox / popup image: keep within the viewport. */
.mfp-img,
.lightbox img,
.fancybox-image,
.mfp-figure img {
  max-width: 90vw !important;
  max-height: 85vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

/* Hard guard against horizontal overflow on small screens.
   This is a safety net — the real fix is responsive widths above. */
html,
body {
  overflow-x: hidden;
}

.container,
.container-fluid,
.row {
  max-width: 100%;
}

/* Footer email link — sits as its own line under the phone link, same
   visual weight, so it inherits the existing .call-us style. */
#footer a.call-us-email {
  margin-top: 6px;
}

/* Reserve aspect ratio on gallery thumbnails so they don't push the page
   wider than the viewport while real width/height attributes are missing. */
.gallery img,
.gallery .item img,
.owl-gallery img,
.owl-carousel .item img {
  width: 100%;
  height: auto;
}

/* Reserve a 4:3 box for gallery thumbs so the layout doesn't shift in. */
.angler-gallery .gallery-img,
.angler-gallery .gallery-img img,
.gallery-card,
.gallery-card img,
.image-card,
.image-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Carousel banners: hard-cap at viewport so the hero never pushes overflow. */
.carousel-item img,
#myCarousel img,
.banner-img,
.banner-content img {
  max-width: 100%;
  height: auto;
}

/* Iframes (e.g. Google Maps on contact) shouldn't overflow either. */
iframe {
  max-width: 100%;
}

/* Visually-hidden helper used by the audit-driven H1 additions. */
.visually-hidden,
.sr-only-audit {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


  


  /* hero panel sizing — accommodate audit-v2 copy */
  section#banner .banner-content {
    width: 40%;
    padding-right: 50px;
    padding-left: 40px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  section#banner h1.luxuary-txt,
  section#banner h2.luxuary-txt {
    font-size: 44px;
    line-height: 54px;
  }

  section#banner h1.luxuary-txt span {
    font-size: 36px;
    line-height: 1.15;
  }

  section#banner h1.uncompromised-txt,
  section#banner h2.uncompromised-txt {
    font-family: Perpetua-Titling-MT-Std-Light;
    color: #332b25;
    font-weight: normal;
    font-size: 32px;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 4px;
  }

  section#banner p.luxuary-para {
    font-size: 16px;
    line-height: 1.45;
    margin-top: 18px;
  }

  /* On narrower desktops/laptops, give the panel a touch more room */
  @media (max-width: 1366px) {
    section#banner .banner-content {
      width: 44%;
      padding-right: 40px;
      padding-left: 32px;
    }
    section#banner h1.luxuary-txt,
    section#banner h2.luxuary-txt {
      font-size: 36px;
      line-height: 44px;
    }
    section#banner h1.uncompromised-txt,
    section#banner h2.uncompromised-txt {
      font-size: 26px;
    }
    section#banner h1.luxuary-txt span {
      font-size: 30px;
    }
  }

  @media (max-width: 1024px) {
    section#banner .banner-content {
      width: 50%;
    }
    section#banner h1.luxuary-txt,
    section#banner h2.luxuary-txt {
      font-size: 30px;
      line-height: 38px;
    }
    section#banner h1.uncompromised-txt,
    section#banner h2.uncompromised-txt {
      font-size: 22px;
    }
    section#banner h1.luxuary-txt span {
      font-size: 26px;
    }
    section#banner p.luxuary-para {
      font-size: 14px;
    }
  }

  /* Hero AOS override removed — js/scroll-reveal.js (IntersectionObserver)
     reveals above-the-fold elements on the next animation frame, so the hero
     can use its real fade-up transition without risk of staying invisible. */

  /* Hotel Info "Make A Reservation" row: keep the label and phone number
     on a single line. The base rule fixes each `.check-in` row to 350px
     wide which is too narrow for "Make A Reservation: +1 (936) 327-2300"
     at 18px. Allow the row to grow with its content (still at least 350px
     so short rows like "Check-In: 3:00 PM" keep their visual rhythm), and
     prevent any wrapping inside the heading. */
  section#hotel-info-sec .check-in {
    width: max-content;
    min-width: 350px;
    max-width: 100%;
  }
  section#hotel-info-sec h6.check-in-txt {
    white-space: nowrap;
  }
  section#hotel-info-sec h6.check-in-txt a.reserve-call {
    white-space: nowrap;
  }
  /* On viewports narrower than the 350px min, allow the heading text to
     wrap so it never overflows the screen. */
  @media (max-width: 480px) {
    section#hotel-info-sec .check-in {
      min-width: 0;
    }
    section#hotel-info-sec h6.check-in-txt {
      white-space: normal;
    }
    section#hotel-info-sec h6.check-in-txt a.reserve-call {
      white-space: nowrap;
    }
  }

  /* Terms & Conditions page — clean, readable, centered article layout. */
  .terms-page .terms-article {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 12px;
    color: #332b25;
    font-family: Poppins-Regular, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
  }
  .terms-page .terms-section {
    margin: 28px 0;
  }
  .terms-page .terms-section h2 {
    font-family: Poppins-Medium, system-ui, sans-serif;
    font-size: 22px;
    color: #332b25;
    margin: 0 0 12px;
    line-height: 1.3;
  }
  .terms-page .terms-section p {
    margin: 0 0 12px;
  }
  .terms-page a.terms-phone {
    color: #332b25;
    text-decoration: underline;
    white-space: nowrap;
  }
  .terms-page .terms-address {
    font-style: normal;
    margin: 8px 0 0;
    line-height: 1.7;
  }
  .terms-page .terms-updated {
    margin: 36px 0 0;
    padding-top: 16px;
    border-top: 1px solid #d8d4cf;
    font-size: 14px;
    color: #6b645c;
    text-align: center;
  }
  @media (max-width: 600px) {
    .terms-page .terms-article {
      font-size: 15px;
      padding: 0 4px;
    }
    .terms-page .terms-section h2 {
      font-size: 19px;
    }
  }

  /* Footer policy links: remove the trailing "|" after the last item
     (Terms of Service). The base style adds `border-right: 1px solid` to
     every `.offers-txt` link to render the pipe separator, but the final
     item shouldn't have one. */
  #footer li.offers-list:last-child a.offers-txt {
    border-right: 0;
    padding-right: 0;
  }

  /* Photo Gallery left-side tabs: stack each pill on its own row instead of
     wrapping 2-per-row when the container is narrow. */
  section#gallery #pills-gallery-tab.nav-pills {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  section#gallery #pills-gallery-tab.nav-pills .nav-item {
    width: 100%;
  }
  section#gallery #pills-gallery-tab.nav-pills .nav-link {
    display: block;
    width: 100%;
    text-align: left;
  }
