@media (max-width: 576px) {
    .header-language-switcher {
        top: 13.5px;
    } 
}

@media (min-width: 577px) {
    .header-language-switcher {
        top: 26px;
    } 
}

.header {
    position: relative;
}

.header-language-switcher {
    position: absolute;
    right: 25px;
    z-index: 10000;
}

.header-language-switcher--with-actions {
    right: 65px;
}

.fc-language-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.fc-language-switcher[hidden],
.fc-language-switcher__menu[hidden] {
    display: none !important;
}

.fc-language-switcher__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #020412;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 0;
}

.fc-language-switcher__trigger:hover {
    opacity: 0.8;
}

.fc-language-switcher__caret {
    transition: transform 0.2s ease;
}

.fc-language-switcher.is-open .fc-language-switcher__caret {
    transform: rotate(180deg);
}

.fc-language-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: fit-content;
    padding: 4px;
    background: #fff;
    border: 1px solid #e6e6e7;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(2, 4, 18, 0.12);
    z-index: 9999;
}

.fc-language-switcher__item {
    border: 0;
    background: transparent;
    color: #020412;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    text-align: left;
    border-radius: 6px;
    white-space: nowrap;
}

.fc-language-switcher__item:hover {
    background: #f1f4fa;
}

.fc-language-switcher__item.is-active {
    background: rgba(21, 93, 252, 0.1);
    color: #020412;
    font-weight: 700;
}

.weglot-container,
.wg-default,
.wg-drop,
.country-selector {
    display: none !important;
}