/* Shared frontend controls: explicit colours keep account actions readable in every navbar. */
.frontend-account-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.frontend-account-actions form { margin:0; }
body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions .frontend-account-link {
    display:inline-flex!important; align-items:center; justify-content:center; gap:8px;
    min-height:44px; padding:9px 14px!important; border:1px solid #cbd5e1!important;
    border-radius:10px!important; background:#fff!important; color:#172b4d!important;
    font:inherit; font-size:14px!important; font-weight:600!important; line-height:1.3;
    text-decoration:none!important; white-space:nowrap; box-shadow:0 1px 3px #0001; cursor:pointer;
}
body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions .frontend-account-link:hover {
    background:#e2e8f0!important; color:#0f172a!important; border-color:#94a3b8!important;
}
body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions .frontend-account-link:active { background:#cbd5e1!important; }
.frontend-account-link:focus-visible { outline:3px solid #0e7490!important; outline-offset:3px; }
#cms-header-accessibility[hidden] { display:none!important; }
@media(max-width:1199.98px) {
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) { border-radius:14px; }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) .navbar-nav { gap:4px; }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) .nav-link {
        min-height:44px; display:flex; align-items:center; gap:8px;
        border-radius:9px; padding:10px 14px!important;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav):is(.show,.collapsing) {
        background:#fff!important; border:1px solid #cbd5e1!important;
        padding:8px!important; box-shadow:0 8px 24px #0f172a1a!important;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav):is(.show,.collapsing) .navbar-nav > .nav-item > .nav-link {
        color:#172b4d!important; background:transparent!important;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav):is(.show,.collapsing) .navbar-nav > .nav-item > .nav-link:is(:hover,:focus-visible,[aria-expanded="true"]) {
        color:#0f172a!important; background:#edf2f7!important;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) .dropdown-menu {
        border:1px solid #cbd5e1!important; border-radius:10px!important;
        padding:6px!important; margin-block:4px 10px!important; background:#f8fafc!important;
        box-shadow:0 4px 12px #0f172a0d!important;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) .dropdown-item {
        border-radius:7px; min-height:44px; padding:10px 12px!important;
        color:#172b4d!important; white-space:normal;
    }
    body[class*="theme-"] :is(#mainNavbar,#modernNav,#starterNav) .dropdown-item:is(:hover,:focus-visible) { background:#e2e8f0!important; color:#0f172a!important; }
    .frontend-account-actions { padding-block:6px; }
}
@media(max-width:767.98px) {
    .frontend-account-actions { gap:6px; }
    body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions .frontend-account-link { font-size:12px!important; padding:8px 10px!important; }
    .academic-masthead,.heritage-header-tools,.site-masthead__actions { flex-wrap:wrap; }
}
@media(max-width:991.98px) {
    .top-header__actions > .frontend-account-actions,
    .academic-masthead > .frontend-account-actions,
    .site-header-actions > .frontend-account-actions,
    .heritage-header-tools > .frontend-account-actions { display:none!important; }
    .custom-navbar .mobile-auth-links { flex-shrink:0; }
}

/* Mobile section rhythm: title first, actions beneath, one readable card per view. */
body[class*="theme-"] .site-updates .site-section-actions [hidden] { display:none!important; }
@media(max-width:991.98px) {
    body[class*="theme-"] .site-updates .site-section-heading {
        display:flex!important; flex-direction:column!important; align-items:stretch!important;
        gap:16px!important; width:100%; min-width:0; margin-bottom:20px;
    }
    body[class*="theme-"] .site-updates .site-section-heading > div:first-child {
        display:flex!important; flex-direction:column!important; align-items:flex-start!important;
        gap:10px!important; width:100%; min-width:0; flex-basis:auto!important;
    }
    body[class*="theme-"] .site-updates .site-section-heading .site-eyebrow {
        max-width:100%; white-space:normal; margin:0; padding:7px 10px;
        min-height:0; font-size:11px; line-height:1.4; letter-spacing:.08em;
    }
    body[class*="theme-"] .site-updates .site-section-heading h2 {
        width:100%; max-width:none; margin:0; font-size:clamp(24px,6.5vw,30px)!important;
        line-height:1.15!important; word-break:normal; overflow-wrap:break-word;
    }
    body[class*="theme-"] .site-updates .site-section-actions {
        display:grid!important; grid-template-columns:minmax(0,1fr) repeat(3,44px);
        align-items:center!important; gap:8px!important; width:100%!important;
        max-width:none!important; margin:0!important; flex-shrink:0; position:static!important;
    }
    body[class*="theme-"] .site-alumni .site-section-actions { grid-template-columns:minmax(0,1fr) repeat(3,44px); }
    body[class*="theme-"] .site-updates .site-section-actions .site-text-link {
        margin:0!important; justify-content:flex-start!important; font-size:13px;
        white-space:normal; min-width:0; min-height:44px; display:inline-flex; align-items:center;
    }
    body[class*="theme-"] .site-updates:not(.activity-coverflow) .site-card-track { --cards:1; width:100%!important; min-width:0; }
    body[class*="theme-"] .site-updates:not(.activity-coverflow) .site-card-track > .site-update-card {
        flex:0 0 100%!important; width:100%!important; max-width:100%!important;
        min-width:0!important; flex-direction:column!important; min-height:0!important; box-sizing:border-box;
    }
    body[class*="theme-"] .site-updates:not(.activity-coverflow) .site-update-card :is(.site-card-media,.site-card-placeholder) {
        width:100%!important; height:clamp(200px,60vw,280px)!important; min-height:0!important; flex:0 0 auto!important;
    }
    body[class*="theme-"] .site-updates:not(.activity-coverflow) .site-card-body { width:100%!important; min-width:0; padding:18px!important; }
    body[class*="theme-"] .site-updates:not(.activity-coverflow) .site-card-body h3 {
        font-size:22px; line-height:1.3; word-break:normal; overflow-wrap:break-word;
    }
    body[class*="theme-"] .site-updates .site-card-meta { flex-wrap:wrap; gap:6px; }
    body[class*="theme-"] .site-alumni .site-alumni-card { flex-basis:100%!important; max-width:100%; box-sizing:border-box; }
    body[class*="theme-"] .activity-coverflow { clip-path:none!important; overflow:visible!important; }
    body[class*="theme-"] .activity-coverflow [data-rail-track] { overflow:hidden!important; }
}

/* Shared rail controls across themes and viewport sizes. Hero controls are separate. */
body[class*="theme-"] .site-updates .site-section-actions { display:flex; align-items:center; gap:8px; }
body[class*="theme-"] .site-updates .site-section-actions .site-round-button {
    width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important;
    flex:0 0 44px!important; padding:0!important; border:1px solid #cbd5e1!important;
    border-radius:50%!important; background:#fff!important; color:#173a63!important;
    display:inline-flex; align-items:center; justify-content:center; box-shadow:none!important;
}
body[class*="theme-"] .site-updates .site-section-actions .site-round-button svg { width:20px; height:20px; }
body[class*="theme-"] .site-updates .site-section-actions .site-round-button:hover:not(:disabled) { background:#173a63!important; color:#fff!important; border-color:#173a63!important; }
body[class*="theme-"] .site-updates .site-section-actions .site-round-button:focus-visible { outline:3px solid #e9a820; outline-offset:3px; }
body[class*="theme-"] .site-updates .site-section-actions .site-round-button:disabled { opacity:.4; cursor:default; }
body .activity-coverflow .site-card-body { display:flex; flex-direction:column; flex:1; min-height:0; }
body .activity-coverflow .site-card-body > .site-text-link { margin-top:auto; padding-top:16px; }
body .activity-coverflow .site-card-body h3,
body .activity-coverflow .site-card-body p { display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
body .activity-coverflow .site-card-body h3 { -webkit-line-clamp:3; }
body .activity-coverflow .site-card-body p { -webkit-line-clamp:3; }
@media(max-width:991.98px) {
    body.theme-unica .site-home .unica-campus-band .site-section-heading,
    body.theme-campus .site-home .campus-section-band--activities .site-section-heading { width:var(--site-width,calc(100% - 32px)); margin-inline:auto; }
}

/* Discovery actions move together so their existing handlers and IDs are retained. */
.site-discovery-actions { display:flex; align-items:center; gap:8px; }
@media(max-width:991.98px) {
    body[class*="theme-"] .site-utility > .site-shell { flex-wrap:wrap; align-items:center; gap:8px; padding-block:8px; }
    body[class*="theme-"] .site-utility .site-discovery-actions { display:flex!important; gap:8px; }
    body[class*="theme-"] .site-utility .site-discovery-actions :is(.site-button,#sidebar-toggle) {
        display:inline-flex!important; align-items:center; justify-content:center;
        width:44px!important; min-width:44px; height:44px!important; min-height:44px; padding:0!important;
        border:1px solid currentColor!important; border-radius:8px; background:transparent!important; color:inherit!important; margin:0;
    }
    .site-utility .site-discovery-actions .site-button span { display:none; }
    .site-utility .site-discovery-actions .site-button:hover { background:#ffffff24; }
    .site-discovery-actions .site-button:focus-visible { outline:3px solid #e9a820; outline-offset:2px; }
    body[class*="theme-"] .site-masthead { gap:12px; }
    body[class*="theme-"] .site-masthead .site-brand { flex:1; min-width:0; }
    body[class*="theme-"] .site-header-actions:has(> .frontend-account-actions:last-child):not(:has(.site-accreditation)) { padding:0; border:0; box-shadow:none; }
    body[class*="theme-"] header .custom-navbar > .container.classic-shell {
        padding:6px 12px!important; gap:8px; align-items:center; flex-wrap:wrap;
    }
    body[class*="theme-"] .site-header .site-masthead > .site-header-actions { display:none; }
    body[class*="theme-"] .site-header .site-brand img[data-institution-logo] {
        width:min(var(--institution-logo-width),calc(100vw - 108px))!important;
        max-width:100%!important; min-width:0; flex:0 1 auto; height:auto!important;
        max-height:76px!important; object-fit:contain!important;
    }
    body[class*="theme-"] .custom-navbar .frontend-account-actions .frontend-account-link {
        height:44px; min-height:44px; box-sizing:border-box; padding:7px 10px!important;
        font-size:12px!important; line-height:1.2; border-radius:7px!important; gap:6px; box-shadow:none;
    }
    body[class*="theme-"] .custom-navbar .mobile-auth-links { min-width:0; margin:0!important; }
    body[class*="theme-"] .custom-navbar .frontend-account-actions { padding:0; gap:8px; }
    body[class*="theme-"] .custom-navbar .mobile-toggler {
        height:44px; min-height:44px; box-sizing:border-box; font-size:13px; padding:8px 12px!important; margin:0!important; border-radius:7px!important;
        line-height:1.3; display:inline-flex; align-items:center; justify-content:center;
    }
    body[class*="theme-"] .custom-navbar .mobile-toggler .menu-icon { display:inline-flex; align-items:center; gap:8px; }
    body[class*="theme-"] .custom-navbar .navbar-collapse { flex-basis:100%; margin-top:4px; }
    body[class*="theme-"] .site-service {
        flex-direction:column; align-items:center; justify-content:center; text-align:center;
        gap:10px; padding:16px 12px; min-height:132px;
    }
    body[class*="theme-"] .site-service-icon { width:40px; height:40px; flex:0 0 40px; font-size:20px; display:grid; place-items:center; margin:0; }
    body[class*="theme-"] .site-service-arrow { display:none; }
}
@media(max-width:359.98px) {
    body[class*="theme-"] header .custom-navbar > .container.classic-shell { padding-inline:12px!important; gap:8px; }
    body[class*="theme-"] .custom-navbar .frontend-account-actions { gap:6px; }
    body[class*="theme-"] .custom-navbar .mobile-toggler { padding-inline:10px!important; font-size:13px; }
}

/* Compact mastheads share the same spacing across themes. */
@media(min-width:992px) {
 body[class*="theme-"] .site-header .site-masthead { min-height:calc(var(--institution-logo-height) + 8px)!important; padding-block:4px; }
 body[class*="theme-"] .site-utility .site-shell { padding-block:4px; }
 body.theme-unica [data-centered-hero] .site-hero-controls { padding-bottom:24px!important; }
}
/* The placeholder preserves document position when navigation docks on scroll. */
.cms-nav-placeholder { display:block; height:0; pointer-events:none; }
body .cms-nav-ready { position:relative!important; }
body .cms-nav-ready.cms-nav-fixed { position:fixed!important; inset:0 0 auto!important; width:100%!important; margin:0!important; z-index:1045!important; }
/* Transforms on page-wrapper create a containing block for fixed descendants,
   which traps the shared sticky nav while the quick-links drawer is open. */
body.theme-unica .page-wrapper.shifted { transform:none!important; }
html { scroll-padding-top:var(--cms-nav-height,72px); }

/* Starter docks only its navigation row, allowing the utility strip to scroll away. */
body .starter-header { position:relative!important; top:auto!important; }

/* Shared utility accreditation/logout and consistent main-header actions. */
body .frontend-utility-actions { display:flex!important; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
body .frontend-utility-actions .frontend-naac-badge { display:inline-flex!important; color:inherit; gap:6px!important; }
body .frontend-utility-actions .frontend-naac-badge > span:first-child:not(:last-child) { width:28px!important; height:28px!important; font-size:12px; border-width:1px!important; }
body :is(.site-header-actions,.top-header__actions,.academic-masthead,.heritage-header-tools,.modern-nav > .container,.starter-header .nav-main > .container) > .frontend-naac-badge {
 display:inline-flex!important; flex:0 0 auto!important; align-items:center!important; gap:8px!important; margin-inline-end:14px!important;
 color:var(--frontend-header-text,var(--text-color))!important; font-size:13px!important; line-height:1.2!important; white-space:nowrap!important;
}
body :is(.site-header-actions,.top-header__actions,.academic-masthead,.heritage-header-tools,.modern-nav > .container,.starter-header .nav-main > .container) > .frontend-naac-badge img { width:48px!important; height:48px!important; }
body :is(.site-header-actions,.top-header__actions,.academic-masthead,.heritage-header-tools,.modern-nav > .container,.starter-header .nav-main > .container) > .frontend-naac-badge > span:last-child { font-size:16px!important; }
@media(max-width:991.98px) {
 body :is(.site-header-actions,.top-header__actions,.academic-masthead,.heritage-header-tools,.modern-nav > .container,.starter-header .nav-main > .container) > .frontend-naac-badge img { width:38px!important; height:38px!important; }
 body :is(.site-header-actions,.top-header__actions,.academic-masthead,.heritage-header-tools,.modern-nav > .container,.starter-header .nav-main > .container) > .frontend-naac-badge > span:last-child { font-size:13px!important; }
}
@media(min-width:992px) {
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions { position:relative!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions > .frontend-naac-badge {
  position:absolute!important; left:50%!important; top:auto!important; bottom:0!important; transform:translateX(-50%)!important;
  margin:0!important; z-index:1!important;
  min-height:56px!important; gap:12px!important; font-size:16px!important; line-height:1.25!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions > .frontend-naac-badge img { width:48px!important; height:48px!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions > .frontend-naac-badge > span:last-child { font-size:16px!important; }
}
body .frontend-utility-logout { margin:0; display:inline-flex; }
body .frontend-utility-logout button {
 display:inline-flex; align-items:center; justify-content:center; gap:6px;
 min-height:36px; padding:6px 10px; border:0; border-radius:6px;
 background:transparent; color:inherit; font:inherit; font-size:12px; cursor:pointer;
}
body .frontend-utility-logout button:hover { background:#ffffff24; }
body .frontend-utility-logout button:focus-visible { outline:3px solid #e9a820; outline-offset:2px; }
body[class*="theme-"] :is(header,.modern-nav,.top-header) :is(.site-search-launch,.header-search-btn,#sidebar-toggle) {
 display:inline-flex!important; align-items:center; justify-content:center; gap:8px;
 box-sizing:border-box; min-height:44px; padding:9px 12px!important;
 border:1px solid #cbd5e1!important; border-radius:8px!important;
 background:#fff!important; color:#172b4d!important; box-shadow:none!important;
 font-size:13px!important; font-weight:600!important; line-height:1.3; text-decoration:none;
}
body[class*="theme-"] :is(header,.modern-nav,.top-header) :is(.site-search-launch,.header-search-btn,#sidebar-toggle):hover { background:#e2e8f0!important; color:#0f172a!important; }
@media(max-width:767.98px) {
 body .frontend-utility-actions { gap:8px; }
 body .frontend-utility-logout button { width:36px; padding:6px; }
 body .frontend-utility-logout button span { display:none; }
 body .frontend-utility-actions .frontend-naac-badge { max-width:150px!important; }
 body[class*="theme-"] .site-utility .site-discovery-actions :is(.site-button,#sidebar-toggle) { width:44px!important; padding:0!important; }
}

@media(max-width:767.98px) {
 body .frontend-utility-actions { min-width:0; max-width:100%; flex:0 1 auto; white-space:normal; }
 body .utility-bar .container > .d-flex,
 body .utility-bar .container > .d-flex > .d-flex { flex-wrap:wrap; }
}

/* Utility groups fill the bar; logout remains the final action. */
body .frontend-utility-actions { width:100%; flex:1 1 auto; justify-content:space-between; }
body .frontend-utility-left, body .frontend-utility-right { display:flex; align-items:center; flex-wrap:wrap; gap:12px; min-width:0; }
body .frontend-utility-left { justify-content:flex-start; }
body .frontend-utility-right { margin-inline-start:auto; justify-content:flex-end; }
body .frontend-utility-hours { max-width:none; overflow:visible; white-space:normal; line-height:1.4; }
body :is(.site-utility,.academic-utility,.frontend-reading-topbar) .frontend-utility-contact { display:none; }
body .utility-bar .container > .d-flex > div:not(:has(.frontend-utility-actions)),
body .starter-header .top-strip .container > div:not(:has(.frontend-utility-actions)) { display:none; }
body .utility-bar .container > .d-flex > div:has(.frontend-utility-actions),
body .starter-header .top-strip .container > div:has(.frontend-utility-actions) { width:100%; }
body .utility-bar .social-links { display:none!important; }
body .academic-utility .frontend-reading-header { margin-left:0; }
body[class*="theme-"] :is(header,.modern-nav,.top-header) :is(.frontend-account-link,.site-search-launch,.header-search-btn,#sidebar-toggle) { height:44px!important; min-height:44px!important; }
@media(max-width:767.98px) {
 body .frontend-utility-left, body .frontend-utility-right { gap:8px; }
 body .frontend-utility-left { flex:1 1 100%; }
 body .frontend-utility-hours { font-size:11px; }
}

/* Mobile utility bar: one compact row of icons. */
@media(max-width:991.98px) {
 body .frontend-utility-actions { gap:6px; flex-wrap:nowrap; justify-content:space-between; }
 body .frontend-utility-left, body .frontend-utility-right { display:contents; }
 body .frontend-utility-left .frontend-utility-hours { display:none; }
 body .frontend-utility-actions .frontend-naac-badge > span:last-child:not(:first-child) { display:none; }
 body .frontend-utility-actions .frontend-naac-badge { width:28px; flex:0 0 28px; }
 body .frontend-utility-actions .fe-lang-switcher > a { font-size:0!important; width:36px; padding:0; }
 body .frontend-utility-actions .fe-lang-switcher > a::after { display:none; }
 body .frontend-utility-actions .fe-lang-switcher > a i { margin:0!important; }
 body .frontend-utility-right .site-discovery-actions { margin:0; gap:2px; }
 body[class*="theme-"] .site-utility .site-discovery-actions :is(.site-button,#sidebar-toggle) {
  border:0!important; background:transparent!important; color:inherit!important; border-radius:6px!important;
 }
 body[class*="theme-"] :is(header,.modern-nav,.top-header) .custom-navbar .frontend-account-actions :is(.frontend-account-link,#cms-unused-action),
 body[class*="theme-"] .custom-navbar .mobile-toggler {
  background:transparent!important; border:0!important; box-shadow:none!important;
  color:var(--frontend-nav-text,var(--on-primary,#fff))!important;
 }
 body[class*="theme-"] .custom-navbar .mobile-toggler .menu-icon { color:inherit!important; }
 body[class*="theme-"] .custom-navbar .frontend-account-actions .frontend-account-link:hover,
 body[class*="theme-"] .custom-navbar .mobile-toggler:hover { text-decoration:underline; text-underline-offset:4px; }
}

/* Shorter mobile header stack while keeping 44px interactive targets. */
@media(max-width:767.98px) {
 body[class*="theme-"] .site-utility > .site-shell { padding-block:2px!important; gap:0; }
 body[class*="theme-"] .site-header .site-masthead { min-height:0!important; padding-block:6px!important; gap:8px; }
 body[class*="theme-"] .site-header .site-brand img[data-institution-logo] { max-height:64px!important; }
 body[class*="theme-"] .site-header .government-emblem { width:var(--emblem-mobile-width,48px)!important; padding:0!important; margin-inline-end:8px!important; }
 body[class*="theme-"] .site-header .government-emblem img[data-government-emblem] { max-height:none!important; }
 body[class*="theme-"] .site-header .custom-navbar,
 body[class*="theme-"] .site-header .custom-navbar > .container.classic-shell { min-height:44px!important; }
 body[class*="theme-"] header .custom-navbar > .container.classic-shell { padding-block:2px!important; }
 body[class*="theme-"] .custom-navbar .navbar-collapse:not(.show):not(.collapsing) { margin-top:0; }
 body .frontend-utility-actions { min-height:44px; }
}

@media(max-width:767.98px) {
 body .frontend-utility-actions { gap:2px; }
 body .frontend-utility-right #cms-header-accessibility { width:36px!important; min-width:36px; height:36px; min-height:36px; padding:6px!important; }
}

/* Activity chronology has edge navigation clear of the central card text. */
.activity-rail-stage { position:relative; }
body .activity-coverflow .activity-edge-button {
 position:absolute; top:50%; transform:translateY(-50%); z-index:5;
 display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px;
 padding:0; border:1px solid #cbd5e1; border-radius:50%; background:#fff; color:#173a63;
 box-shadow:0 3px 12px #10264726;
}
body .activity-coverflow .activity-edge-button[data-prev] { left:clamp(2px,2vw,28px); }
body .activity-coverflow .activity-edge-button[data-next] { right:clamp(2px,2vw,28px); }
body .activity-coverflow .activity-edge-button:hover:not(:disabled) { background:#173a63; color:#fff; }
body .activity-coverflow .activity-edge-button:disabled { opacity:.4; cursor:default; }
body .activity-coverflow .activity-edge-button:focus-visible { outline:3px solid #e9a820; outline-offset:3px; }
body .activity-coverflow .activity-edge-button[hidden] { display:none!important; }
body[class*="theme-"] .site-updates--activities .site-section-actions { display:flex!important; justify-content:space-between; align-items:center; gap:16px; }
.activity-position { font-size:13px; font-weight:600; white-space:nowrap; }

/* One visual language for every home-section rail control.  The pause glyph is
   deliberately given its own box so it cannot disappear when a theme resets
   button typography. */
body[class*="theme-"] :is(.site-round-button,.slider-arrow,.activity-edge-button) [data-pause-icon] {
 display:inline-grid!important; place-items:center!important; width:20px!important; height:20px!important;
 color:currentColor!important; font:700 20px/1 Arial,sans-serif!important;
}
body[class*="theme-"] :is(.site-round-button,.slider-arrow,.activity-edge-button) [data-pause-icon] svg {
 display:block!important; width:20px!important; height:20px!important;
}
body.theme-classic .cards-slider-nav {
 display:flex!important; align-items:center!important; justify-content:center!important; gap:12px!important;
 margin-top:18px!important;
}
body.theme-classic .cards-slider-nav .slider-arrow {
 display:inline-flex!important; align-items:center!important; justify-content:center!important;
 width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important;
 padding:0!important; border:1px solid color-mix(in srgb,var(--primary-color) 55%,white)!important;
 border-radius:50%!important; background:color-mix(in srgb,var(--primary-color) 5%,white)!important;
 color:var(--primary-color)!important; box-shadow:none!important;
}
body.theme-classic .cards-slider-nav .slider-arrow:hover:not(:disabled) {
 background:var(--primary-color)!important; border-color:var(--primary-color)!important; color:var(--on-primary,#fff)!important;
}
body.theme-classic .cards-slider-nav .slider-arrow:disabled { opacity:.4!important; }

body .activity-coverflow { clip-path:none!important; overflow:visible!important; }

/* Compact footer rhythm, preserving theme colours and the copyright/UX4G row. */
body[class*="theme-"] .site-footer-grid { padding-block:24px; gap:24px; align-items:start; }
body[class*="theme-"] .site-footer-grid--simple { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
body[class*="theme-"] .site-footer :is(h2,h3) { margin-bottom:10px; }
body[class*="theme-"] .site-footer h2 { font-size:clamp(20px,2vw,28px); line-height:1.25; }
body[class*="theme-"] .site-footer :is(p,a) { overflow-wrap:anywhere; }
body[class*="theme-"] .site-footer p { margin:0 0 8px; line-height:1.5; }
body[class*="theme-"] :is(.site-footer-grid,.academic-footer-body,.heritage-footer-body) a { margin-bottom:0; min-height:32px; padding-block:6px; line-height:1.4; }
body[class*="theme-"] .site-footer .site-copyright { padding-block:12px; margin-top:0; font-size:12px; line-height:1.5; gap:8px!important; }
body[class*="theme-"] .academic-footer { padding-top:24px; }
body[class*="theme-"] .academic-footer-heading { padding-bottom:14px; }
body[class*="theme-"] :is(.academic-footer-body,.heritage-footer-body) { gap:24px; padding-block:20px; }
body[class*="theme-"] .academic-footer-portal { font-size:20px!important; padding-inline-start:18px; }
body[class*="theme-"] .heritage-footer-contact { padding-block:20px; }
body[class*="theme-"] .frontend-footer .overlay { padding-block:24px; }
body[class*="theme-"] :is(.modern-footer,.starter-footer) { padding-block:24px 0; }
body[class*="theme-"] :is(.modern-footer,.starter-footer) .row { row-gap:16px; }
body[class*="theme-"] :is(.modern-footer,.starter-footer) h5 { margin-bottom:10px; }
@media(max-width:767.98px) {
 body[class*="theme-"] .site-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); padding-block:20px; gap:16px; }
 body[class*="theme-"] .site-footer-grid > div:first-child { grid-column:1/-1; }
 body[class*="theme-"] .site-footer-grid--simple { grid-template-columns:minmax(0,1fr); }
 body[class*="theme-"] .site-footer-grid .site-socials { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; }
 body[class*="theme-"] .site-footer-grid--simple .site-socials { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body[class*="theme-"] .site-footer :is(h2,h3) { margin-bottom:8px; }
 body[class*="theme-"] .site-footer h2 { font-size:20px; }
 body[class*="theme-"] :is(.academic-footer-body,.heritage-footer-body) { padding-block:16px; gap:16px; }
 body[class*="theme-"] :is(.academic-footer,.heritage-footer) .theme-footer-resources { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; }
 body[class*="theme-"] .theme-footer-resources h3 { grid-column:1/-1; }
 body[class*="theme-"] .academic-footer-portal { padding:12px 0 0; font-size:18px!important; }
 body[class*="theme-"] .frontend-footer .overlay { padding-block:20px; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .row > [class*="col-"] { margin-bottom:0!important; }
}
@media(pointer:coarse) {
 body[class*="theme-"] :is(.site-footer-grid,.academic-footer-body,.heritage-footer-body) a { min-height:44px; }
}

body[class*="theme-"] :is(.frontend-footer,.modern-footer,.starter-footer) .row { margin-inline:0; }
body[class*="theme-"] :is(.frontend-footer,.modern-footer,.starter-footer) .container { padding-inline:16px; }

body :is(.modern-footer,.starter-footer) :is(.footer-logo,.social-icons):empty { display:none; }
@media(max-width:767.98px) {
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .row > [class*="col-"] { width:100%; max-width:100%; min-width:0; padding:0; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .row > :first-child,
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .row > :last-child { grid-column:1/-1; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) ul { margin:0; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) li { margin-bottom:2px!important; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) a { overflow-wrap:anywhere; }
 body[class*="theme-"] :is(.modern-footer,.starter-footer) .footer-bottom { margin-top:16px; padding-block:12px; }
}

/* Theme-independent header behaviour; discovery actions remain working DOM nodes. */
body[class*="theme-"] :is(.frontend-utility-contact, .utility-bar .social-links) { display:none!important; }
body[class*="theme-"] .utility-bar { padding-block:4px!important; }
body[class*="theme-"] .utility-bar .container > .d-flex > div:has(.frontend-utility-actions) { width:100%; }
body[class*="theme-"] .top-header { padding-block:8px!important; min-height:0!important; }
body[class*="theme-"] .top-header .logo img[data-institution-logo] { max-height:104px!important; width:auto; object-fit:contain; }
.site-news-file-type { display:inline-flex; align-items:center; align-self:flex-start; gap:6px; margin-bottom:8px; padding:5px 9px; border:1px solid var(--accent-color,#d8bc78); border-radius:999px; background:#fff8e8; color:var(--primary-color,#173a63); font-size:.75rem; font-weight:700; line-height:1.3; }
.cms-extra-search { display:none!important; }
@media(max-width:991.98px) {
 body[class*="theme-"] .cms-discovery-actions { display:flex!important; gap:2px; flex:0 0 auto; }
 body[class*="theme-"] .frontend-utility-actions .cms-discovery-actions :is(button,a,#sidebar-toggle,#header-search-toggle) {
  display:inline-flex!important; align-items:center; justify-content:center; width:36px!important; min-width:36px!important;
  height:44px!important; min-height:44px!important; padding:0!important; margin:0!important; border:0!important;
  background:transparent!important; color:inherit!important; box-shadow:none!important; border-radius:6px!important;
 }
 body[class*="theme-"] .cms-discovery-actions :is(.quick-link-text,button > span) { display:none!important; }
 body[class*="theme-"] .cms-discovery-actions .quick-btn { display:inline-flex!important; align-items:center; justify-content:center; padding:0!important; background:transparent!important; color:inherit!important; width:auto!important; height:auto!important; border:0!important; }
 body[class*="theme-"] .utility-bar .container > .d-flex { flex-wrap:nowrap; }
 body[class*="theme-"] .utility-bar .container > .d-flex > div:has(.frontend-utility-actions) { flex:1; min-width:0; }
 body[class*="theme-"] .top-header { padding-block:6px!important; }
 body[class*="theme-"] :is(.academic-masthead,.heritage-masthead) { min-height:0!important; padding-block:6px!important; gap:8px!important; }
 body[class*="theme-"] :is(.academic-discover,.heritage-header-tools .theme-search) { display:none!important; }
 body[class*="theme-"] .top-header .logo img[data-institution-logo] { max-height:64px!important; max-width:100%!important; }
 body[class*="theme-"] .top-header__actions:has(> .frontend-account-actions:only-child) { display:none!important; }
 body[class*="theme-"] .top-header__actions { gap:0!important; min-width:0; }
 body[class*="theme-"] .top-header__brand { flex:1; min-width:0; }
 body[class*="theme-"] .top-header .classic-shell { width:100%; gap:8px!important; }
 body[class*="theme-"] .top-header .logo { flex-shrink:1!important; min-width:0; }
 body[class*="theme-"] .frontend-utility-actions { flex:1 1 100%; }
}

/* Account and menu labels share the same scale in the mobile navigation row. */
@media(max-width:991.98px) {
 body[class*="theme-"] :is(header,.modern-nav,.top-header) .custom-navbar .frontend-account-actions :is(.frontend-account-link,#cms-unused-action),
 body[class*="theme-"] header .custom-navbar .mobile-toggler {
  font-size:18px!important; font-weight:700!important; line-height:1.3!important;
 }
 body[class*="theme-"] header .custom-navbar .frontend-account-link span,
 body[class*="theme-"] header .custom-navbar .mobile-toggler .menu-icon { font-size:inherit!important; }
}

/* Keep publication titles consistent with the homepage card type scale. */
body[class*="theme-"] .publication-list :is(h2,.journal-copy h2),
body[class*="theme-"] .department-updates .site-card-body h3 {
    font-family:inherit!important; font-size:1.15rem!important; font-weight:700!important;
    line-height:1.45!important; letter-spacing:normal!important;
}
body.theme-unica .publication-list h2,
body.theme-unica .department-updates .site-card-body h3 { font-family:Georgia,'Times New Roman',serif!important; }
body.theme-academic .publication-list h2 { font-family:Georgia,'Times New Roman',serif!important; }
.department-updates { margin-block:40px; }
.department-updates .site-updates { margin-block:32px; padding:24px; border:1px solid #dce3ec; border-radius:16px; background:#f8fafc; }
.department-updates .site-section-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:22px; }
.department-updates .site-section-heading h2 { font-size:1.55rem; margin:4px 0; }
.department-updates .site-eyebrow { font-size:.75rem; color:var(--primary-color); font-weight:700; }
.department-updates .site-section-actions { display:flex; gap:10px; align-items:center; }
.department-updates .site-round-button { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid #cbd5e1; border-radius:50%; background:#fff; color:var(--primary-color); flex-shrink:0; }
.department-updates .site-round-button:disabled { opacity:.35; }
.department-updates .site-card-track { display:flex; overflow-x:auto; gap:22px; scroll-snap-type:x proximity; padding-bottom:16px; align-items:stretch; }
body .department-updates .site-update-card { position:relative; flex:0 0 calc((100% - 44px)/3); min-width:0; min-height:0; display:flex; flex-direction:column; background:#fff; color:#1e293b; border:1px solid #dce3ec; border-radius:12px; overflow:hidden; scroll-snap-align:start; }
body .department-updates :is(.site-card-media,.site-card-placeholder) { position:relative; inset:auto; width:100%; height:auto; aspect-ratio:16/9; flex:none; overflow:hidden; background:#e8edf5; }
body .department-updates .site-card-media img { width:100%; height:100%; object-fit:contain; }
body .department-updates .site-card-media::after { display:none; }
body .department-updates .site-card-placeholder { display:flex; align-items:center; justify-content:center; gap:10px; color:var(--primary-color); }
body .department-updates .site-card-body { padding:20px; display:flex; flex:1; flex-direction:column; }
body .department-updates .site-card-body :is(h3,h3 a,p,time) { color:#1e293b; }
.department-updates .site-card-meta { display:flex; flex-wrap:wrap; gap:8px; font-size:.78rem; color:#64748b; }
.department-updates .site-card-body p { font-size:.9rem; line-height:1.65; }
.department-updates .site-card-body > .site-text-link { margin-top:auto; }
body .publication-summary { gap:16px; padding:0; border:0; margin-block:24px 32px; }
body .publication-summary > div { padding:22px; border:1px solid #dce3ec; border-top:3px solid var(--primary-color); border-radius:12px; background:linear-gradient(145deg,#fff,#f1f5f9); box-shadow:0 5px 16px #14243d08; }
body .publication-summary dt { font-size:.85rem; line-height:1.5; color:#526174; }
body .publication-summary dd { font:700 2rem/1.1 sans-serif; color:var(--primary-color); }
@media(max-width:1000px) {
 body .department-updates .site-update-card { flex-basis:calc((100% - 22px)/2); }
 body.theme-unica .unica-achievement-band .site-updates--achievements .site-update-card { flex-basis:calc((100% - var(--site-gap))/2); }
}
@media(max-width:600px) {
 .department-updates .site-updates { padding:16px; }
 body .department-updates .site-update-card { flex-basis:90%; }
 body.theme-unica .unica-achievement-band .site-updates--achievements .site-update-card { flex-basis:100%; }
 body .publication-summary > div { padding:16px; }
}

body .achievement-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
body .achievement-summary > div { display:flex; flex-direction:column-reverse; gap:10px; }
body .achievement-summary dd { margin:0; }
@media(max-width:700px) { body .achievement-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Department profiles: balanced faculty and update sections in every theme. */
.department-updates .site-card-track { scrollbar-width:none; -ms-overflow-style:none; }
.department-updates .site-card-track::-webkit-scrollbar { display:none; width:0; height:0; }
.department-updates .site-card-track:focus-visible { outline:3px solid var(--primary-color); outline-offset:4px; }
body .department-page .department-panel { padding:clamp(20px,3vw,32px); border:1px solid #e0e6ee; border-radius:16px; background:#fff; box-shadow:0 6px 22px #172a4206; }
body .department-page .inst-section-title { margin-bottom:20px; font-size:clamp(1.3rem,2vw,1.65rem); }
body .department-page .table { margin-bottom:0; border-color:#e0e6ee; }
body .department-page .table thead th { background:color-mix(in srgb,var(--primary-color) 6%,white); color:var(--primary-color); padding:14px 16px; }
body .department-page .table td { padding:14px 16px; }
body .department-page .department-updates .site-updates { background:color-mix(in srgb,var(--primary-color) 2%,#fff); box-shadow:none; border-radius:14px; }
body .department-page .department-updates :is(.site-card-media,.site-card-placeholder) { height:clamp(180px,15vw,220px)!important; min-height:0!important; }
body .department-page .department-updates .site-card-body h3 { font-size:1.05rem!important; }
body .department-page .department-updates .site-card-body p { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
body .department-info .inst-info-grid { gap:18px; }
body .department-info .inst-info-item { border-inline-start:3px solid color-mix(in srgb,var(--primary-color) 35%,white); padding-inline-start:16px; }
@media(max-width:600px) {
 body .department-page .department-panel { padding:20px 16px; }
}

.department-updates .site-round-button[hidden] { display:none; }

/* A single faculty grid avoids empty rows for small departments. */
.faculty-directory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; align-items:stretch; }
.faculty-directory-total { font-size:.88rem; color:#64748b; margin:0 0 20px; }
.faculty-directory-card { display:flex; flex-direction:column; align-items:center; min-width:0; padding:26px 20px 20px; border:1px solid #dce4ed; border-top:3px solid var(--primary-color); border-radius:14px; background:#fff; box-shadow:0 4px 18px #14213d06; text-align:center; }
.faculty-directory-profile { display:block; width:100%; text-decoration:none!important; color:#1e293b; }
.faculty-directory-portrait { width:112px; height:112px; margin:0 auto 16px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; background:var(--primary-color); color:#fff; font-size:2rem; border:4px solid #fff; box-shadow:0 0 0 2px #dce4ed; }
.faculty-directory-portrait img { width:100%; height:100%; object-fit:cover; object-position:center top; }
body .faculty-directory-card h2 { font-family:inherit; font-size:1.05rem; font-weight:700; line-height:1.5; color:#1e293b; margin:0 0 5px; overflow-wrap:anywhere; }
.faculty-directory-designation { font-size:.85rem; line-height:1.5; color:var(--primary-color); margin:0 0 10px; }
body .faculty-department-link, body .faculty-department-link:hover { text-decoration:none!important; color:var(--primary-color); }
.faculty-directory-card .faculty-department-link { font-size:.8rem; line-height:1.6; margin:0 0 18px; }
.faculty-directory-counts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; margin:auto 0 16px; padding-top:16px; border-top:1px solid #e2e8f0; }
.faculty-directory-counts > div { display:flex; flex-direction:column-reverse; gap:4px; }
.faculty-directory-counts dt { font-size:.75rem; font-weight:500; color:#64748b; }
.faculty-directory-counts dd { font-size:1.2rem; line-height:1.3; font-weight:750; color:var(--primary-color); margin:0; }
.faculty-directory-more { font-size:.82rem; font-weight:650; color:var(--primary-color); text-decoration:none; }
.faculty-directory-card a:focus-visible { outline:3px solid var(--primary-color); outline-offset:4px; border-radius:4px; }
@media(max-width:1199px) { .faculty-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:899px) { .faculty-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:539px) { .faculty-directory-grid { grid-template-columns:minmax(0,1fr); } }

/* Penn-inspired hero header: branding at the left, compact actions and a
   right-aligned overflow-aware menu at the right, over a soft full-width fade. */
@media(min-width:992px) {
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header {
  width:100%!important; padding:0!important; overflow:visible!important;
  background:transparent!important; border:0!important; box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled)::before {
  content:""; position:absolute; z-index:0; inset:0 0 -170px; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.84) 0%,rgba(255,255,255,.76) 56%,rgba(255,255,255,.30) 82%,rgba(255,255,255,0) 100%);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header > .site-utility {
  position:relative!important; z-index:2; display:block!important; width:100%;
  background:var(--frontend-topbar-background,var(--secondary-color))!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid {
  position:relative!important; z-index:1; display:grid!important; width:100%!important;
  max-width:none!important; margin:0!important; padding-inline:clamp(18px,1.4vw,30px)!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  grid-template-rows:clamp(56px,5.2vw,78px) clamp(48px,4.1vw,62px)!important;
  column-gap:clamp(14px,1.3vw,26px)!important; align-items:stretch!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-branding-zone,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-masthead { display:contents!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .website-header-art { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-brand {
  grid-column:1!important; grid-row:1 / span 2!important; align-self:center!important;
  justify-self:start!important; max-width:min(38vw,620px)!important; min-width:0!important;
  padding:0!important; margin:0!important; gap:clamp(10px,1.3vw,22px)!important;
  background:transparent!important; border-radius:0!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-brand img {
  max-width:min(34vw,540px)!important;
  max-height:calc(clamp(56px,5.2vw,78px) + clamp(48px,4.1vw,62px) - 10px)!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-brand .site-wordmark {
  color:#111827!important; text-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions {
  grid-column:2!important; grid-row:1!important; display:flex!important; align-self:stretch!important;
  justify-content:flex-end!important; gap:10px!important; min-width:0!important;
  margin:0!important; padding:0 0 0 14px!important; border:0!important;
  border-bottom:1px solid rgba(15,23,42,.25)!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-discovery-actions { margin-inline-start:auto!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar {
  grid-column:2!important; grid-row:2!important; display:flex!important; align-items:stretch!important;
  width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
  border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar > .container.classic-shell {
  display:flex!important; justify-content:flex-end!important; align-items:stretch!important;
  width:100%!important; max-width:none!important; min-width:0!important; min-height:0!important;
  margin:0!important; padding:0!important; background:transparent!important; border:0!important;
  border-radius:0!important; box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-toggler,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-auth-links { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-collapse {
  display:flex!important; flex:1 1 auto!important; justify-content:flex-end!important;
  width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-nav {
  display:flex!important; flex-wrap:nowrap!important; justify-content:flex-end!important;
  width:min(100%,78vw)!important; max-width:100%!important; min-width:0!important; margin:0 0 0 auto!important; gap:0!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item { flex:0 0 auto!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link {
  min-height:100%!important; padding:0 clamp(12px,1.05vw,21px)!important;
  white-space:nowrap!important; font-size:clamp(15px,1vw,20px)!important; font-weight:650!important;
  color:#111827!important; background:transparent!important; text-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link:hover,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link:is(.active,.section-active) {
  color:#111827!important; background:transparent!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .nav-item + .nav-item::before { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions :is(.site-button--quiet,#sidebar-toggle,.site-search-launch) {
  background:rgba(255,255,255,.58)!important; border:1px solid rgba(15,23,42,.24)!important;
  color:#111827!important; box-shadow:none!important; text-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .frontend-account-link {
  background:rgba(255,255,255,.92)!important; border-color:rgba(15,23,42,.2)!important; color:#111827!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled::before { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled { background:transparent!important; box-shadow:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-header-overlay-grid {
  display:block!important; width:100%!important; padding:0!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-branding-zone,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-header-actions { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar {
  position:fixed!important; inset:0 0 auto!important; z-index:1045!important; display:block!important;
  width:var(--site-width)!important; height:auto!important; min-height:0!important; margin:8px auto!important;
  padding:0!important; background:transparent!important; border:0!important; border-radius:14px!important;
  box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar > .container.classic-shell {
  display:flex!important; align-items:stretch!important; justify-content:flex-start!important; width:var(--site-width)!important;
  max-width:none!important; height:auto!important; min-height:52px!important; margin:0 auto!important;
  padding:0 12px!important; border:1px solid color-mix(in srgb,var(--frontend-nav-background,var(--primary-color)) 22%,white)!important;
  border-radius:14px!important; background:var(--frontend-nav-background,var(--primary-color))!important; box-shadow:0 10px 24px #071a3820!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse { display:flex!important; flex:1 1 auto!important; width:100%!important; height:auto!important; min-height:52px!important; justify-content:flex-start!important; overflow-x:auto!important; scrollbar-width:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse::-webkit-scrollbar { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-nav { width:max-content!important; min-width:100%!important; height:auto!important; min-height:52px!important; justify-content:flex-start!important; margin:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-nav > .nav-item > .nav-link { display:flex!important; align-items:center!important; height:auto!important; min-height:52px!important; color:var(--frontend-nav-text,var(--on-primary,#fff))!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-header-overlay-grid .site-header-actions { border-bottom-color:var(--site-border)!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link { color:var(--frontend-nav-text,var(--on-primary,#fff))!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .nav-more-menu > .nav-item {
  display:block!important; width:100%!important; border:0!important; border-bottom:1px solid #edf0f4!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .nav-more-item > .nav-more-menu {
  left:auto!important; right:0!important; top:100%!important; min-width:min(300px,90vw)!important;
  max-height:min(70vh,560px)!important; overflow-y:auto!important; overscroll-behavior:contain;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .nav-more-menu > .nav-item > .nav-link {
   display:flex!important; min-height:42px!important; width:100%!important; justify-content:space-between!important;
   padding:10px 14px!important; color:var(--text-color)!important; white-space:normal!important;
  }
  /* Keep the hero-overlay variant readable without laying a translucent panel
     over the image. The short fade belongs to the hero edge, below the header. */
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header {
   position:relative!important; inset:auto!important; z-index:1030!important;
   color:var(--frontend-header-text,var(--text-color))!important;
   background:var(--frontend-header-background,var(--site-background,#fff))!important;
   border:0!important; box-shadow:0 2px 12px rgba(15,23,42,.08)!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled)::before {
   content:none!important; display:none!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header > .site-utility {
   background:var(--frontend-topbar-background,var(--secondary-color))!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions {
   border-bottom-color:var(--site-border,rgba(15,23,42,.2))!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions {
   align-items:flex-end!important; padding-bottom:8px!important;
   border-bottom:2px solid #26364a!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link {
   display:flex!important; align-items:center!important;
   color:#111827!important; -webkit-text-fill-color:#111827!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar .nav-link:is(:hover,:focus-visible,.active,.section-active) { color:#111827!important; -webkit-text-fill-color:#111827!important; }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar .nav-link .dropdown-toggle-icon { color:#111827!important; }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions :is(.site-button--quiet,#sidebar-toggle,.site-search-launch) {
   background:var(--frontend-header-control-background,rgba(255,255,255,.76))!important;
   border-color:var(--site-border,#cbd5e1)!important;
   color:var(--frontend-header-text,var(--text-color))!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .frontend-account-link {
   background:var(--primary-color)!important; border-color:var(--primary-color)!important; color:var(--on-primary,#fff)!important;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-hero {
   position:relative; isolation:isolate; overflow:visible;
  }
  body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-hero::before {
   content:""; position:absolute; z-index:2; pointer-events:none;
   inset:0 0 auto; height:42px;
   background:linear-gradient(180deg,var(--frontend-header-background,var(--site-background,#fff)) 0%,color-mix(in srgb,var(--frontend-header-background,var(--site-background,#fff)) 42%,transparent) 48%,transparent 100%);
   filter:blur(7px); opacity:.92;
  }
 }

@media(max-width:991.98px) {
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header { position:relative!important; inset:auto!important; width:100%!important; max-width:none!important; margin:0!important; background:var(--frontend-header-background,#fff)!important; box-shadow:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header::before { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid { position:relative!important; left:50%!important; transform:translateX(-50%)!important; display:block!important; width:100vw!important; max-width:none!important; margin:0!important; padding:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-branding-zone,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-masthead { display:flex!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar { display:block!important; width:100%!important; margin:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar > .container.classic-shell { display:flex!important; flex-flow:row nowrap!important; justify-content:space-between!important; align-items:center!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; background:var(--frontend-nav-background,var(--primary-color))!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-auth-links,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-toggler { display:flex!important; flex:1 1 50%!important; width:50%!important; min-width:0!important; min-height:58px!important; justify-content:center!important; margin:0!important; padding-inline:12px!important; border-radius:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-auth-links { order:1!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-toggler { order:2!important; color:var(--frontend-nav-text,var(--on-primary,#fff))!important; background:transparent!important; border:0!important; box-shadow:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-toggler .menu-icon { color:inherit!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-auth-links .frontend-account-actions,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .mobile-auth-links .frontend-account-link { display:flex!important; width:100%!important; justify-content:center!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar { position:relative!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar > .container.classic-shell { position:static!important; flex-wrap:nowrap!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .custom-navbar .navbar-collapse:is(.show,.collapsing) { position:absolute!important; top:100%!important; left:0!important; right:0!important; z-index:1102!important; display:block!important; flex:0 0 100%!important; width:100%!important; max-width:none!important; max-height:min(75dvh,calc(100dvh - 130px))!important; margin:0!important; padding:8px 14px!important; overflow-y:auto!important; overscroll-behavior:contain; border:0!important; border-radius:0 0 14px 14px!important; background:#fff!important; box-shadow:0 12px 30px rgba(15,23,42,.2)!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled {
  position:absolute!important; inset:0 0 auto!important; z-index:1100!important; width:100%!important; max-width:none!important; margin:0!important;
  background:transparent!important; box-shadow:none!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled::before,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled > .site-utility,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-branding-zone { display:none!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .site-header-overlay-grid { left:auto!important; transform:none!important; display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar { position:fixed!important; inset:0 0 auto!important; z-index:1045!important; display:flex!important; width:100%!important; height:70px!important; min-height:70px!important; margin:0!important; background:#fff!important; border:0!important; border-bottom:1px solid var(--site-border)!important; box-shadow:0 5px 18px rgba(7,20,37,.16)!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar > .container.classic-shell { display:flex!important; flex-flow:row nowrap!important; justify-content:space-between!important; align-items:center!important; width:100%!important; max-width:none!important; min-height:58px!important; margin:0!important; padding:0!important; background:var(--frontend-nav-background,var(--primary-color))!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .mobile-toggler { display:flex!important; order:2!important; align-items:center!important; margin-inline-start:auto!important; color:var(--on-primary,#fff)!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .mobile-auth-links { display:flex!important; order:1!important; align-items:center!important; margin:0 auto 0 0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar :is(.mobile-auth-links,.mobile-toggler) { flex:1 1 50%!important; width:50%!important; min-width:0!important; min-height:58px!important; justify-content:center!important; margin:0!important; padding-inline:12px!important; border-radius:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .mobile-auth-links .frontend-account-actions,
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .mobile-auth-links .frontend-account-link { display:flex!important; width:100%!important; justify-content:center!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .mobile-auth-links .frontend-account-link { color:var(--on-primary,#fff)!important; background:transparent!important; border:0!important; }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse:is(.show,.collapsing) { position:absolute!important; top:100%!important; left:0!important; right:0!important; z-index:1102!important; display:block!important; flex:0 0 100%!important; width:100%!important; max-width:none!important; max-height:min(75dvh,calc(100dvh - 130px))!important; margin:0!important; padding:8px 14px!important; overflow-y:auto!important; overscroll-behavior:contain; border:0!important; border-radius:0 0 14px 14px!important; background:#fff!important; box-shadow:0 12px 30px rgba(15,23,42,.2)!important; }
}

/* The mobile menu and account bar are shared by every portal theme and header
   layout. Keep this rule independent of hero_overlay so the Menu control stays
   visible on contained headers too. */
/* Consistent desktop navigation: dropdown panels open below their parent and
   nested levels expand in place, avoiding overlapping side-flyouts. */
@media(min-width:992px) {
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item.dropdown { position:relative!important; }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item--overflow-hidden { display:none!important; }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item > .dropdown-menu {
  position:absolute!important; inset-block-start:100%!important; inset-inline-start:0!important; inset-inline-end:auto!important;
  display:none; box-sizing:border-box; width:min(360px,calc(100vw - 32px))!important; min-width:min(300px,calc(100vw - 32px))!important; max-width:calc(100vw - 32px)!important;
  max-height:min(68vh,560px)!important; overflow-x:hidden!important; overflow-y:auto!important; overscroll-behavior:contain;
  margin:0!important; padding:8px!important; border:1px solid #d9e1eb!important; border-top:3px solid var(--primary-color)!important;
  border-radius:0 0 12px 12px!important; background:#fff!important; box-shadow:0 14px 32px rgba(15,23,42,.18)!important;
  animation:none!important; z-index:1105!important;
 }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item > .dropdown-menu.show { display:block!important; }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item.dropdown:has(> .dropdown-menu > .dropdown-submenu) > .dropdown-menu {
  overflow:visible!important; max-height:none!important;
 }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item.dropdown:nth-last-child(-n+4) > .dropdown-menu { inset-inline-start:auto!important; inset-inline-end:0!important; }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu > li { position:relative; width:100%; }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu > li > :is(.dropdown-item,.dropdown-toggle-sub) {
  display:flex!important; align-items:center!important; gap:10px!important; box-sizing:border-box; width:100%!important; min-height:46px!important;
  margin:0!important; padding:10px 12px!important; border:0!important; border-radius:7px!important;
  background:transparent!important; color:#243449!important; font-size:14px!important; font-weight:600!important; line-height:1.4!important;
  text-align:start!important; text-decoration:none!important; white-space:normal!important; box-shadow:none!important; cursor:pointer;
 }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu > li > :is(.dropdown-item,.dropdown-toggle-sub):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:color-mix(in srgb,var(--primary-color) 7%,white)!important; color:var(--primary-color)!important; outline:none;
 }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu > li > :is(.dropdown-item,.dropdown-toggle-sub) > i:first-child { width:18px; flex:0 0 18px; text-align:center; color:var(--primary-color)!important; }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .submenu-child {
  position:absolute!important; inset-block-start:0!important; inset-inline-start:100%!important; inset-inline-end:auto!important;
  display:none!important; box-sizing:border-box; width:min(320px,calc(100vw - 32px))!important; min-width:min(280px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important; max-height:min(60vh,480px)!important; overflow-x:hidden!important; overflow-y:auto!important; overscroll-behavior:contain;
  margin:0!important; padding:8px!important; border:1px solid #d9e1eb!important; border-inline-start:3px solid var(--primary-color)!important;
  border-radius:10px!important; background:#fff!important; box-shadow:0 14px 32px rgba(15,23,42,.2)!important; animation:none!important; z-index:1110!important;
 }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .dropdown-submenu:hover > .submenu-child,
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .dropdown-submenu.show > .submenu-child,
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .dropdown-submenu:focus-within > .submenu-child { display:block!important; }
 body[class*="theme-"] .site-header .custom-navbar .navbar-nav > .nav-item.dropdown:nth-last-child(-n+4) .dropdown-submenu > .submenu-child,
 body[class*="theme-"] .site-header .custom-navbar .nav-more-menu .dropdown-submenu > .submenu-child { inset-inline-start:auto!important; inset-inline-end:100%!important; }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .submenu-child > li > :is(.dropdown-item,.dropdown-toggle-sub) {
  min-height:42px!important; padding:9px 10px!important; font-size:13px!important; font-weight:500!important;
 }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-menu .submenu-child .submenu-child {
  inset-block-start:0!important; margin-inline-start:0!important; background:#f5f7fa!important;
 }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-submenu > .dropdown-toggle-sub .submenu-arrow { margin-inline-start:auto!important; transition:transform .16s ease; }
 body[class*="theme-"] .site-header .custom-navbar .dropdown-submenu.show > .dropdown-toggle-sub .submenu-arrow { transform:rotate(90deg); }
}
@media(max-width:991.98px) {
 body[class*="theme-"] .site-header .site-header-overlay-grid { position:relative!important; left:50%!important; transform:translateX(-50%)!important; width:100vw!important; max-width:none!important; margin:0!important; padding:0!important; }
 body[class*="theme-"] .site-header .custom-navbar { position:relative!important; display:block!important; width:100%!important; min-height:58px!important; margin:0!important; background:var(--frontend-nav-background,var(--primary-color))!important; border:0!important; }
 body[class*="theme-"] .site-header .custom-navbar > .container.classic-shell { position:static!important; display:block!important; width:100%!important; max-width:none!important; height:58px!important; min-height:58px!important; margin:0!important; padding:0!important; background:var(--frontend-nav-background,var(--primary-color))!important; }
 body[class*="theme-"] .site-header .custom-navbar .mobile-auth-links,
 body[class*="theme-"] .site-header .custom-navbar .mobile-toggler { position:absolute!important; top:0!important; display:flex!important; width:50%!important; max-width:50%!important; min-width:0!important; height:58px!important; min-height:58px!important; box-sizing:border-box!important; align-items:center!important; justify-content:center!important; margin:0!important; padding:0 12px!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
 body[class*="theme-"] .site-header .custom-navbar .mobile-auth-links { position:absolute!important; top:0!important; inset-inline-start:0!important; inset-inline-end:auto!important; display:flex!important; width:50%!important; max-width:50%!important; min-width:0!important; height:58px!important; min-height:58px!important; box-sizing:border-box!important; align-items:center!important; justify-content:center!important; margin:0!important; padding:0 12px!important; }
 body[class*="theme-"] .site-header .custom-navbar .mobile-toggler { inset-inline-start:auto!important; inset-inline-end:0!important; color:var(--on-primary,#fff)!important; background:transparent!important; }
 body[class*="theme-"] .site-header .custom-navbar .mobile-toggler .menu-icon { color:inherit!important; }
 body[class*="theme-"] .site-header .custom-navbar .mobile-auth-links .frontend-account-actions,
 body[class*="theme-"] .site-header .custom-navbar .mobile-auth-links .frontend-account-link { display:flex!important; width:100%!important; justify-content:center!important; }
 body[class*="theme-"] .site-header .custom-navbar .navbar-collapse:is(.show,.collapsing) { position:absolute!important; top:100%!important; left:0!important; right:0!important; z-index:1102!important; display:block!important; flex:0 0 100%!important; width:100%!important; max-width:none!important; max-height:min(75dvh,calc(100dvh - 130px))!important; margin:0!important; padding:8px 14px!important; overflow-y:auto!important; overscroll-behavior:contain; border:0!important; border-radius:0 0 14px 14px!important; background:#fff!important; box-shadow:0 12px 30px rgba(15,23,42,.2)!important; }
}

/* Use the same hero-overlay header composition on interior pages. The hero
   fade remains homepage-only; interior headers keep a clean solid surface. */
@media(min-width:992px) {
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header {
  position:relative!important; inset:auto!important; z-index:1030!important; width:100%!important;
  padding:0!important; overflow:visible!important; color:var(--frontend-header-text,var(--text-color))!important;
  background:var(--frontend-header-background,var(--site-background,#fff))!important;
  border:0!important; box-shadow:0 2px 12px rgba(15,23,42,.08)!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header::before { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header > .site-utility {
  position:relative!important; z-index:2; display:block!important; width:100%;
  background:var(--frontend-topbar-background,var(--secondary-color))!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid {
  position:relative!important; z-index:1; display:grid!important; width:100%!important; max-width:none!important;
  margin:0!important; padding-inline:clamp(18px,1.4vw,30px)!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  grid-template-rows:clamp(56px,5.2vw,78px) clamp(48px,4.1vw,62px)!important;
  column-gap:clamp(14px,1.3vw,26px)!important; align-items:stretch!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-branding-zone,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-masthead { display:contents!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .website-header-art { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-brand {
  grid-column:1!important; grid-row:1 / span 2!important; align-self:center!important; justify-self:start!important;
  max-width:min(38vw,620px)!important; min-width:0!important; margin:0!important; padding:0!important;
  gap:clamp(10px,1.3vw,22px)!important; background:transparent!important; border-radius:0!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-brand img {
  max-width:min(34vw,540px)!important; max-height:calc(clamp(56px,5.2vw,78px) + clamp(48px,4.1vw,62px) - 10px)!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-brand .site-wordmark { color:#111827!important; text-shadow:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-header-actions {
  grid-column:2!important; grid-row:1!important; display:flex!important; align-self:stretch!important; align-items:flex-end!important;
  justify-content:flex-end!important; gap:10px!important; min-width:0!important; margin:0!important; padding:0 0 8px 14px!important;
  border:0!important; border-bottom:2px solid #26364a!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-discovery-actions { margin-inline-start:auto!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar {
  grid-column:2!important; grid-row:2!important; display:flex!important; align-items:stretch!important; width:100%!important;
  min-width:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar > .container.classic-shell {
  display:flex!important; justify-content:flex-end!important; align-items:stretch!important; width:100%!important; max-width:none!important;
  min-width:0!important; min-height:0!important; margin:0!important; padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .mobile-toggler,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .mobile-auth-links { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .navbar-collapse {
  display:flex!important; flex:1 1 auto!important; justify-content:flex-end!important; width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .navbar-nav {
  display:flex!important; flex-wrap:nowrap!important; justify-content:flex-end!important; width:min(100%,78vw)!important;
  max-width:100%!important; min-width:0!important; margin:0 0 0 auto!important; gap:0!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item { flex:0 0 auto!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link {
  display:flex!important; align-items:center!important; min-height:100%!important; padding:0 clamp(12px,1.05vw,21px)!important;
  white-space:nowrap!important; font-size:clamp(15px,1vw,20px)!important; font-weight:650!important; color:#111827!important;
  -webkit-text-fill-color:#111827!important; background:transparent!important; text-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar .nav-item + .nav-item::before { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-header-actions :is(.site-button--quiet,#sidebar-toggle,.site-search-launch) {
  background:var(--frontend-header-control-background,rgba(255,255,255,.76))!important; border:1px solid var(--site-border,#cbd5e1)!important;
  color:var(--frontend-header-text,var(--text-color))!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .frontend-account-link {
  background:var(--primary-color)!important; border-color:var(--primary-color)!important; color:var(--on-primary,#fff)!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled {
  position:relative!important; inset:auto!important; z-index:1100!important; width:100%!important;
  background:var(--frontend-header-background,#fff)!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-utility,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-branding-zone,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-header-actions { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-header-overlay-grid { display:block!important; width:100%!important; margin:0!important; padding:0!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar {
  position:fixed!important; inset:0 0 auto!important; z-index:1045!important; display:block!important;
  width:var(--site-width)!important; height:auto!important; min-height:0!important; margin:8px auto!important;
  padding:0!important; background:transparent!important; border:0!important; border-radius:14px!important; box-shadow:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar > .container.classic-shell {
  display:flex!important; align-items:stretch!important; justify-content:flex-start!important; width:var(--site-width)!important; max-width:none!important;
  height:auto!important; min-height:52px!important; margin:0 auto!important; padding:0 12px!important;
  border:1px solid color-mix(in srgb,var(--frontend-nav-background,var(--primary-color)) 22%,white)!important;
  border-radius:14px!important; background:var(--frontend-nav-background,var(--primary-color))!important; box-shadow:0 10px 24px #071a3820!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse {
  display:flex!important; flex:1 1 auto!important; width:100%!important; height:auto!important; min-height:52px!important; justify-content:flex-start!important; overflow-x:auto!important; scrollbar-width:none!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse::-webkit-scrollbar { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar .navbar-nav {
  width:max-content!important; min-width:100%!important; height:auto!important; min-height:52px!important; justify-content:flex-start!important; margin:0!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar .navbar-nav > .nav-item > .nav-link {
  height:auto!important; min-height:52px!important; color:var(--frontend-nav-text,var(--on-primary,#fff))!important; -webkit-text-fill-color:var(--frontend-nav-text,var(--on-primary,#fff))!important;
 }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .nav-more-menu > .nav-item { display:block!important; width:100%!important; border:0!important; border-bottom:1px solid #edf0f4!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .nav-more-item > .nav-more-menu {
  left:auto!important; right:0!important; top:100%!important; min-width:min(300px,90vw)!important; max-height:min(70vh,560px)!important; overflow-y:auto!important;
 }
}
@media(max-width:991.98px) {
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header { position:relative!important; inset:auto!important; width:100%!important; max-width:none!important; margin:0!important; background:var(--frontend-header-background,#fff)!important; box-shadow:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-branding-zone,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-masthead { display:flex!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .site-header-actions { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header-overlay-grid .custom-navbar > .container.classic-shell { position:static!important; display:block!important; width:100%!important; max-width:none!important; height:58px!important; min-height:58px!important; margin:0!important; padding:0!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled { position:relative!important; inset:auto!important; transform:none!important; z-index:1030!important; width:100%!important; max-width:none!important; margin:0!important; background:var(--frontend-header-background,#fff)!important; box-shadow:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled::before,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled > .site-utility,
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-branding-zone { display:none!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .site-header-overlay-grid { left:auto!important; transform:none!important; display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar { position:fixed!important; inset:0 0 auto!important; z-index:1045!important; display:flex!important; width:100%!important; height:70px!important; min-height:70px!important; margin:0!important; background:#fff!important; border:0!important; border-bottom:1px solid var(--site-border)!important; box-shadow:0 5px 18px rgba(7,20,37,.16)!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar > .container.classic-shell { display:flex!important; flex-flow:row nowrap!important; justify-content:space-between!important; align-items:center!important; width:100%!important; min-height:58px!important; margin:0!important; padding:0!important; background:var(--frontend-nav-background,var(--primary-color))!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar :is(.mobile-auth-links,.mobile-toggler) { display:flex!important; width:50%!important; min-width:0!important; min-height:58px!important; justify-content:center!important; margin:0!important; padding-inline:12px!important; }
 body[data-frontend-header-layout="hero_overlay"]:not([data-page="home"]) .site-header.site-header--hero-scrolled .custom-navbar .navbar-collapse:is(.show,.collapsing) { position:absolute!important; top:100%!important; left:0!important; right:0!important; z-index:1102!important; display:block!important; width:100%!important; max-height:min(75dvh,calc(100dvh - 130px))!important; margin:0!important; padding:8px 14px!important; overflow-y:auto!important; border:0!important; border-radius:0 0 14px 14px!important; background:#fff!important; box-shadow:0 12px 30px rgba(15,23,42,.2)!important; }
}

/* The scrolled hero nav uses the contained Unica-style pill, while its open
   dropdowns are promoted to the viewport by the navbar controller so the
   horizontal nav scroller cannot clip them. */
@media(min-width:992px) {
 body[data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .navbar-nav > .nav-item > .dropdown-menu.show {
  z-index:1200!important; max-height:min(68vh,560px)!important; overflow-y:auto!important;
 }
 body[data-frontend-header-layout="hero_overlay"] .site-header.site-header--hero-scrolled .custom-navbar .dropdown-menu .submenu-child {
  z-index:1210!important; max-height:min(60vh,480px)!important; overflow-y:auto!important;
 }
}

/* Keep the far-right dashboard/login action visibly accented in desktop headers. */
@media(min-width:992px) {
 body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions > .frontend-account-link {
  background:var(--primary-color)!important; border-color:var(--primary-color)!important;
  color:var(--on-primary,#fff)!important; box-shadow:0 3px 9px color-mix(in srgb,var(--primary-color) 24%,transparent)!important;
 }
 body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions > .frontend-account-link:hover {
  background:color-mix(in srgb,var(--primary-color) 88%,#000)!important;
  border-color:color-mix(in srgb,var(--primary-color) 88%,#000)!important; color:var(--on-primary,#fff)!important;
 }
}

/* Hero-overlay navigation follows the live dashboard colour controls. */
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar,
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar > .container.classic-shell,
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header.site-header--hero-scrolled .site-header-overlay-grid .custom-navbar,
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header.site-header--hero-scrolled .site-header-overlay-grid .custom-navbar > .container.classic-shell {
 background:var(--frontend-nav-background,var(--primary-color))!important;
}
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link,
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header.site-header--hero-scrolled .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link {
 font-size:var(--frontend-nav-font-size,clamp(15px,1vw,20px))!important;
 font-weight:var(--frontend-nav-font-weight,650)!important;
 color:var(--frontend-nav-text,var(--on-primary,#fff))!important;
 -webkit-text-fill-color:var(--frontend-nav-text,var(--on-primary,#fff))!important;
}
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link:is(:hover,:focus-visible,.active,.section-active),
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header.site-header--hero-scrolled .site-header-overlay-grid .custom-navbar .navbar-nav > .nav-item > .nav-link:is(:hover,:focus-visible,.active,.section-active) {
 color:var(--frontend-nav-active,var(--accent-color))!important;
 -webkit-text-fill-color:var(--frontend-nav-active,var(--accent-color))!important;
}
body[data-frontend-header-layout="hero_overlay"][data-page] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-brand .site-wordmark {
 color:var(--frontend-header-link,var(--primary-color))!important;
}
@media(min-width:992px) {
 body[class*="theme-"] :is(header,nav,.top-header) .frontend-account-actions > .frontend-account-link,
 body[data-frontend-header-layout="hero_overlay"] .site-header .site-header-actions .frontend-account-actions > .frontend-account-link {
  background:var(--primary-color)!important; border-color:var(--primary-color)!important;
  color:var(--on-primary,#fff)!important; -webkit-text-fill-color:var(--on-primary,#fff)!important;
 }
}

/* Explicitly preserve the primary surface on the desktop account action even
   in header variants that style all anchors as quiet white controls. */
@media(min-width:992px) {
 body[data-frontend-header-layout="hero_overlay"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link,
 body[data-frontend-header-layout="hero_overlay"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link:hover,
 body[class*="theme-"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link,
 body[class*="theme-"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link:hover {
  background:var(--primary-color)!important; background-color:var(--primary-color)!important;
  border-color:var(--primary-color)!important; color:var(--on-primary,#fff)!important;
  -webkit-text-fill-color:var(--on-primary,#fff)!important;
 }
}

/* Compact contained Unica masthead without overriding dashboard logo sizes. */
@media(min-width:992px) {
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-masthead {
  min-height:0!important;
  padding-block:4px!important;
  gap:16px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle),
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-compact-account) {
  height:48px!important;
  min-height:48px!important;
  padding-block:6px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .custom-navbar {
  padding-block:4px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .custom-navbar .container.classic-shell {
  min-height:52px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .custom-navbar .navbar-nav > .nav-item > .nav-link {
  min-height:52px!important;
  padding-block:13px!important;
 }
}

/* Contained Unica: keep the masthead controls light and independent, and let
   navigation hover communicate through colour without drawing a focus box. */
@media(min-width:992px) {
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions {
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle),
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-account-style) {
  height:52px!important;
  min-height:52px!important;
  gap:10px!important;
  padding:8px 16px 8px 10px!important;
  border:1px solid color-mix(in srgb,var(--secondary-color) 18%,#d7dee8)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--secondary-color) 2.5%,#fff) 100%)!important;
  color:var(--secondary-color)!important;
  -webkit-text-fill-color:var(--secondary-color)!important;
  font-size:15px!important;
  font-weight:650!important;
  letter-spacing:.005em!important;
  box-shadow:0 3px 9px rgb(7 26 56 / 7%)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-account-style) {
  background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--primary-color) 4%,#fff) 100%)!important;
  border-color:color-mix(in srgb,var(--primary-color) 30%,#d7dee8)!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle) > i:first-child,
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-account-style) > i:first-child {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  margin:0!important;
  border-radius:9px!important;
  background:color-mix(in srgb,var(--primary-color) 9%,#fff)!important;
  color:var(--primary-color)!important;
  -webkit-text-fill-color:var(--primary-color)!important;
  font-size:14px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle):hover,
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-account-style):hover {
  background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--primary-color) 7%,#fff) 100%)!important;
  border-color:color-mix(in srgb,var(--primary-color) 46%,#d7dee8)!important;
  color:var(--primary-color)!important;
  -webkit-text-fill-color:var(--primary-color)!important;
  box-shadow:0 7px 16px rgb(7 26 56 / 12%)!important;
  transform:translateY(-1px)!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle):focus-visible,
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-account-style):focus-visible {
  outline:3px solid color-mix(in srgb,var(--accent-color) 58%,transparent)!important;
  outline-offset:3px!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .custom-navbar .navbar-nav > .nav-item > .nav-link:is(:hover,:focus,:focus-visible,[aria-expanded="true"]) {
  background:transparent!important;
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
  color:var(--frontend-nav-active,var(--accent-color))!important;
  -webkit-text-fill-color:var(--frontend-nav-active,var(--accent-color))!important;
 }
}

/* Keep the hero masthead actions on one baseline.  The accreditation mark owns
   the flexible space between the identity and controls, so it cannot collide
   with the buttons at narrower desktop widths. */
@media(min-width:992px) {
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:end!important;
  column-gap:14px!important;
  padding:0 0 10px 22px!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions > .frontend-naac-badge {
  position:static!important;
  inset:auto!important;
  transform:none!important;
  justify-self:center!important;
  align-self:end!important;
  min-width:max-content!important;
  min-height:48px!important;
  margin:0 clamp(18px,2.2vw,42px) 0 0!important;
  padding:0!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions > .frontend-naac-badge img {
  width:48px!important;
  height:48px!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions > .frontend-naac-badge > span {
  font-size:16px!important;
  line-height:1.25!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions > :is(.site-discovery-actions,.frontend-account-actions) {
  align-self:end!important;
  margin:0!important;
 }
 body[class*="theme-"] .site-header .site-header-actions .site-discovery-actions {
  gap:12px!important;
 }
 body[class*="theme-"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle),
 body[class*="theme-"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:48px!important;
  min-height:48px!important;
  padding-inline:18px!important;
  border-radius:10px!important;
  line-height:1!important;
 }
 body[class*="theme-"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle) {
  background:var(--frontend-header-control-background,#fff)!important;
  border-color:color-mix(in srgb,var(--primary-color) 25%,#cbd5e1)!important;
  box-shadow:0 2px 7px rgb(15 23 42 / 8%)!important;
 }
 body[class*="theme-"] :is(header,.modern-nav,.top-header) .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-account-height-anchor) {
  height:48px!important;
  min-height:48px!important;
  padding-block:0!important;
  line-height:1!important;
 }

 /* An open desktop dropdown uses only the configured hover colour. */
 body[data-frontend-header-layout="hero_overlay"] .site-header .custom-navbar .navbar-nav > .nav-item > .nav-link:is(:hover,:focus,:focus-visible,[aria-expanded="true"]) {
  background:transparent!important;
  border-color:transparent!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
 }
}

/* Clearer desktop header actions with enough separation from accreditation. */
@media(min-width:992px) {
 body[class*="theme-"] .site-header .site-header-actions {
  gap:14px!important;
 }
 body[class*="theme-"] .site-header .site-discovery-actions {
  display:flex!important; align-items:center!important; gap:10px!important;
 }
 body[class*="theme-"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle) {
  min-height:48px!important; padding-inline:16px!important;
  border:1px solid color-mix(in srgb,var(--primary-color) 34%,#fff)!important;
  background:color-mix(in srgb,var(--primary-color) 6%,#fff)!important;
  color:var(--frontend-header-text,var(--text-color))!important;
  box-shadow:0 3px 10px color-mix(in srgb,var(--primary-color) 12%,transparent)!important;
 }
 body[class*="theme-"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle):hover {
  border-color:color-mix(in srgb,var(--primary-color) 58%,#fff)!important;
  background:color-mix(in srgb,var(--primary-color) 12%,#fff)!important;
  color:var(--primary-color)!important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--primary-color) 18%,transparent)!important;
 }
 body[class*="theme-"] .site-header .site-header-actions .frontend-account-actions > a.frontend-account-link {
  height:48px!important; min-height:48px!important; padding-inline:18px!important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--primary-color) 28%,transparent)!important;
 }
body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header-overlay-grid .site-header-actions > .frontend-naac-badge {
  min-width:max-content!important; padding-inline:20px!important;
 }
}

@media(min-width:992px) {
 body[class*="theme-"] .site-header .site-header-actions .site-discovery-actions { gap:12px!important; }
 body[class*="theme-"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle) {
  height:48px!important;
  padding-inline:18px!important;
  border-color:color-mix(in srgb,var(--primary-color) 25%,#cbd5e1)!important;
  background:var(--frontend-header-control-background,#fff)!important;
  box-shadow:0 2px 7px rgb(15 23 42 / 8%)!important;
 }
 body[data-page="home"][data-frontend-header-layout="hero_overlay"] .site-header:not(.site-header--hero-scrolled) .site-header-overlay-grid .site-header-actions > .frontend-naac-badge {
  padding-inline:0!important;
 }
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions :is(.site-search-launch,#sidebar-toggle),
 body.theme-unica[data-frontend-header-layout="contained"] .site-header .site-header-actions .frontend-account-actions > :is(a.frontend-account-link,#cms-unica-final-compact-account) {
  height:48px!important;
  min-height:48px!important;
  padding-block:6px!important;
 }
}
