/* Shared by the landing page and all public information pages. */
.mw-public-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #d9e2ee;
    color: #10233f;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.mw-public-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mw-public-header__brand {
    display: block;
}

.mw-public-header__brand img {
    height: 40px;
    width: auto;
    max-width: 100%;
    display: block;
}

.mw-public-header__nav {
    display: flex;
    align-items: center;
    gap: 4px 20px;
    flex-wrap: wrap;
}

.mw-public-header__nav a {
    text-decoration: none;
    color: #10233f;
    font-weight: 500;
    padding: 6px 0;
}

.mw-public-header__nav a.mw-public-header__cta {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #0056bd;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.mw-public-header__nav a.mw-public-header__cta:hover {
    background: #003f8a;
}

.mw-public-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d9e2ee;
    border-radius: 8px;
    background: #fff;
    color: #10233f;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.mw-public-header__close-icon,
.mw-public-header__toggle[aria-expanded="true"] .mw-public-header__menu-icon {
    display: none;
}

.mw-public-header__toggle[aria-expanded="true"] .mw-public-header__close-icon {
    display: block;
}

.mw-public-header a:focus-visible,
.mw-public-header button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 760px) {
    .mw-public-header__inner {
        gap: 0 16px;
    }

    .mw-public-header--enhanced .mw-public-header__toggle {
        display: inline-flex;
        margin: 12px 0;
    }

    .mw-public-header__nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 0 16px;
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
    }

    .mw-public-header--enhanced .mw-public-header__nav {
        display: none;
    }

    .mw-public-header__toggle[aria-expanded="true"] + .mw-public-header__nav {
        display: flex;
    }

    .mw-public-header__nav a {
        padding: 10px 12px;
        min-height: 44px;
        border-radius: 6px;
    }

    .mw-public-header__nav a:hover {
        background: #e8f1fc;
    }
}
