/* Shared public header: independent of page styles and both legacy layouts. */
:root {
    --site-header-height: 72px;
}
.site-header-shell {
    position: relative;
}
.site-header.header {
    position: relative;
    z-index: 1020;
    inset: auto;
    width: 100%;
    padding: 0;
    background: #fff !important;
    border-bottom: 1px solid #edf0f4;
    transition: box-shadow .2s ease;
}
.site-header.header.is-fixed {
    position: fixed;
    inset: 0 0 auto;
    box-shadow: 0 4px 20px rgb(30 52 82 / 9%);
}
.site-header .site-header-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 72px;
    gap: 24px;
    position: relative;
    margin: 0;
}
.site-header > .container,
.site-header .header-top > .container {
    width: 100%;
    max-width: 1440px;
    padding-inline: 24px;
}
.site-header .logo-header,
.site-header .h-logo {
    width: 42px;
    height: 42px;
    padding: 0;
    flex: 0 0 42px;
}
.site-header .h-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.site-header .site-header-nav {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 0;
    transition: none;
}
.site-header .navbar-main,
.site-header .header-bottom .navbar {
    position: static;
    padding: 0;
    background: transparent;
}
.site-header .site-header-nav-inner {
    width: 100%;
}
.site-header .navbar-collapse {
    justify-content: flex-start;
}
.site-header .navbar-nav {
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    gap: clamp(16px, 1.9vw, 28px);
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.site-header .main-menu {
    margin: 0;
    padding: 0;
}
.site-header .site-header-links {
    gap: clamp(16px, 1.9vw, 28px);
}
.site-header li.nav-item {
    padding: 0;
    font-size: 15px;
}
.site-header .nav-item-badge,
.site-header .nav-item-scout {
    margin: 0;
}
.site-header .dropdown-toggle,
.site-header li.nav-item .link-single {
    line-height: 72px;
    height: 72px !important;
}
.site-header .dropdown-toggle {
    border: 0;
    background: transparent;
    font: inherit;
    position: relative;
    padding-inline-end: 0;
}
.site-header .dropdown-toggle::after {
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 0;
    padding: 0;
}
.site-header .navbar-nav .btn {
    padding: 7px 10px !important;
    font-size: 13px;
    border-radius: 8px;
}
.site-header .mega-holder {
    top: 100%;
    z-index: 10;
}
.site-header .login-membership,
.site-header .panel,
.site-header .h-account {
    flex: 0 0 auto !important;
    width: auto;
    gap: 6px !important;
    padding: 0;
    margin: 0 !important;
}
.site-header .login-membership .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 36px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
}
.site-header .login-membership .btn i {
    font-size: 17px;
}
.site-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f2f5f8;
    color: #345686;
    cursor: pointer;
}
.site-header-icon:hover,
.site-header-icon[aria-expanded="true"] {
    background: #e5ecf4;
}
.site-header :is(a, button, input):focus-visible {
    outline: 2px solid #345686;
    outline-offset: 3px;
}
.site-header .site-header-icon svg {
    width: 20px;
    height: 20px;
}
/* Search stays visible and keyboard accessible in the header row. */
.site-header-search {flex:1 1 190px;min-width:0;max-width:240px}
.site-header-search-form {display:flex;align-items:center;width:100%;gap:0;margin:0;padding:3px;border:1px solid #e2e8f0;border-radius:11px;background:#f5f7fa}
.site-header .site-header-search-form input {flex:1;min-width:0;width:100%;height:34px;padding:6px 8px;border:0;background:transparent;color:#1b262c;font:inherit;font-size:12px;box-shadow:none}
.site-header-search-submit {display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:#345686;color:#fff;cursor:pointer}
.site-header-search-submit:hover {background:#263f63}
.site-header-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.site-header-shell ~ .main-body,
.site-header-shell ~ #main-page {
    margin-top: 0 !important;
}
/* Legacy public pages retain their account menu and mobile navigation. */
.site-header .header-top,
.site-header .header-bottom {
    position: static;
    inset: auto;
    width: auto;
    padding: 0;
    margin: 0;
    background: transparent;
    transform: none;
    height: auto;
}
.site-header .header-bottom > .container {
    max-width: none;
    padding: 0;
}
.site-header .h-nav {
    column-gap: clamp(16px, 1.9vw, 28px);
}
.site-header .h-nav > .nav-link {
    padding: 12px 4px !important;
    font-size: 14px !important;
}
.site-header .h-login-signup {
    gap: 6px;
}
.site-header .h-login-signup a {
    padding: 7px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.site-header .site-header-mobile-toggle {
    display: none;
    order: 5;
}
@media (min-width: 1200px) {
    .site-header .navbar-collapse {
        display: flex !important;
    }
    .site-header .navbar-toggler {
        display: none;
    }
}
@media (max-width: 1199.98px) {
    .site-header .site-header-row {
        gap: 10px;
    }
    .site-header .site-header-nav {
        display: none;
    }
    .site-header .navbar-toggler,
    .site-header .site-header-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        padding: 0;
        margin: 0;
        border-radius: 8px;
        background: #f2f5f8;
        color: #345686;
    }
    .site-header .site-header-mobile-toggle button {
        padding: 4px;
        border: 0;
        background: transparent;
    }
}
@media (max-width: 575.98px) {
    .site-header > .container,
    .site-header .header-top > .container {
        padding-inline: 14px;
    }
    .site-header .site-header-row {
        min-height: 60px;
        gap: 8px;
    }
    .site-header .login-membership .btn {
        width: 34px;
        height: 34px;
        padding: 5px;
    }
    .site-header .login-membership .btn span {
        display: none;
    }
    .site-header .child-profile-user,
    .site-header .child-cart-user {
        right: auto;
        inset-inline-end: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header-search-form {
        transition: none;
    }
}

.seolab-site #mask {
    z-index: 1010;
}

.site-header .site-header-auth-tools {
    flex: 0 0 auto;
}
.site-header .site-header-auth-tools .btn {
    min-height: 36px;
    padding: 6px 8px;
    margin: 0 !important;
    font-size: 13px;
    border-radius: 8px;
}
.site-header:has(.modal.show) {
    z-index: 1060;
}
@media (max-width: 575.98px) {
    .site-header .site-header-auth-tools .badge {
        display: none;
    }
}
/* Bootstrap's bundled JS and RTL CSS use different offcanvas visibility rules. */
.seolab-site #offcanvas.show,
.seolab-site #offcanvas.showing {
    visibility: visible;
}
/* The legacy core resets container padding with !important. */
.site-header-legacy .header-top > .container {
    padding-inline: 24px !important;
}
@media (max-width: 575.98px) {
    .site-header-legacy .header-top > .container {
        padding-inline: 14px !important;
    }
}

/* Equal, plain menu links and restrained account icons. */
.site-header .main-menu > .nav-item > :is(a, button) {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    color: #334155;
}
.site-header .main-menu > .nav-item > :is(a, button):hover {
    color: #345686;
}
.site-header .site-header-account-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}
.site-header .site-header-account-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: transparent;
    color: #475569;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
}
.site-header .site-header-account-icon:hover {
    background: #f3f6fa;
    color: #345686;
}
.site-header .site-header-account-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 575.98px) {
    .site-header .site-header-account-actions {
        gap: 4px;
    }
    .site-header .site-header-account-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

/* Shared navigation data is rendered by both public layouts. */
.site-navigation > .site-header-links {
    display: flex;
    flex-direction: row;
    list-style: none;
}
.site-navigation .site-header-links > .nav-item > :is(a, button) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 72px;
    margin: 0;
    padding-block: 0;
    background: transparent;
    border: 0;
    line-height: 1.6;
}
.site-navigation .site-header-links > .nav-item > a {
    padding-inline: 0;
}
.site-menu-icon {
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    vertical-align: middle;
}
/* Submenu accents follow the blue, green, gold and red site palette. */
.site-menu-icon {
    color: #345686;
}
.site-menu-icon--course,
.site-menu-icon--book,
.site-menu-icon--keyword,
.site-menu-icon--framework,
.site-menu-icon--jobs {
    color: #345686;
}
.site-menu-icon--growth,
.site-menu-icon--ebook,
.site-menu-icon--radar,
.site-menu-icon--rank,
.site-menu-icon--clients {
    color: #66a182;
}
.site-menu-icon--classroom,
.site-menu-icon--scout,
.site-menu-icon--article,
.site-menu-icon--process {
    color: #f7be1b;
}
.site-menu-icon--calendar,
.site-menu-icon--faq,
.site-menu-icon--contact {
    color: #a52422;
}
.site-menu-icon--web,
.site-menu-icon--route,
.site-menu-icon--extension,
.site-menu-icon--about {
    color: #7197c9;
}
.site-navigation .mega-holder {
    position: absolute;
    top: 100%;
    max-width: 340px;
    min-width: 0;
    padding: 0;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(30 52 82 / 14%);
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
}
.site-navigation .mega-holder.show {
    visibility: visible;
    opacity: 1;
}
.site-navigation .dropdown-box {
    display: none;
    position: static;
    margin: 0;
    padding: 10px;
}
.site-navigation .dropdown-box.active {
    display: block;
}
.site-submenu-list,
.site-mobile-menu-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-submenu-list > li,
.site-mobile-menu-list > li {
    display: block;
    padding: 0;
    margin: 0;
}
.site-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    border-radius: 9px;
    white-space: normal;
}
.site-menu-link:hover {
    background: #f2f6fb;
    color: #234c86;
}
.site-menu-copy {
    display: block;
    min-width: 0;
}
.site-menu-copy small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #52677f;
}
.site-menu-link.site-menu-featured {
    margin-block: 3px 8px;
    font-weight: 700;
    border: 1px solid #d9e5f5;
    background: #edf4ff;
    color: #254f8c;
}
.site-menu-link.site-menu-featured--radar {
    border-color: #c4e9e3;
    background: #eaf8f5;
    color: #146f62;
}
.site-menu-link.site-menu-featured:hover {
    filter: brightness(.97);
}
.site-menu-featured .site-menu-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
}
.site-mobile-navigation {
    padding-block: 8px 24px;
    width: 100%;
    text-align: right;
}
.site-mobile-menu-group {
    border-bottom: 1px solid #edf0f4;
}
.site-mobile-menu-group > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    list-style: none;
    cursor: pointer;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
}
.site-mobile-menu-group > summary::-webkit-details-marker {
    display: none;
}
.site-mobile-menu-group > summary::after {
    content: none;
    display: none;
}
.site-mobile-menu-group > .site-submenu-list {
    padding: 0 8px 10px;
}
.site-mobile-navigation :is(a, summary):focus-visible {
    outline: 2px solid #345686;
    outline-offset: -2px;
}
.site-header-legacy .site-navigation .main-menu {
    gap: clamp(16px, 1.9vw, 28px);
}
/* Older core styles position .main-menu absolutely; keep it in the header row. */
.site-header .site-navigation > .main-menu {
    position: static;
    inset: auto;
    width: 100% !important;
    height: auto;
    overflow: visible;
    background: transparent;
}
.site-navigation .dropdown-toggle::after {
    content: none !important;
    display: none !important;
}


/* Start navigation beside the logo; keep search and account controls at the far end. */
.site-header .site-header-row {display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:20px}
.site-header .site-header-row > :is(.logo-header,.h-logo) {width:100%;height:auto;min-width:42px;justify-self:start}
.site-header .logo-header > a {display:inline-flex}
.site-header .site-header-row > .logo-header img {width:42px;height:42px;object-fit:contain}
.site-header .site-header-actions {display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;width:100%}
.site-header .site-header-nav {min-width:0}
.site-header .site-menu-icon--scout {object-fit:contain}
@media(min-width:1200px) and (max-width:1399.98px) {
 .site-header .site-header-row {gap:16px}
 .site-header .site-header-links,.site-header-legacy .site-navigation .main-menu {gap:18px}
 .site-header .site-header-actions {gap:6px}
}
@media(max-width:1199.98px) {
 .site-header .site-header-row {grid-template-columns:42px minmax(0,1fr);gap:14px}
 .site-header .site-header-actions {gap:8px}
 .site-header .site-header-search {max-width:360px;flex:1 1 120px}
}
@media(max-width:575.98px) {
 .site-header .site-header-row {gap:10px}
 .site-header .site-header-actions {gap:5px}
 .site-header .site-header-search {flex-basis:80px}
 .site-header .site-header-search-form input {font-size:11px;padding-inline:5px}
 .site-header .site-header-search-submit {flex-basis:28px;width:28px;height:30px}
 .site-header .site-header-account-actions {gap:0}
 .site-header .site-header-account-icon {width:30px;height:34px;flex-basis:30px}
 .site-header .site-header-mobile-toggle,.site-header .navbar-toggler {width:30px;flex-basis:30px}
}
