#header {
    position: relative;
    z-index: 2;
    min-height: var(--masthead-height);
    padding: clamp(28px, 3.24vw, 56px) var(--page-gutter) 0;
    background: var(--secondary);
    color: #fff;
}

#header #navbar-main {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: transparent;
}

#navbar-main .navbar-brand {
    order: 2;
    margin: clamp(16px, 2.55vw, 44px) 0 0;
    padding: 0;
    color: inherit;
    font-family: var(--font-display);
    font-size: 8.65cqi;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    text-decoration: none;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

#CollapsingNavbar {
    display: flex;
    flex-basis: auto;
    justify-content: flex-start !important;
}

#navbar-main .navbar-toggler {
    display: none;
}

#navbar-main .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px clamp(24px, 4.05vw, 70px);
}

#navbar-main .nav-link {
    padding: 0;
    color: inherit;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
}

#header a:hover {
    color: var(--primary);
}

#header .navbar-brand:hover {
    color: inherit;
}

#header a:focus-visible {
    outline: 2px solid var(--tertiary);
    outline-offset: 5px;
}

@media (max-width: 767px) {
    #navbar-main .navbar-nav {
        gap: 16px 24px;
    }
}
