/* UNIDA-CANONICAL-PUBLIC-NAVIGATION-V1 */
.unida-public-header {
    position: relative;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(7, 94, 172, 0.16);
    background: color-mix(in srgb, var(--bg, #f3faf7) 92%, transparent);
    backdrop-filter: blur(18px);
}

.unida-public-nav-wrap {
    width: min(calc(100% - 48px), 1440px);
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.unida-public-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink, #071a2f);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.015em;
}

.unida-public-brand img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.unida-public-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.5vw, 22px);
}

.unida-public-links > a:not(.unida-nav-cta) {
    color: var(--ink, #071a2f);
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.unida-public-links > a:not(.unida-nav-cta):hover,
.unida-public-links > a:not(.unida-nav-cta):focus-visible {
    color: var(--brand, #075eac);
}

.unida-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--brand, #075eac);
    border-radius: 10px;
    color: #fff;
    background: var(--brand, #075eac);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.unida-public-links .theme-toggle,
.unida-public-links .tog {
    flex: 0 0 auto;
}

html[data-theme="dark"] .unida-public-header {
    border-color: rgba(103, 174, 224, 0.20);
    background: rgba(4, 17, 30, 0.90);
}

html[data-theme="dark"] .unida-public-brand,
html[data-theme="dark"] .unida-public-links > a:not(.unida-nav-cta) {
    color: #e8f2fa;
}

@media (max-width: 1050px) {
    .unida-public-nav-wrap {
        width: min(calc(100% - 32px), 960px);
        padding-block: 12px;
        align-items: flex-start;
    }

    .unida-public-links {
        flex-wrap: wrap;
        row-gap: 10px;
    }
}

@media (max-width: 760px) {
    .unida-public-nav-wrap {
        width: min(calc(100% - 24px), 720px);
        flex-direction: column;
        gap: 12px;
    }

    .unida-public-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .unida-public-links > a,
    .unida-public-links > button,
    .unida-public-links > select {
        flex: 0 0 auto;
    }
}

/* UNIDA-LOGO-PRESENCE-V6 */
.brand-logo,
.brand img,
.nav-brand img {
    display: block;
    width: 52px;
    height: 52px;
    max-width: none;
    flex: 0 0 52px;
    object-fit: contain;
    object-position: center;
}

.brand,
.nav-brand {
    gap: 12px;
    min-width: max-content;
}

@media (max-width: 760px) {
    .brand-logo,
    .brand img,
    .nav-brand img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .brand,
    .nav-brand {
        gap: 9px;
    }
}
/* END UNIDA-LOGO-PRESENCE-V6 */