/* Birtue centralized theme — current preview state.
   Change shared colors here instead of adding versioned override files. */
:root{
  --birtue-header-bg:#f1eff1;
  --birtue-soft-bg:#ebe6ea;
  --birtue-card-bg:#ffffff;
  --birtue-footer-bg:#4c3739;
  --birtue-marble-base:#faf9f7;
  --birtue-about-marble:url('../images/boutique/about-instructor-marble-v11.webp');
  --birtue-top-marble:url('../images/boutique/top-instructor-marble-v11.webp');
  --birtue-hero-start:#9b7f86;
  --birtue-hero-end:#b59da3;

  /* Existing theme variable bridge */
  --paper:var(--birtue-header-bg);
  --ivory:var(--birtue-header-bg);
  --bq-paper:var(--birtue-header-bg);
  --bq-ivory:var(--birtue-header-bg);
  --bq-soft:var(--birtue-header-bg);
  --bq-rose:var(--birtue-soft-bg);
  --bq-mauve-soft:var(--birtue-soft-bg);
  --footer-bg:var(--birtue-footer-bg);
}

/* Header background */
.bh-header.sticky,
.bh-subpage-header,
.bh-subpage-header.sticky{
  background:rgba(241,239,241,.97)!important;
}

/* TOP only: final unscrolled logo size and vertical position. */
@media(min-width:1181px){
  .boutique-home .bh-header:not(.sticky) .bh-logo{width:284px!important;height:225px!important;}
}
@media(max-width:1180px) and (min-width:781px){
  .boutique-home .bh-header:not(.sticky) .bh-logo{width:235px!important;height:186px!important;}
}
@media(max-width:780px){
  .boutique-home .bh-header:not(.sticky) .bh-logo{width:min(165px,calc(100vw - 88px))!important;height:131px!important;}
}
@media(max-width:360px){
  .boutique-home .bh-header:not(.sticky) .bh-logo{width:155px!important;height:123px!important;}
}
.boutique-home .bh-header:not(.sticky) .bh-logo,
.boutique-home .bh-header:not(.sticky) .bh-logo:hover,
.boutique-home .bh-header:not(.sticky) .bh-logo:focus,
.boutique-home .bh-header:not(.sticky) .bh-logo:active{transform:translateY(8px)!important;}
@media(max-width:780px){
  .boutique-home .bh-header:not(.sticky) .bh-logo,
  .boutique-home .bh-header:not(.sticky) .bh-logo:hover,
  .boutique-home .bh-header:not(.sticky) .bh-logo:focus,
  .boutique-home .bh-header:not(.sticky) .bh-logo:active{transform:translateY(6px)!important;}
}

/* TOP mobile instructor cards stay in two columns. */
@media(max-width:780px){
  .boutique-home .instructor-v4-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;}
  .boutique-home .instructor-v4-card figure{width:min(100%,158px)!important;height:auto!important;aspect-ratio:158/205!important;margin-left:auto!important;margin-right:auto!important;}
  .boutique-home .instructor-v4-card h3{font-size:30px!important;}
}

/* Loading backgrounds */
.site-loader,.boutique-home .boutique-standard-loader{background:var(--birtue-header-bg)!important;}
.boutique-home .opening{background:radial-gradient(circle at 82% 18%,rgba(155,127,134,.12),transparent 34%),var(--birtue-header-bg)!important;}

/* TOP journal first feature surface. */
.boutique-home .journal-main{background:var(--birtue-soft-bg)!important;}

/* TOP/ABOUT instructor marble backgrounds. */
.boutique-home .instructor-showcase{
  background-color:var(--birtue-marble-base)!important;
  background-image:var(--birtue-top-marble)!important;
  background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;background-blend-mode:normal!important;
}
.boutique-home .instructor-showcase::before{background:rgba(255,255,255,.08)!important;}
.about-page-v7 .about-instructors{
  position:relative!important;
  background-color:var(--birtue-marble-base)!important;
  background-image:var(--birtue-top-marble)!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  background-blend-mode:normal!important;
}
.about-page-v7 .about-instructors::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.08)!important;
  pointer-events:none;
}
.about-page-v7 .about-instructors>.container{position:relative;z-index:1;}
.about-page-v7 .about-instructor-card{background:rgba(255,255,255,.60)!important;}

/* Shared subpage base surfaces: remove warm beige alternation. */
.about-page-v7,.about-page-v7 main,
.programs-page-v7,.programs-page-v7 main,
.events-page-v7,.events-page-v7 main,
.journal-page,.journal-page main,
.contact-page-v16,.contact-page-v16 main{background:var(--birtue-header-bg)!important;}
.about-page-v7 main>.section:not(.about-instructors),
.programs-page-v7 main>.section,
.events-page-v7 main>.section,
.journal-page main>.section,
.contact-page-v16 main>.section{background:var(--birtue-header-bg)!important;}

/* ABOUT */
.about-page-v7 .about-gallery-band{background:var(--birtue-header-bg)!important;}
.about-page-v7 .about-capability-card{background:var(--birtue-card-bg)!important;}
.about-page-v7 .about-capability-icon{background:var(--birtue-soft-bg)!important;}
.about-page-v7 .about-for-you,
.about-page-v7 section.about-for-you,
.about-page-v7 .about-for-you>.container{background:var(--birtue-soft-bg)!important;}
.about-page-v7 .about-for-you-grid{background:transparent!important;border-radius:0!important;padding:0!important;}
.about-page-v7 .about-instagram-section,
.about-page-v7 section.about-instagram-section{background:var(--birtue-header-bg)!important;}

/* CONTACT */
.contact-page-v16 .page-hero{background:linear-gradient(120deg,var(--birtue-hero-start),var(--birtue-hero-end))!important;border:0!important;}
.contact-page-v16 .page-title .eyebrow,.contact-page-v16 .page-title h1{color:#fff!important;}
.contact-page-v16 main>.section{background:var(--birtue-header-bg)!important;}
.contact-page-v16 .contact-form{background:#f7f4f6!important;border-color:rgba(86,34,47,.12)!important;}

/* EVENTS listing */
.events-page-v7 .page-hero{background:linear-gradient(120deg,var(--birtue-hero-start),var(--birtue-hero-end))!important;border:0!important;}
.events-page-v7 .page-title .eyebrow,.events-page-v7 .page-title h1{color:#fff!important;}
.events-page-v7 main>.section{background:var(--birtue-header-bg)!important;}
.events-page-v7 .event-card.event-card-design2 .event-card-shell,
.events-page-v7 .event-card-design2 .event-card-shell{background:var(--birtue-card-bg)!important;}

/* JOURNAL listing: page uses header background, individual articles have no fill. */
.journal-page,.journal-page main,.journal-page .journal-index-section,.journal-page main>.section{background:var(--birtue-header-bg)!important;}
.journal-page .journal-card,.journal-page .journal-card-v7{background:transparent!important;background-color:transparent!important;}

/* PROGRAMS */
.programs-page-v7 .trip-about-hero-photo img{object-position:center 47%!important;}
.programs-page-v7 .trip-scenes,
.programs-page-v7 section.trip-scenes,
.programs-page-v7 .trip-scenes>.container{background:var(--birtue-header-bg)!important;}
.programs-page-v7 .trip-voices,
.programs-page-v7 section.trip-voices,
.programs-page-v7 .trip-voices>.container{background:var(--birtue-soft-bg)!important;}
.programs-page-v7 .trip-gallery-section,
.programs-page-v7 section.trip-gallery-section{
  background-color:var(--birtue-marble-base)!important;
  background-image:var(--birtue-about-marble)!important;
  background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;
}
.programs-page-v7 .program-type-card,
.programs-page-v7 .program-result-card{background-color:var(--birtue-card-bg)!important;}

/* Desktop header navigation. */
@media(min-width:981px){
  .bh-nav{gap:14px!important;}
  .bh-nav>a:not(.bh-nav-instagram){min-width:72px!important;}
  .bh-nav>a[href="programs.html"]{min-width:92px!important;}
  .bh-nav>a[href="contact.html"]{min-width:82px!important;}
  .bh-nav a span{font-size:12px!important;}
  .bh-nav a small{font-size:9px!important;}
}

/* Mobile subpage English FV titles: keep CONTACT / JOURNAL / EVENT on one line. */
@media(max-width:780px){
  .contact-page-v16 .page-title h1,
  .journal-page .page-title h1,
  .events-page-v7 .page-title h1{
    font-size:clamp(42px,13vw,58px)!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
  }
}


/* v29: FOR YOU full-section background */
.about-page-v7 main>section.about-for-you.section{background:var(--birtue-soft-bg)!important;}
