/*
 * header-v2-test.css — STAGING, TEST PAGE ONLY (page id 17318, /home-v2/; header template id 18212).
 * This is exactly plan_classes.py's own residual.css for the v2 header template — the parts that can
 * never become Global Classes (hover/focus-within state, runtime .active/.nav-open classes the header's
 * own <script> adds, and the main-menu-button <button>'s CSS, since it stays a classic HTML widget by
 * design). Class names updated 2026-11-14 to the all-new main-header/main-menu namespace, so none of
 * them collide with the v1 header's Global Classes (navlinks, nav-dropdown, nav-drop-trigger,
 * nav-dropdown-panel) — confirmed zero collisions against registry.json and the live Global Classes DB.
 * The real per-page header-override residual mechanism (uploads/cx-native/<id>/residual.css via the
 * cx-native-css.php mu-plugin) only fires for pages already in the shared cx_native_pages option, which
 * this test page deliberately isn't (that option also drags in the sitewide base.css on old v1 tokens).
 * Enqueued only on page 17318 (and this template's own editor). Safe to delete once home-v2 is retired
 * or promoted; at real rollout this content is exactly what deploy-classes.sh's normal residual-serving
 * step should carry instead.
 */
.main-menu-dropdown:hover .main-menu-panel:is(.elementor *){opacity:1;visibility:visible;pointer-events:auto;}
.main-menu-dropdown:focus-within .main-menu-panel:is(.elementor *){opacity:1;visibility:visible;pointer-events:auto;}
.main-menu-dropdown:hover .main-menu-trigger-icon:is(.elementor *){transform:rotate(180deg);}
.main-menu-dropdown:focus-within .main-menu-trigger-icon:is(.elementor *){transform:rotate(180deg);}
.main-menu>.main-menu-link.active:is(.elementor *){color:#FFFFFF;}
.main-header .main-menu .main-menu-trigger[tabindex]:is(.elementor *):focus-visible{outline:2px solid #8FE3C4;outline-offset:2px;}
.main-menu .main-menu-trigger.active:is(.elementor *){color:#FFFFFF;}
.main-menu>.main-menu-link.active:is(.elementor *)::after{content:"";position:absolute;left:10px;right:10px;bottom:7px;height:3px;border-radius:2px;background:#8FE3C4;}
.main-menu .main-menu-trigger.active:is(.elementor *)::after{content:"";position:absolute;left:10px;right:10px;bottom:7px;height:3px;border-radius:2px;background:#8FE3C4;}
.main-menu .main-menu-trigger.active:is(.elementor *)::after{right:31px;}
.main-menu-panel .main-menu-panel-link.active:is(.elementor *){background-color:transparent;color:#17306B;font-weight:600;}
.main-menu-panel .main-menu-panel-link.active:is(.elementor *):hover{background-color:#E3ECFD;}
.main-menu-panel .main-menu-panel-link.active:is(.elementor *)::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:0;background:#8FE3C4;}
.main-menu-button:is(.elementor :is(.elementor-widget-html,.elementor-widget-text-editor,.e-paragraph-base,.e-heading-base,.e-svg-base) *){display:none;align-items:center;gap:8px;margin:0;padding:8px 4px;border:0;background:transparent;color:#FFFFFF;font-family:"Space Grotesk",system-ui,sans-serif;font-size:18.56px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.main-menu-button svg:is(.elementor :is(.elementor-widget-html,.elementor-widget-text-editor,.e-paragraph-base,.e-heading-base,.e-svg-base) *){display:block;width:24px;height:24px;stroke:#FFFFFF;fill:none;}
.main-menu-button-label:is(.elementor :is(.elementor-widget-html,.elementor-widget-text-editor,.e-paragraph-base,.e-heading-base,.e-svg-base) *){font-size:inherit;font-weight:600;line-height:1;color:#FFFFFF;}
@media (max-width:1180px){.main-menu-button:is(.elementor :is(.elementor-widget-html,.elementor-widget-text-editor,.e-paragraph-base,.e-heading-base,.e-svg-base) *){display:inline-flex;}}
@media (max-width:1180px){.main-header.nav-open .main-menu:is(.elementor *){position:fixed;left:0;right:0;top:var(--cx-nav-top);z-index:49;display:flex;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - var(--cx-nav-top));overflow-y:auto;overscroll-behavior:contain;margin:0;padding:6px 24px 24px;background-color:#12265A;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 18px 30px rgba(6,20,46,.35);}}
@media (max-width:1180px){.main-header.nav-open .main-menu-link:is(.elementor *){justify-content:space-between;padding:15px 4px;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0;color:#FFFFFF;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-trigger:is(.elementor *){justify-content:space-between;padding:15px 4px;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0;color:#FFFFFF;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-dropdown:is(.elementor *){width:auto;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-trigger-icon:is(.elementor *){display:none;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-dropdown:is(.elementor *)::after{display:none;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-panel:is(.elementor *){position:static;min-width:0;margin:0;padding:4px 0 8px 14px;border:0;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0;background:transparent;box-shadow:none;opacity:1;visibility:visible;pointer-events:auto;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-panel-link:is(.elementor *){padding:11px 4px;color:rgba(255,255,255,.78);background:transparent;font-size:16.5px;white-space:normal;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-panel-link.active:is(.elementor *){color:#FFFFFF;background:transparent;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-link.active:is(.elementor *)::after{left:-24px;right:auto;top:12px;bottom:12px;width:4px;height:auto;border-radius:0 3px 3px 0;background:#8FE3C4;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-trigger.active:is(.elementor *)::after{left:-24px;right:auto;top:12px;bottom:12px;width:4px;height:auto;border-radius:0 3px 3px 0;background:#8FE3C4;}}
@media (max-width:1180px){.main-header.nav-open .main-menu-panel-link.active:is(.elementor *)::before{left:-24px;right:auto;top:12px;bottom:12px;width:4px;height:auto;border-radius:0 3px 3px 0;background:#8FE3C4;}}
@media (max-width:640px){.main-menu-button:is(.elementor :is(.elementor-widget-html,.elementor-widget-text-editor,.e-paragraph-base,.e-heading-base,.e-svg-base) *){flex-direction:column;gap:3px;padding:2px;font-size:11px;}}
