.gov-banner {
    background: #f7f7f7;
    border-bottom: 1px solid #dfe1e2;
    color: #1b1b1b;
    font-family: Inter, Arial, sans-serif;
    font-size: 0.86rem;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 30;
}

.gov-banner__bar {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    min-height: 32px;
    padding: 0.25rem clamp(1rem, 4vw, 4rem);
}

.gov-banner__flag {
    font-size: 1rem;
    line-height: 1;
}

.gov-banner__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #1a5a96;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 0.15rem;
    padding: 0;
    text-decoration: underline;
}

.gov-banner__toggle:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.gov-banner__toggle i {
    font-size: 1rem;
    text-decoration: none;
    transition: transform 160ms ease;
}

.gov-banner.is-open .gov-banner__toggle i {
    transform: rotate(180deg);
}

.gov-banner__details {
    background: #ffffff;
    border-bottom: 3px solid #f9c642;
    display: grid;
    gap: clamp(1rem, 4vw, 4rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.45rem clamp(1rem, 4vw, 4rem) 1.75rem;
}

.gov-banner__details[hidden] {
    display: none;
}

.gov-banner__item {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
    max-width: 620px;
}

.gov-banner__icon {
    align-items: center;
    border: 1px solid #1a73e8;
    border-radius: 50%;
    color: #1a73e8;
    display: inline-flex;
    flex: 0 0 52px;
    font-size: 1.3rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.gov-banner__icon--secure {
    border-color: #6b9b2e;
    color: #6b9b2e;
}

.gov-banner__item p {
    line-height: 1.45;
    margin: 0;
}

.gov-banner__item strong {
    display: block;
    font-size: 1rem;
}

.site-header {
    top: 32px !important;
}

.site-header {
    backdrop-filter: blur(14px);
}

@media (max-width: 1120px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .site-header {
        align-items: center;
        box-shadow: 0 12px 30px rgba(4, 10, 24, 0.22);
        gap: 0.75rem;
        padding: 0.65rem 1rem;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand img {
        max-height: 50px;
        max-width: 128px;
    }

    .nav-toggle {
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.28);
        cursor: pointer;
        display: inline-flex;
        flex: 0 0 auto;
        justify-content: center;
        line-height: 1;
    }

    .site-nav {
        align-items: stretch;
        background: linear-gradient(180deg, #101d3d 0%, #0b142d 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 48px rgba(4, 10, 24, 0.38);
        display: none;
        flex-direction: column;
        gap: 0.35rem;
        left: 0;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.85rem 1rem 1rem;
        position: absolute;
        right: 0;
        top: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .site-nav a,
    .nav-link {
        align-items: center;
        border-radius: 7px;
        display: flex;
        font-size: 0.94rem;
        justify-content: space-between;
        min-height: 44px;
        padding: 0.75rem 0.85rem;
        text-align: left;
        width: 100%;
    }

    .site-nav a:hover,
    .site-nav a:focus,
    .site-nav a.is-active,
    .nav-item.is-active > .nav-link,
    .nav-item.is-expanded > .nav-link {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .site-nav a.is-active {
        border-left: 3px solid #c12033;
        padding-left: calc(0.85rem - 3px);
    }

    .nav-link {
        cursor: pointer;
    }

    .nav-link i {
        font-size: 1.1rem;
        transition: transform 160ms ease;
    }

    .nav-dropdown {
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 7px;
        box-shadow: none;
        display: none;
        margin: 0.15rem 0 0.35rem;
        min-width: 0;
        padding: 0.35rem 0.4rem;
        position: static;
        width: 100%;
    }

    .nav-item:focus-within .nav-dropdown {
        display: none;
    }

    .nav-item.is-expanded .nav-dropdown {
        display: grid;
    }

    .nav-item.is-expanded .nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown a {
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.88rem;
        min-height: 40px;
        padding: 0.65rem 0.85rem 0.65rem 1rem;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .site-nav {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

@media (max-width: 720px) {
    .gov-banner {
        font-size: 0.78rem;
    }

    .gov-banner__bar {
        align-items: flex-start;
        flex-wrap: wrap;
        line-height: 1.35;
        min-height: 42px;
        padding: 0.35rem 1rem;
    }

    .gov-banner__details {
        gap: 1rem;
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .gov-banner__icon {
        flex-basis: 42px;
        font-size: 1rem;
        height: 42px;
        width: 42px;
    }

    .site-header {
        top: 42px !important;
    }
}
