/* BAZAR Card Studio v2.3: overlay header on the homepage hero, glass header after scroll.
   Runs ONLY with the front-page body marker set by PHP. The live inner pages are unaffected. */
body.bcs2-header-overlay-enabled .bzh .bh {
  position: fixed !important;
  inset-inline: 0;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  width: 100%;
  z-index: 9990;
  background: linear-gradient(to bottom,rgba(4,17,30,.48),rgba(4,17,30,.05)) !important;
  border-bottom: 1px solid rgba(255,255,255,.24) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background var(--bcs2-header-transition,270ms) ease,
              box-shadow var(--bcs2-header-transition,270ms) ease,
              border-color var(--bcs2-header-transition,270ms) ease,
              backdrop-filter var(--bcs2-header-transition,270ms) ease;
}
/* Ensure the slide now begins at the top of the viewport rather than after a white header strip. */
body.bcs2-header-overlay-enabled .bzh > #bzh-main,
body.bcs2-header-overlay-enabled .bzh > main { margin-block-start: 0 !important; }
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) nav a,
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .menu-toggle,
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .b4-search summary {
  color: #fff !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .brand-logo-img {
  filter: brightness(0) invert(1) !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .header-contact {
  color: #fff !important;
  background: rgba(161,84,59,.95) !important;
  border-color: rgba(255,255,255,.4);
}
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) nav .current-menu-item>a,
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) nav a:hover {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-color: #d6ad9c;
  text-underline-offset: 8px;
}
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .menu-toggle {
  border-color: rgba(255,255,255,.55) !important;
}
/* The search flyout and any child menu have a light surface in both modes. */
body.bcs2-header-overlay-enabled .bzh .bh .b4-search form,
body.bcs2-header-overlay-enabled .bzh .bh .sub-menu,
body.bcs2-header-overlay-enabled .bzh .bh nav.open {
  color: #0d263a !important;
  background: #fff !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) .sub-menu a,
body.bcs2-header-overlay-enabled .bzh .bh:not(.bcs2-header-is-scrolled):not(.menu-open) nav.open a {
  color: #0d263a !important;
}
/* Scrolled OR expanded mobile menu: opaque enough for legibility, retained over content. */
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) {
  background: rgba(255,255,255,var(--bcs2-header-opacity,.94)) !important;
  border-bottom: 1px solid rgba(13,38,58,.14) !important;
  box-shadow: 0 10px 34px rgba(4,27,45,.10) !important;
  backdrop-filter: blur(var(--bcs2-header-blur,18px)) saturate(145%) !important;
  -webkit-backdrop-filter: blur(var(--bcs2-header-blur,18px)) saturate(145%) !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) nav a,
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) .menu-toggle,
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) .b4-search summary {
  color: #0d263a !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) .brand-logo-img {
  filter: none !important;
}
body.bcs2-header-overlay-enabled .bzh .bh:is(.bcs2-header-is-scrolled,.menu-open) .header-contact {
  color: #fff !important;
  background: #0d263a !important;
}
@media(max-width:980px){
  body.bcs2-header-overlay-enabled .bzh .bh nav.open a { color:#0d263a !important; }
  body.bcs2-header-overlay-enabled .bzh .bh .container { min-height:70px; }
}
@media(prefers-reduced-motion:reduce){
  body.bcs2-header-overlay-enabled .bzh .bh { transition:none !important; }
}
