/* FOCUS_ADVENTURES_LANGUAGE_FLAGS_V8_5 */

.fa-language-switcher {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    border-bottom: 1px solid rgba(202, 79, 24, .42);
    background: rgba(2, 10, 17, .97);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(9px);
}

.fa-language-switcher__inner {
    max-width: 1500px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 0 auto;
    padding: 7px 22px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.fa-language-switcher__label {
    margin-right: 3px;
    color: #eddfcc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fa-language-switcher__language {
    flex: 0 0 auto;
    min-width: 49px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid rgba(237, 223, 204, .19);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: #eddfcc;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease;
}

.fa-language-switcher__language:hover,
.fa-language-switcher__language:focus-visible {
    border-color: #ca4f18;
    background: rgba(202, 79, 24, .19);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.fa-language-switcher__flag {
    font-size: 20px;
    line-height: 1;
}

.fa-language-switcher__code {
    line-height: 1;
}

@media (max-width: 760px) {
    .fa-language-switcher__inner {
        justify-content: flex-start;
        padding-inline: 12px;
    }

    .fa-language-switcher__label {
        position: sticky;
        left: 0;
        z-index: 2;
        padding-right: 8px;
        background: #020a11;
    }

    .fa-language-switcher__language {
        min-width: 46px;
        padding-inline: 8px;
    }
}
