.bigsun-site-header-navigation {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
}

.bigsun-site-header-navigation {
    pointer-events: none;
}

.bigsun-site-header-navigation a,
.bigsun-site-header-navigation button {
    pointer-events: auto;
}

.bigsun-site-header-navigation__mask {
    display: block;
    flex: none;
    background-color: var(--color-primary);
    -webkit-mask-image: var(--bigsun-mask);
    mask-image: var(--bigsun-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.bigsun-site-header-navigation__mask:hover,
.bigsun-site-header-navigation__mask:focus-visible {
    background-color: var(--bigsun-hover-color, var(--color-secondary));
}

.bigsun-site-header-navigation--smooth .bigsun-site-header-navigation__mask {
    transition: background-color 200ms ease;
}

.bigsun-site-header-navigation--hard .bigsun-site-header-navigation__mask {
    transition: none;
}

.bigsun-site-header-navigation__logo {
    width: var(--bigsun-logo-width, 66px);
    aspect-ratio: 1;
}

.bigsun-site-header-navigation__socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.bigsun-site-header-navigation__social {
    width: var(--bigsun-icon-size, 20px);
    height: var(--bigsun-icon-size, 20px);
}

@media (prefers-reduced-motion: reduce) {
    .bigsun-site-header-navigation__mask {
        transition: none !important;
    }

}

/* Keep Pure's complete image pipeline in the DOM; the source image is
visually replaced by the recolorable mask on the containing link. */
.bigsun-site-header-navigation__mask {
    position: relative;
}

.bigsun-site-header-navigation__mask .pure-image {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.bigsun-site-header-navigation__mask .pure-image picture,
.bigsun-site-header-navigation__mask .pure-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Language switcher before the social icons */
.bigsun-site-header-navigation__right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.bigsun-site-header-navigation__right .bigsun-site-header-navigation__socials {
    margin-left: 0;
}
.bigsun-site-header-navigation__languages {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bigsun-site-header-navigation__language {
    color: var(--color-primary);
    text-decoration: none;
    font: inherit;
    line-height: 1;
    font-size: 18px;
    font-weight: 400;
    transition: opacity 200ms ease, color 200ms ease;
}
.bigsun-site-header-navigation__language:not(.is-active) { opacity: .55; }
.bigsun-site-header-navigation__language:hover,
.bigsun-site-header-navigation__language:focus-visible { opacity: 1; color: var(--bigsun-hover-color, var(--color-secondary)); }
@media (prefers-reduced-motion: reduce) {
    .bigsun-site-header-navigation__language { transition: none; }
}


/* Vertically center language labels with the social icon artwork. */
.bigsun-site-header-navigation__languages {
    min-height: var(--bigsun-icon-size, 20px);
}
.bigsun-site-header-navigation__language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--bigsun-icon-size, 20px);
}
.bigsun-site-header-navigation__socials > li {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bigsun-site-header-navigation__socials .bigsun-site-header-navigation__social {
    display: block;
}

/* Optical alignment of language labels with social icons. */
.bigsun-site-header-navigation__languages {
    transform: translateY(-1px);
}

/* Language links use color/opacity feedback, never an underline. */
.bigsun-site-header-navigation a.bigsun-site-header-navigation__language,
.bigsun-site-header-navigation a.bigsun-site-header-navigation__language:hover,
.bigsun-site-header-navigation a.bigsun-site-header-navigation__language:focus-visible,
.bigsun-site-header-navigation a.bigsun-site-header-navigation__language:active {
    text-decoration: none !important;
    border-bottom: 0;
}
