:root {
    --lang-gap: 16px;
    --lang-edge: clamp(8px, calc(var(--gutter) - 40px), 56px);
}

.lang-switch {
    display: flex;
    align-items: center;
}

    .lang-switch a {
        font-weight: 700;
        line-height: 1;
        color: #8a8a8a;
        transition: color .18s;
    }

        .lang-switch a:hover,
        .lang-switch a.active {
            color: #fff;
        }

        .lang-switch a.active {
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-underline-offset: 5px;
        }

.frame-lang {
    position: absolute;
    top: 0;
    right: var(--lang-edge);
    z-index: 79;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 10px;
    width: calc(var(--gutter) - var(--lang-edge) - var(--lang-gap));
    padding-top: 10px;
    font-size: 16px;
}

.nav-lang {
    display: none;
}

@media (max-width: 1279px) {
    .frame-lang {
        display: none;
    }

    .nav-lang {
        display: flex;
        gap: 16px;
        padding-top: 28px;
        font-size: 15px;
    }
}
