/* 0.2.0 — Medical Header & Navigation Engine.
 * Paint-only. No dimensions, positioning, overflow, stacking, visibility, content,
 * pointer-events, or animation of layout. Native Astra interactions stay in control.
 * In particular, never filter header rows / menu ancestors / the drawer shell.
 */
body.llcig-mlg.llcig-mlg-header {
  --mlgh-top: linear-gradient(160deg,#fcfeff,#e6f4fd 70%,#f5fbff);
  --mlgh-nav: linear-gradient(180deg,#eff9ff,#d6ebfa 85%,#f3faff);
  --mlgh-popup: linear-gradient(145deg,#fff,#edf7ff);
  --mlgh-pill: linear-gradient(160deg,#fff,#e2f2fc);
  --mlgh-active: linear-gradient(160deg,#e1f3ff,#c5e5fa);
  --mlgh-hover: #dceffa;
  --mlgh-border: #b6d6eb;
  --mlgh-ring: #075b9c;
  --mlgh-elevation: inset 0 1px 0 #fff,0 3px 10px rgba(13,66,106,.09);
  --mlgh-popup-shadow: inset 0 1px 0 #fff,0 6px 20px rgba(12,45,73,.14);
  --mlgh-cta-shadow: inset 0 1px 0 rgba(255,255,255,.55),0 4px 12px rgba(7,91,156,.2);
}
@media (min-width:1025px) {
  body.llcig-mlg.llcig-mlg-header.llcig-mlg-desktop-high {
    --mlgh-top: radial-gradient(ellipse at 86% -40%,rgba(118,199,245,.5),transparent 65%),linear-gradient(148deg,#fff 0%,#e0f2fd 48%,#f9fdff 90%);
    --mlgh-nav: linear-gradient(178deg,#fff 0%,#e6f5ff 21%,#c9e6f9 84%,#f4fbff 100%);
    --mlgh-pill: linear-gradient(153deg,#fff 0%,#edf8ff 30%,#c6e7fa 90%,#f7fdff);
    --mlgh-active: linear-gradient(160deg,#e9f8ff,#bcdff7 78%,#e4f4ff);
    --mlgh-elevation: inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.9),0 3px 12px rgba(10,78,130,.13),0 1px 0 rgba(255,255,255,.7);
    --mlgh-popup-shadow: inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.8),0 12px 30px rgba(12,61,103,.19);
    --mlgh-cta-shadow: inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(255,255,255,.3),0 5px 16px rgba(7,91,156,.24);
  }
  body.llcig-mlg.llcig-mlg-header.llcig-mlg-desktop-balanced {
    --mlgh-top: linear-gradient(155deg,#fff,#ddecfa 72%,#f7fcff);
    --mlgh-nav: linear-gradient(180deg,#f9fdff,#d4eafa);
  }
}
/* Two existing header rows: avoid filter/overflow/position on their ancestors. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-rows #masthead .ast-primary-header-bar {
  background:var(--mlgh-top) !important; border-color:var(--mlgh-border) !important; box-shadow:var(--mlgh-elevation);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-rows #masthead .ast-below-header-bar {
  background:var(--mlgh-nav) !important; border-color:var(--mlgh-border) !important; box-shadow:var(--mlgh-elevation);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-rows #masthead :is(.site-title a,.site-description) {color:var(--mlg-ink) !important; text-shadow:none;}
/* Top-level links, current ancestors and hover state. No hover-generated content. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  color:var(--mlg-ink) !important; border-radius:12px; text-shadow:none;
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu > :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent,.current_page_item) > .menu-link {
  background:var(--mlgh-active) !important; color:var(--mlg-ink) !important; box-shadow:inset 0 0 0 1px var(--mlgh-border),inset 0 1px 0 #fff;
}
@media (hover:hover) and (pointer:fine) {
  body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
  body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu .sub-menu .menu-link:hover {background:var(--mlgh-hover) !important;color:var(--mlg-ink) !important;}
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu .sub-menu {
  background:var(--mlgh-popup) !important; border-color:var(--mlgh-border) !important; border-radius:14px; box-shadow:var(--mlgh-popup-shadow);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu .sub-menu .menu-link {background-color:transparent;color:var(--mlg-ink) !important;border-color:var(--mlgh-border);border-radius:8px;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-desktop-header .main-header-menu .sub-menu .current-menu-item > .menu-link {background:var(--mlgh-active) !important;color:var(--mlg-ink) !important;}
/* Existing languages, in header or drawer. Never fabricate an FA switch. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-languages :is(#masthead,#ast-mobile-popup) .ast-builder-language-switcher-item {
  background:var(--mlgh-pill) !important;color:var(--mlg-ink) !important;border-radius:999px;box-shadow:inset 0 0 0 1px var(--mlgh-border),inset 0 1px 0 #fff;
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-languages :is(#masthead,#ast-mobile-popup) .ast-builder-language-switcher-native-name {color:var(--mlg-ink) !important;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-languages :is(#masthead,#ast-mobile-popup) .ast-builder-language-switcher-item:is(:hover,:focus-visible,[aria-current="page"],[aria-current="true"]) {background:var(--mlgh-active) !important;}
/* Actual Spectra contact link wraps its inner text and icon. Paint only the wrapper. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-contact #masthead .uagb-block-c1361d0e a.uagb-buttons-repeater[href^="tel:"] {
  background:var(--mlg-cta) !important;color:#fff !important;border-color:#07568d !important;border-radius:999px;box-shadow:var(--mlgh-cta-shadow);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-contact #masthead .uagb-block-c1361d0e a[href^="tel:"] .uagb-button__link {background:transparent !important;color:#fff !important;box-shadow:none !important;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-contact #masthead .uagb-block-c1361d0e a[href^="tel:"] .uagb-button__icon {color:#fff !important;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-contact #masthead .uagb-block-c1361d0e a[href^="tel:"] .uagb-button__icon svg {fill:currentColor;}
/* Native slide search: do not override width, tabindex, display or open/close state. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-search #masthead .ast-header-search .ast-search-icon > a {
  background:var(--mlgh-pill);color:var(--mlg-ink) !important;border-radius:999px;box-shadow:inset 0 0 0 1px var(--mlgh-border),inset 0 1px 0 #fff;
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-search :is(#masthead,#ast-mobile-popup) :is(.ast-header-search,.ast-search-menu-icon) input[type="search"] {
  background:var(--mlgh-popup) !important;color:var(--mlg-ink) !important;border-color:var(--mlgh-border) !important;border-radius:12px;box-shadow:inset 0 1px 3px rgba(12,45,73,.07);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-search :is(#masthead,#ast-mobile-popup) :is(.ast-header-search,.ast-search-menu-icon) input[type="search"]::placeholder {color:var(--mlg-muted);opacity:1;}
/* Mobile off-canvas drawer: retain native overlay, focus trap, scroll and z-index. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-header .main-header-menu-toggle {
  background:var(--mlgh-pill) !important;color:var(--mlg-ink) !important;border-color:var(--mlgh-border) !important;border-radius:12px;box-shadow:inset 0 1px 0 #fff,0 3px 8px rgba(12,45,73,.09);
}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-header .main-header-menu-toggle svg {fill:currentColor;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-popup .ast-mobile-popup-inner {background:var(--mlgh-popup) !important;color:var(--mlg-ink);box-shadow:var(--mlgh-popup-shadow);}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-popup .ast-mobile-popup-header {background:var(--mlgh-top);border-color:var(--mlgh-border);}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-popup .menu-toggle-close {background:var(--mlgh-pill);color:var(--mlg-ink) !important;border-radius:12px;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer #ast-mobile-popup .menu-toggle-close svg {fill:currentColor;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-mobile-popup .main-header-menu :is(.sub-menu,.menu-link) {background-color:transparent;color:var(--mlg-ink) !important;border-color:var(--mlgh-border);}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-mobile-popup .main-header-menu :is(.current-menu-item,.current-menu-ancestor,.current-menu-parent) > .menu-link {background:var(--mlgh-active) !important;color:var(--mlg-ink) !important;}
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav #ast-mobile-popup .main-header-menu .ast-menu-toggle {color:var(--mlg-ink) !important;}
/* Scope focus rings to controls in enabled submodules; no changes to tabindex. */
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-nav :is(#masthead,#ast-mobile-popup) .main-header-menu :is(.menu-link,.ast-menu-toggle,.dropdown-menu-toggle):focus-visible,
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-languages :is(#masthead,#ast-mobile-popup) .ast-builder-language-switcher-item:focus-visible,
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-contact #masthead .uagb-block-c1361d0e a[href^="tel:"]:focus-visible,
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-search :is(#masthead,#ast-mobile-popup) :is(.astra-search-icon,input[type="search"]):focus-visible,
body.llcig-mlg.llcig-mlg-header.llcig-mlg-header-drawer :is(#ast-mobile-header,#ast-mobile-popup) :is(.main-header-menu-toggle,.menu-toggle-close):focus-visible {outline:3px solid var(--mlgh-ring) !important;outline-offset:-3px;}
/* Mobile is intentionally opaque and has no new blur or animation. */
@media (max-width:1024px) {
  body.llcig-mlg.llcig-mlg-header {--mlgh-top:linear-gradient(160deg,#fff,#e3f2fc);--mlgh-nav:#e7f4fd;--mlgh-pill:#eef8ff;--mlgh-popup:#f4faff;--mlgh-active:#d6ebfa;--mlgh-elevation:inset 0 1px 0 #fff,0 2px 6px rgba(12,45,73,.08);--mlgh-popup-shadow:0 4px 12px rgba(12,45,73,.10);--mlgh-cta-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
}
@media (forced-colors:active) {
  body.llcig-mlg.llcig-mlg-header {--mlgh-ring:Highlight;}
}
