/*
 Theme Name:   Blocksy Child
 Theme URI:    https://thebirdhousehospitality.com
 Description:  Child theme for The Birdhouse Hospitality
 Author:       The Birdhouse Hospitality
 Author URI:   https://thebirdhousehospitality.com
 Template:     blocksy
 Version:      1.7.0
 Text Domain:  blocksy-child
*/


/* ============================================================
   BRAND TOKENS
   All colours and typography variables for The Birdhouse.
   Override Blocksy defaults here — do not edit parent theme.
   ============================================================ */

:root {
  /* Core palette */
  --tbh-charcoal:    #504a4b;
  --tbh-cream:       #f5f0e8;
  --tbh-sand:        #d4c5a0;
  --tbh-dusty-rose:  #c4846a;
  --tbh-teal:        #2d7d8a;

  /* Location accent colours (applied via body class per property page) */
  --tbh-sage:        #b2b487;   /* Dharamkot — Retreat, Little Bird Homes */
  --tbh-terracotta:  #cc6b49;   /* Bir — Villa Bir */
  --tbh-mcleod-teal: #217d8a;   /* McLeodganj — Bougainvillea, Monal */

  /* Active accent — default, overridden per property */
  --tbh-accent:      var(--tbh-teal);

  /* Typography scale */
  --tbh-font-display: 'Gilda Display', Georgia, serif;
  --tbh-font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Per-property accent colour overrides */
.page-retreat       { --tbh-accent: var(--tbh-sage); }
.page-little-bird   { --tbh-accent: var(--tbh-sage); }
.page-villa-bir     { --tbh-accent: var(--tbh-terracotta); }
.page-bougainvillea { --tbh-accent: var(--tbh-mcleod-teal); }
.page-monal         { --tbh-accent: var(--tbh-mcleod-teal); }


/* ============================================================
   GLOBAL BASE OVERRIDES
   ============================================================ */

body {
  background-color: var(--tbh-cream);
  color: var(--tbh-charcoal);
  font-family: var(--tbh-font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tbh-font-display);
  font-weight: 400;
  color: var(--tbh-charcoal);
  letter-spacing: 0.01em;
}

a {
  color: var(--tbh-accent);
  text-decoration: none;
}

a:hover {
  color: var(--tbh-charcoal);
}

/* Blocksy uses --theme-palette-color-1 etc — wire brand colours in */
:root {
  --theme-palette-color-1: var(--tbh-teal);
  --theme-palette-color-2: var(--tbh-charcoal);
  --theme-palette-color-3: var(--tbh-dusty-rose);
  --theme-palette-color-4: var(--tbh-sand);
  --theme-palette-color-5: var(--tbh-cream);
  --theme-palette-color-6: #ffffff;
  --theme-palette-color-7: #f0ebe3;
  --theme-palette-color-8: #3a3536;
}


/* ============================================================
   BUTTONS — primary Book Now style
   ============================================================ */

.wp-block-button__link,
.tbh-btn {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--tbh-accent) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 2px;
  padding: 14px 28px;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.wp-block-button__link:hover,
.tbh-btn:hover {
  opacity: 0.88;
  color: #ffffff !important;
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link,
.tbh-btn-outline {
  background-color: transparent;
  border: 1px solid var(--tbh-charcoal);
  color: var(--tbh-charcoal) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.tbh-btn-outline:hover {
  background-color: var(--tbh-charcoal);
  color: #ffffff !important;
}

/* Room availability button — accent fill */
.tbh-room .wp-block-button__link,
.tbh-btn-availability {
  background-color: var(--tbh-accent) !important;
  color: #ffffff !important;
  border: none !important;
  opacity: 1;
}

.tbh-room .wp-block-button__link:hover,
.tbh-btn-availability:hover {
  opacity: 0.85;
  color: #ffffff !important;
}


/* ============================================================
   HERO — full-bleed Cover block
   ============================================================ */

.wp-block-cover {
  min-height: 92vh !important;
}

.wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 56px;
}

/* Kicker label above hero H1 */
.tbh-hero-kicker {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  display: block;
}

.wp-block-cover h1,
.wp-block-cover .wp-block-heading {
  font-family: var(--tbh-font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 28px;
}

/* V2 — Hero gradient scrim
   Replaces flat 50% dim with a bottom-weighted gradient.
   Photos read brighter at the top; H1 text gets more contrast at bottom.
   Inspired by The Postcard Hotels hero treatment.
   NOTE: uses !important to override WP Cover block's inline opacity style. */
.wp-block-cover .wp-block-cover__background {
  background: linear-gradient(
    to top,
    rgba(13, 26, 20, 0.72) 0%,
    rgba(13, 26, 20, 0.28) 48%,
    rgba(13, 26, 20, 0.06) 100%
  ) !important;
  opacity: 1 !important;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer,
#footer {
  background-color: var(--tbh-teal) !important;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a,
#footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover,
#footer a:hover {
  color: #ffffff;
}

.site-footer h3,
.site-footer h4,
#footer h3,
#footer h4 {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* V8 — Brand footer upgrade
   Styles for the 3-column footer built in Blocksy Footer Builder.
   Columns: (1) Tagline + Instagram  (2) Properties by location  (3) Contact.
   Footer builder setup: use Nav Menu widgets for property links,
   Text/HTML widgets for tagline and contact.
   ============================================================ */

.ct-footer-widgets-area {
  padding: 52px 0 36px;
}

/* Footer widget headings */
.site-footer .widget-title,
.ct-footer .widget-title,
.site-footer .wp-block-heading,
.ct-footer .wp-block-heading {
  font-family: var(--tbh-font-body) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin: 0 0 20px !important;
}

/* Footer nav list (property links) */
.site-footer .menu,
.ct-footer .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .menu a,
.ct-footer .menu a {
  font-family: var(--tbh-font-display);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.site-footer .menu a:hover,
.ct-footer .menu a:hover {
  color: #ffffff !important;
}

/* Footer brand tagline */
.tbh-footer-tagline {
  font-family: var(--tbh-font-display);
  font-size: 21px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}

/* Footer contact & social links */
.tbh-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.tbh-footer-contact a {
  font-family: var(--tbh-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tbh-footer-contact a:hover {
  color: #ffffff !important;
}

.tbh-footer-contact__label {
  font-family: var(--tbh-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  display: block;
  margin-bottom: 8px;
}

/* Footer bottom bar */
.ct-footer-bottom,
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
}

.ct-footer-bottom p,
.site-footer .footer-bottom p,
.ct-footer-bottom .wp-block-paragraph {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
  margin: 0;
  letter-spacing: 0.04em;
}


/* ============================================================
   MOBILE FIXES
   ============================================================ */

@media (max-width: 640px) {

  h1 {
    font-size: clamp(26px, 7.5vw, 38px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
  }

  h2 {
    font-size: clamp(22px, 6.5vw, 32px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }

  h3 {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.3 !important;
  }

  .wp-block-button__link,
  .tbh-btn {
    word-break: break-word !important;
  }

}


/* ============================================================
   SECTION SPACING
   Generous whitespace — boutique editorial rhythm
   ============================================================ */

.wp-block-group,
.wp-block-columns {
  margin-block: 0;
}

section,
.tbh-section {
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 80px);
}

.tbh-section.tbh-room,
.wp-block-group.tbh-room {
  padding-top:    clamp(32px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
}

.tbh-room .wp-block-columns {
  align-items: flex-start !important;
  gap: 56px !important;
}

.tbh-section .wp-block-columns {
  align-items: flex-start;
}

.tbh-divider {
  width: 40px;
  height: 1px;
  background: var(--tbh-sand);
  margin: 0 0 24px;
}

/* V5 — Section divider rhythm
   Auto-inserts a 32px sand rule above section H2s that are direct
   children (or first heading child) of a .tbh-section.
   Existing .tbh-divider span elements continue to work as-is.
   The ::before rule fires only when no explicit .tbh-divider precedes
   the heading (selector specificity keeps both coexisting safely).
   ============================================================ */

.tbh-section > h2,
.tbh-section > .wp-block-heading {
  margin-top: 0;
}

.tbh-section > h2::before,
.tbh-section > .wp-block-heading::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--tbh-sand);
  margin-bottom: 22px;
}

/* Kicker label — consistent uppercase label above major sections */
.tbh-kicker {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbh-dusty-rose);
  display: block;
  margin-bottom: 10px;
}


/* ============================================================
   "WHO THIS IS FOR" — CSS grid
   ============================================================ */

.tbh-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tbh-persona-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.tbh-persona-title {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  margin: 0 0 10px;
  display: block;
}

.tbh-persona-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tbh-charcoal);
  margin: 0;
}

.tbh-not-for-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tbh-not-for-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--tbh-charcoal);
  padding-left: 16px;
  position: relative;
}

.tbh-not-for-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #9a8e82;
}


/* ============================================================
   GUEST REVIEWS — CSS grid
   ============================================================ */

.tbh-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tbh-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* V4 — Pull-quote review styling
   Oversized Gilda Display quotation mark sits behind each card.
   Makes the social-proof section feel curated, not widget-like.
   ============================================================ */

.tbh-review-card {
  background: #ffffff;
  border-radius: 3px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.tbh-review-card::before {
  content: '\201C';
  font-family: var(--tbh-font-display);
  font-size: 110px;
  line-height: 0.85;
  color: var(--tbh-sand);
  position: absolute;
  top: 8px;
  left: 14px;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.tbh-review-stars {
  color: var(--tbh-accent);
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.tbh-review-quote {
  font-family: var(--tbh-font-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tbh-charcoal);
  font-style: italic;
  flex: 1;
  position: relative;
  z-index: 1;
}

.tbh-review-meta {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #9a8e82;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}


/* ============================================================
   REMOTE WORK SECTION
   ============================================================ */

.tbh-remote-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tbh-remote-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tbh-charcoal);
}

.tbh-remote-list li::before {
  content: '✓';
  color: var(--tbh-accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */

.tbh-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .tbh-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--tbh-charcoal);
    padding: 12px 20px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  }

  .tbh-sticky-cta__text {
    font-family: var(--tbh-font-body);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
  }

  .tbh-sticky-cta__text strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1px;
  }

  .tbh-sticky-cta__btn {
    font-family: var(--tbh-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--tbh-accent) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 2px;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    border: none;
  }

  body { padding-bottom: 72px; }
}


/* ============================================================
   PARAGRAPH COLOUR FIX
   ============================================================ */

.tbh-section p,
.tbh-section .wp-block-paragraph,
.wp-block-column p,
.wp-block-column .wp-block-paragraph {
  color: var(--tbh-charcoal);
}


/* ============================================================
   TRUST BAR — V1 Boxed card style (unified across all properties)
   Replaces the flat top/bottom-border strip with a proper card:
   white background, border on all sides, centered max-width.
   Matches the Retreat's preferred trust bar style.
   ============================================================ */

.tbh-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 48px;
  background-color: #ffffff;
  border: 1px solid var(--tbh-sand);
  border-radius: 3px;
  max-width: 760px;
  margin: 0 auto;
}

.tbh-trust-label {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-dusty-rose) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tbh-trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
}

.tbh-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbh-trust-logo {
  width: 28px;
  height: 28px;
  color: var(--tbh-charcoal);
  opacity: 0.7;
  flex-shrink: 0;
}

.tbh-trust-wordmark {
  font-family: var(--tbh-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--tbh-charcoal);
  opacity: 0.7;
  letter-spacing: 0.02em;
  line-height: 1;
}

.tbh-trust-score {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbh-trust-stars {
  font-family: var(--tbh-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--tbh-charcoal);
  line-height: 1.2;
}

.tbh-trust-detail {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  color: var(--tbh-dusty-rose);
  line-height: 1.2;
}

.tbh-trust-divider {
  width: 1px;
  height: 36px;
  background-color: var(--tbh-sand);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .tbh-trust-bar {
    padding: 28px 20px;
    max-width: 100%;
  }
  .tbh-trust-divider { display: none; }
  .tbh-trust-items   { gap: 16px 20px; }
}


/* ============================================================
   ROOM AMENITIES LINE
   ============================================================ */

.tbh-amenities {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
  font-family: var(--tbh-font-body);
  font-size: 13px;
  line-height: 1.6;
  color: #9a8e82;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.tbh-amenities span {
  white-space: nowrap;
  color: #9a8e82;
}

.tbh-amenities span:not(:last-child)::after {
  content: '\00a0\00b7\00a0';
  color: #9a8e82;
}

/* V3 — Room image hover-zoom
   overflow:hidden on the figure clips the scale transform.
   Desktop only (hover is meaningless on touch devices).
   ============================================================ */

.tbh-room .wp-block-image {
  overflow: hidden;
  border-radius: 2px;
}

.tbh-room .wp-block-image img {
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
  .tbh-room .wp-block-image:hover img {
    transform: scale(1.045);
  }
}


/* ============================================================
   GETTING HERE LIST
   ============================================================ */

.tbh-getting-here-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tbh-getting-here-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tbh-charcoal);
  padding-left: 0;
}

.tbh-getting-here-list li strong {
  font-weight: 600;
  font-family: var(--tbh-font-body);
}


/* ============================================================
   HOMEPAGE — Property card grid
   ============================================================ */

.tbh-home-section {
  padding: clamp(36px,4vw,56px) clamp(20px,5vw,72px);
}

.tbh-home-section--alt {
  background-color: #ffffff;
}

.tbh-home-location-label {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbh-dusty-rose);
  margin: 0 0 6px;
  display: block;
}

.tbh-home-location-name {
  font-family: var(--tbh-font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--tbh-charcoal);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.tbh-cards-grid {
  display: grid;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.tbh-cards-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.tbh-cards-grid--one {
  grid-template-columns: 1fr;
  max-width: 540px;
}

.tbh-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--tbh-charcoal);
  display: block;
  text-decoration: none;
}

.tbh-card__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  opacity: 0.78;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.tbh-card:hover .tbh-card__img {
  opacity: 0.65;
  transform: scale(1.02);
}

.tbh-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* was: linear-gradient 82% -> 0% opacity within just the body box's own
     (auto-sized, text-height-only) bounds -- on a bright/light image the
     title sits near the TOP of that small box, right where the gradient
     had already faded to near-transparent, so text contrast collapsed
     (reported by Ashish 2026-07-28, /destinations/ McLeodganj cards).
     Fix: raise the baseline opacity and add a mid-stop so the darkening
     extends further up the box instead of vanishing immediately above
     the bottom edge. Paired with a text-shadow below as a contrast floor
     that holds up regardless of the underlying photo's brightness. */
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(20,15,10,0.88) 0%, rgba(20,15,10,0.55) 45%, rgba(20,15,10,0) 100%);
}

.tbh-card__name {
  font-family: var(--tbh-font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.35);
}

.tbh-card__tagline {
  font-family: var(--tbh-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.tbh-card__cta {
  display: inline-block;
  font-family: var(--tbh-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 9px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tbh-card__cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

@media (max-width: 700px) {
  .tbh-cards-grid--two {
    grid-template-columns: 1fr;
  }
  .tbh-card__img {
    height: 240px;
  }
  .tbh-card__body {
    padding: 28px 20px 20px;
  }
}


/* ============================================================
   HOMEPAGE — Why book direct strip
   ============================================================ */

.tbh-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 56px;
  max-width: 900px;
  margin: 40px auto 0;
}

.tbh-why-item__title {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  display: block;
  margin-bottom: 10px;
}

.tbh-why-item__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tbh-charcoal);
  margin: 0;
}

@media (max-width: 640px) {
  .tbh-why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.tbh-contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 36px 0 0;
}

.tbh-contact-method {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border-radius: 3px;
  border: 1px solid var(--tbh-sand);
  background: #ffffff;
  text-decoration: none;
}

.tbh-contact-method--primary {
  background: var(--tbh-charcoal);
  border-color: var(--tbh-charcoal);
}

.tbh-contact-method__label {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  margin: 0;
}

.tbh-contact-method--primary .tbh-contact-method__label {
  color: rgba(255, 255, 255, 0.6);
}

.tbh-contact-method__value {
  font-family: var(--tbh-font-display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--tbh-charcoal);
  margin: 0;
  line-height: 1.2;
}

.tbh-contact-method--primary .tbh-contact-method__value {
  color: #ffffff;
}

.tbh-contact-method__note {
  font-family: var(--tbh-font-body);
  font-size: 13px;
  color: #9a8e82;
  margin: 0;
  line-height: 1.5;
}

.tbh-contact-method--primary .tbh-contact-method__note {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 580px) {
  .tbh-contact-methods { grid-template-columns: 1fr; }
}

.tbh-find-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 36px auto 0;
}

.tbh-find-card {
  padding: 24px 20px;
  border: 1px solid var(--tbh-sand);
  border-radius: 3px;
  background: #ffffff;
}

.tbh-find-card__location {
  font-family: var(--tbh-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbh-dusty-rose);
  display: block;
  margin-bottom: 6px;
}

.tbh-find-card__name {
  font-family: var(--tbh-font-display);
  font-size: 18px;
  color: var(--tbh-charcoal);
  margin: 0 0 10px;
  font-weight: 400;
}

.tbh-find-card__address {
  font-family: var(--tbh-font-body);
  font-size: 13px;
  color: #9a8e82;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tbh-find-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  text-decoration: none;
}

.tbh-find-card__link:hover { color: var(--tbh-charcoal); }

@media (max-width: 860px) {
  .tbh-find-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .tbh-find-us-grid { grid-template-columns: 1fr; }
}

.tbh-contact-context {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 56px;
  max-width: 900px;
  margin: 36px 0 0;
}

.tbh-contact-context__title {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  margin: 0 0 8px;
  display: block;
}

.tbh-contact-context__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tbh-charcoal);
  margin: 0;
}

@media (max-width: 580px) {
  .tbh-contact-context { grid-template-columns: 1fr; gap: 24px; }
}


/* ============================================================
   V6/V9 -- Sticky header with backdrop blur (real fixed positioning)
   Root cause found via live DOM inspection (Session 17, 2026-07-28):
   1. .ct-header matches TWO elements (the real header AND the
      off-canvas mobile drawer, which reuses the class) -- earlier
      selectors kept hitting the drawer, which is unconditionally
      fixed for unrelated reasons.
   2. Blocksy's own native sticky positioning (CSS position:sticky)
      never engages on this site because #main-container computes to
      overflow:clip -- any ancestor with non-visible overflow silently
      breaks position:sticky for descendants. This is a Blocksy core
      wrapper, not something to override from the child theme.
   Fix: sticky-header.js targets the header by its unique #header ID
   and applies real position:fixed itself once scrolled past 80px,
   with a spacer element (.tbh-header-spacer) to prevent the page
   content jumping when the header leaves normal flow. The original
   Blocksy-native selectors below are kept as a harmless no-op
   fallback in case a future theme update fixes the overflow issue.
   ============================================================ */

.ct-sticky-active,
.site-header.ct-sticky-active,
.site-header.is-sticky,
[data-sticky] .site-header.has-scroll,
.ct-header.tbh-header-scrolled,
.site-header.tbh-header-scrolled {
  background-color: rgba(245, 240, 232, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(80, 74, 75, 0.09);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* V9 -- the actual fixed-positioning half of the fix. Needs !important
   because Blocksy's own header CSS sets position:relative with equal
   or higher specificity via attribute selectors (e.g. [data-id]). */
header.ct-header.tbh-header-scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

.tbh-header-spacer {
  display: block;
  width: 100%;
}


/* ============================================================
   V7 — Section fade-up reveal
   CSS classes toggled by animations.js (IntersectionObserver).
   Respects prefers-reduced-motion — the JS checks before adding
   .tbh-reveal, so these rules only fire when motion is allowed.
   ============================================================ */

.tbh-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.tbh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child sections slightly when multiple are visible together */
.tbh-reveal:nth-child(2) { transition-delay: 0.06s; }
.tbh-reveal:nth-child(3) { transition-delay: 0.12s; }
.tbh-reveal:nth-child(4) { transition-delay: 0.18s; }



/* ============================================================
   PHOTO GALLERY — index grid + cards   (v1.3.0)
   ============================================================ */

.tbh-gallery-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 1100px;
  margin: 36px auto 0;
}

@media (max-width: 900px) {
  .tbh-gallery-index { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .tbh-gallery-index { grid-template-columns: 1fr; gap: 32px; }
}

.tbh-gallery-card { margin: 0; }

.tbh-gallery-card .wp-block-image { margin: 0 0 14px; }

.tbh-gallery-card .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tbh-gallery-card__location {
  font-family: var(--tbh-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbh-dusty-rose);
  display: block;
  margin: 0 0 6px;
}

.tbh-gallery-card h3 {
  font-family: var(--tbh-font-display);
  font-size: 20px;
  margin: 0 0 6px;
}

.tbh-gallery-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6063;
  margin: 0 0 10px;
}

.tbh-gallery-card__link {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tbh-teal);
  text-decoration: none;
}

/* Gallery pages — breathing room above each gallery block */
.tbh-gallery-section .wp-block-gallery { margin-top: 28px; }


/* ============================================================
   CAREERS — job cards   (v1.3.0)
   ============================================================ */

.tbh-jobs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 36px auto 0;
}

.tbh-job {
  background: #ffffff;
  border: 1px solid #e8e0d4;
  padding: clamp(24px, 4vw, 40px);
}

.tbh-job h3 {
  font-family: var(--tbh-font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 6px;
}

.tbh-job__meta {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbh-accent);
  display: block;
  margin: 0 0 18px;
}

.tbh-job p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tbh-charcoal);
  margin: 0 0 16px;
}

.tbh-job__list-title {
  font-family: var(--tbh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8e82;
  display: block;
  margin: 20px 0 8px;
}

.tbh-job ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tbh-job ul li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--tbh-charcoal);
  padding-left: 16px;
  position: relative;
}

.tbh-job ul li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: #9a8e82;
}

.tbh-job__apply {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--tbh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: var(--tbh-charcoal);
  padding: 12px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tbh-job__apply:hover { background: var(--tbh-teal); }


/* ============================================================
   GALLERY LIGHTBOX   (v1.4.0 — pairs with lightbox.js)
   ============================================================ */

html.tbh-lightbox-open { overflow: hidden; }

.tbh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(35, 32, 33, 0.94); /* charcoal, near-opaque */
}

.tbh-lightbox.is-open { display: flex; }

.tbh-lightbox__figure {
  margin: 0;
  max-width: calc(100vw - 140px);
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tbh-lightbox__img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.tbh-lightbox__caption {
  font-family: var(--tbh-font-body);
  font-size: 13px;
  color: #d9d2c7;
  margin-top: 14px;
  text-align: center;
  max-width: 640px;
  line-height: 1.5;
}

.tbh-lightbox__close,
.tbh-lightbox__nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: #f5f0e8;
  cursor: pointer;
  font-family: var(--tbh-font-body);
  line-height: 1;
  padding: 12px;
  transition: opacity 0.15s ease;
  opacity: 0.85;
}

.tbh-lightbox__close:hover,
.tbh-lightbox__nav:hover { opacity: 1; }

.tbh-lightbox__close {
  top: 16px;
  right: 20px;
  font-size: 34px;
}

.tbh-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  padding: 24px 16px;
}

.tbh-lightbox__prev { left: 8px; }
.tbh-lightbox__next { right: 8px; }

.tbh-lightbox--single .tbh-lightbox__nav,
.tbh-lightbox--single .tbh-lightbox__counter { display: none; }

.tbh-lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--tbh-font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #d9d2c7;
}

@media (max-width: 768px) {
  .tbh-lightbox__figure { max-width: 100vw; }
  .tbh-lightbox__img { max-height: 78vh; }
  .tbh-lightbox__nav { font-size: 40px; padding: 20px 10px; }
  /* arrows overlay the photo edges on small screens; swipe also works */
  .tbh-lightbox__prev { left: 0; }
  .tbh-lightbox__next { right: 0; }
}
