/* Shared visual language; page-specific hero positioning remains independent. */
html body #masthead.site-header {
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}
html body #masthead :is(.ast-primary-header-bar,.main-header-bar,.main-header-bar-wrap) {
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}
html body #masthead .custom-logo-link img { width: 200px; max-width: 100%; height: auto; }
/* Solid white backing keeps navigation readable while remaining flush with the hero. */
html body #masthead :is(#ast-desktop-header, #ast-mobile-header) .ast-primary-header-bar {
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
html body #masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    letter-spacing: .012em !important;
    color: #07375f !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    padding-right: 14px;
    padding-left: 14px;
}
html body #masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
html body #masthead #ast-desktop-header .main-header-menu > .current-menu-item > .menu-link {
    color: #005f96 !important;
}
html body #masthead .menu-link:focus-visible { outline: 2px solid #009fbd; outline-offset: -4px; }
@media(min-width:922px) {
    html body #masthead #ast-desktop-header .ast-builder-grid-row { grid-template-columns: auto minmax(0,1fr); column-gap: 36px; min-height: 96px; }
    html body #masthead #ast-desktop-header .site-header-primary-section-right {
        position: static !important;
        right: auto !important;
        justify-content: flex-start !important;
    }
    html body #masthead #ast-desktop-header .site-header-primary-section-right .ast-builder-menu { padding: 0; }
    html body #masthead #ast-desktop-header .site-header-primary-section-right .main-header-menu { justify-content: flex-start; }
    html body #masthead #ast-desktop-header .ast-builder-grid-row-container-inner { max-width: 1200px; margin: 0 auto; }
}
@media(min-width:922px) and (max-width:1150px) {
    html body #masthead #ast-desktop-header .ast-builder-grid-row { column-gap: 20px; }
    html body #masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding-left: 8px; padding-right: 8px; font-size: 12px !important; }
    html body #masthead .custom-logo-link img { width: 180px; }
}
@media(max-width:921px) {
    html body #masthead #ast-mobile-header .menu-link { color: #07375f; font-size: 14px; font-weight: 650; letter-spacing: .012em; }
    html body #masthead #ast-mobile-header .ast-mobile-header-content { background: #fff; }
    html body #masthead #ast-mobile-header .menu-toggle { color: #005f96; }
}
