/* NUM FoG — fog-glass-header styles. Loaded by ../num-fog-single-header.php (handle fog-glass-header), version = file time.
   Edit the rules here; the PHP file only enqueues this file. */
/* glass tint + blur on the header. IMPORTANT: the blur lives on a ::before LAYER, not on the header
   element itself. backdrop-filter on the header element establishes a backdrop root that NULLIFIES
   the dropdown sub-menu's own backdrop-filter (the dropdown is a DOM descendant), so the dropdowns
   couldn't blur. Putting the header glass on a ::before frees the dropdown's blur to work. */
.elementor-element-08875f5{ background:transparent !important; position:relative; }
.elementor-element-08875f5::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:rgba(38,20,51,.78);
  -webkit-backdrop-filter:blur(16px) saturate(150%); backdrop-filter:blur(16px) saturate(150%);
}
.elementor-element-08875f5 > *{ position:relative; z-index:1; } /* keep logo/nav/buttons above the glass */
/* HOMEPAGE ONLY: fully transparent header (no tint, no blur) while at the top. */
body.home .elementor-element-08875f5.she-header-transparent-yes{ border-color:transparent !important; }
body.home .elementor-element-08875f5.she-header-transparent-yes::before{
  background:transparent !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
}
/* MOBILE-MENU-OPEN GLASS: Custom Code snippet #651 ("Global Styles") tints+blurs the header
   ELEMENT while the menu is open (.gm-blurry:has(.gm-menu .elementor-active)) — but a
   backdrop-filter on the header element nullifies the menu panel's own backdrop blur (the SAME
   ancestor gotcha the scroll glass hit; that's why it lives on ::before). Re-route the open-state
   glass to the ::before layer at higher specificity — identical look, panel frost restored.
   Also outranks the body.home transparent-at-top ::before rule, so the open menu still gets
   glass on the homepage. */
.elementor-element-08875f5.gm-blurry:has(.gm-menu .elementor-active){
  background:transparent !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
}
/* the open-state bar glass lives on ::after — nothing else styles the header's ::after, so it
   can't be caught in the ::before cascade (base glass vs body.home transparent-at-top rules) */
.elementor-element-08875f5.gm-blurry:has(.gm-menu .elementor-active)::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:rgba(38,20,51,.78);
  -webkit-backdrop-filter:blur(16px) saturate(150%); backdrop-filter:blur(16px) saturate(150%);
}


/* --- A11Y nav contrast (2026-07-26) ---
   Active/current primary item was brand pink (#FF7FAC) — fails ~2:1 over glass on light bands.
   Keep brand signal via pink underline; force white text for all primary states so glass+light
   content stays >= 4.5:1. Glass tint also raised .62 -> .78 for white-text margin. */
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item:hover,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item:focus,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item:focus-visible,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item.elementor-item-active,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item.highlighted{
  color:#FFFFFF !important;
}
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item.elementor-item-active,
.elementor-element-d0acaef .elementor-nav-menu--main a.elementor-item.highlighted{
  box-shadow:inset 0 -2px 0 #FF7FAC;
}
/* constrain the header content so logo/buttons align with the body + footer. The container carries
   30px side padding, so the BOX must be 1440 + 2x30 = 1500 for its CONTENT edges to land on the
   1440 line (299px @2038); 1440 here put the logo 30px inside everything else (measured 2026-07-02). */
.elementor-element-826fc58{ max-width:1500px; margin-left:auto; margin-right:auto; width:100%; }
/* vertically center the Tickets/Donate buttons with the nav: the inline-block button sat at the top
   of its taller wrapper (line-height descent below it), riding ~5px high. Flex-center the whole
   widget chain so the line box collapses and the button centers in the bar. */
.elementor-element-2264bfe, .elementor-element-ee28268,
.elementor-element-2264bfe > .elementor-widget-container, .elementor-element-ee28268 > .elementor-widget-container,
.elementor-element-2264bfe .elementor-button-wrapper, .elementor-element-ee28268 .elementor-button-wrapper{ display:flex; align-items:center; }

/* --- dropdown glass panel (real glassmorphism — blur works now that the header blur lives on a
   ::before, see below; the panel's own backdrop-filter is no longer nullified by an ancestor) --- */
.elementor-element-d0acaef .elementor-nav-menu--dropdown,
.elementor-element-d0acaef .elementor-nav-menu .sub-menu{
  background:rgba(38,20,51,.62) !important;
  -webkit-backdrop-filter:blur(16px) saturate(150%) !important; backdrop-filter:blur(16px) saturate(150%) !important;
  border:1px solid rgba(255,255,255,.14); border-top:none; border-radius:0 0 10px 10px;
  box-shadow:0 24px 50px -18px rgba(0,0,0,.7); padding:8px !important; overflow:hidden;
  /* NOTE: no display override here — that was forcing the dropdowns permanently open */
}
/* second-level items: compact, separated via margin (NOT flex gap), pure-white text */
.elementor-element-d0acaef .elementor-nav-menu--dropdown li,
.elementor-element-d0acaef .sub-menu li{ margin:0 0 2px 0 !important; padding:0 !important; border:none !important; }
.elementor-element-d0acaef .elementor-nav-menu--dropdown li:last-child,
.elementor-element-d0acaef .sub-menu li:last-child{ margin-bottom:0 !important; }
.elementor-element-d0acaef .elementor-nav-menu--dropdown a.elementor-item,
.elementor-element-d0acaef .sub-menu a.elementor-sub-item{
  color:#FFFFFF !important;
  border-radius:7px !important; padding:9px 14px !important; margin:0 !important;
  min-height:0 !important; height:auto !important; line-height:1.25 !important;
  transition:background .18s ease,color .18s ease;
}
/* desktop dropdown text >= primary nav: the primary is 13px UPPERCASE/700 while the dropdown
   is lowercase/600 (so it reads smaller); bump it to 15px on desktop. Scoped to min-width:1033px
   so the already-larger mobile dropdown sizes (18px <=1032, 22px <=767) are left untouched. */
@media(min-width:1033px){
  .elementor-element-d0acaef .elementor-nav-menu--dropdown a.elementor-item,
  .elementor-element-d0acaef .sub-menu a.elementor-sub-item{ font-size:15px !important; }
}
.elementor-element-d0acaef .elementor-nav-menu--dropdown a.elementor-item:hover,
.elementor-element-d0acaef .elementor-nav-menu--dropdown a.elementor-item:focus,
.elementor-element-d0acaef .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active,
.elementor-element-d0acaef .sub-menu a.elementor-sub-item:hover,
.elementor-element-d0acaef .sub-menu a.elementor-sub-item:focus,
.elementor-element-d0acaef .sub-menu a.elementor-sub-item.elementor-item-active,
.elementor-element-d0acaef .sub-menu li:hover > a.elementor-sub-item{
  background:rgba(255,255,255,.08) !important; color:#FFFFFF !important;
}
/* chevron flip on hover */
.elementor-element-d0acaef .elementor-item .elementor-menu-toggle,
.elementor-element-d0acaef .elementor-item .sub-arrow{ transition:transform .2s ease; }
.elementor-element-d0acaef .menu-item:hover > a .sub-arrow{ transform:rotate(180deg); }

/* --- glass fill + cursor glow + light beam on the nav buttons (all hover-only) ---
   hs5cta = home "Awards & Honors" CTA (Tracy 2026-07-02: same hover as the header Tickets button);
   like the show-hero ids, it simply matches nothing off the front page. */
.elementor-element-2264bfe .elementor-button,
.elementor-element-ee28268 .elementor-button,
.elementor-element-e4bb1e8 .elementor-button,
.elementor-element-fa54b81 .elementor-button,
.elementor-element-4705ee9 .elementor-button,
.elementor-element-ea34950 .elementor-button,
.elementor-element-mqtixmob .elementor-button,
.elementor-element-hs5cta .elementor-button{ position:relative; overflow:hidden; }
/* Tickets glass blur (the fill colour + radius are native button settings) */
.elementor-element-2264bfe .elementor-button{ -webkit-backdrop-filter:blur(12px) saturate(1.3); backdrop-filter:blur(12px) saturate(1.3); }
/* cursor glow — only visible on hover */
.fog-glow::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:0;
  opacity:0; transition:opacity .2s ease;
  background:radial-gradient(110px circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.32) 0%,rgba(255,255,255,.10) 38%,rgba(255,255,255,0) 70%);
}
.fog-glow:hover::before{ opacity:1; }
.fog-glow > *{ position:relative; z-index:1; }
/* cursor-following BORDER glow (design-system .glowbtn::after) — masked to the 1.5px edge so the
   border lights up under the cursor, with the white drop-shadow bloom */
.fog-glow::after{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1.5px; pointer-events:none; z-index:2;
  opacity:0; transition:opacity .18s ease;
  background:radial-gradient(70px circle at var(--gx,50%) var(--gy,50%),#ffffff 0%,#ffffff 18%,rgba(255,255,255,.6) 36%,rgba(255,255,255,0) 60%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
  filter:drop-shadow(0 0 4px rgba(255,255,255,1)) drop-shadow(0 0 12px rgba(255,255,255,.85)) drop-shadow(0 0 20px rgba(255,255,255,.5));
}
.fog-glow:hover::after{ opacity:1; }
/* light beam — own class (.fog-navbeam) to avoid the site's infinite .fog-beam rule; sweeps once on hover only */
.fog-navbeam{ position:absolute; top:-60%; left:0; width:38%; height:220%; z-index:2; pointer-events:none; opacity:0;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 100%);
  transform:translateX(-260%) rotate(8deg); animation:none; }
.fog-glow:hover .fog-navbeam, .glow-el:hover .fog-navbeam{ animation:fogNavBeam 1.1s ease; }
@keyframes fogNavBeam{ 0%{opacity:0;transform:translateX(-260%) rotate(8deg);} 12%{opacity:1;} 88%{opacity:1;} 100%{opacity:0;transform:translateX(560%) rotate(8deg);} }
/* --- iOS Safari scroll-jump mitigations ---
   1) Never apply SHE hide-on-scroll transform.
   2) Kill SHE/Elementor transition:all on the header — height-only "resizes"
      from the URL bar were animating padding/top/width and reading as a jump. */
html.fog-ios .headerup,
html.fog-ios .elementor-element-08875f5.headerup{
  -webkit-transform:none!important;
  transform:none!important;
}
html.fog-ios .she-header-yes,
html.fog-ios .she-header-yes.e-con,
html.fog-ios .header.she-header-yes,
html.fog-ios .she-header,
html.fog-ios .elementor-element-08875f5,
html.fog-ios .elementor-element-08875f5.she-header-yes,
html.fog-ios .elementor-element-08875f5.she-header,
html.fog-ios .elementor-element-08875f5.elementor-sticky--active{
  transition:background-color .35s ease,border-color .35s ease,border-bottom-width .35s ease,border-bottom-color .35s ease!important;
}

/* Logged-in mobile: WP core sets #wpadminbar { position:absolute } at ≤600px so the bar
   scrolls away. body is position:relative here, so that absolute bar is laid out in the
   content box (y=46) on top of the header + hero — the html margin-top:46px strip stays
   empty and the canvas is covered. Pin the bar into that reserved strip. When SHE then
   fixes the header, keep it below the bar (desktop SHE already sits under the 32px bar). */
@media screen and (max-width:600px){
  body.admin-bar #wpadminbar{
    position:fixed!important;
    top:0!important;
    left:0;
    width:100%;
  }
}
@media screen and (max-width:782px){
  body.admin-bar .elementor-element-08875f5.she-header,
  body.admin-bar .elementor-element-08875f5.elementor-sticky--active{
    top:46px!important;
  }
}

