.header__nav {
    display: flex;  
    flex-direction: column;
    @media (min-width: 1000px) {
        justify-content: space-between;
        width: 100%;
        flex-direction: row;
}

    ul {
        min-width: auto;
    }
}

.search-page__term, .search__no-results{
    word-wrap: break-word;
    word-break: break-word;
}

/*.language-switcher-wrapper {
    margin-top: 0.8em;

    a {
        color: #000000;
        padding: 5px 33px;
        text-align: center;
        border: 3px solid #3cb4e5;
        margin-bottom: 9px;
    }

    ul.language-switcher {
        flex-direction: column;
        border: 2px solid #000000;
        align-items: center;

        li a {
            border: none;
            color: #3cb4e5;
        }
    }
}*/

.language-switcher-wrapper {
    position: relative;
}

.header__nav .menu > li.language-switcher-wrapper > a.language-switcher-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0px 20px;
    border: 2px solid #3cb4e5;
    border-radius: 4px;
    background-color: #fff;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}

.language-switcher-wrapper ul.language-switcher {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    border: 2px solid #3cb4e5;
    background-color: #fff;
    list-style: none;
    padding: 0;
    min-width: 100%;
    row-gap: 8px;
}

.language-switcher-wrapper ul.language-switcher.hide {
    display: none;
}

.language-switcher-wrapper ul.language-switcher li {
    width: 100%;
}

.language-switcher-wrapper ul.language-switcher li a {
    display: block;
    padding: 5px 20px;
    color: #3cb4e5;
    text-decoration: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s ease;
}

.language-switcher-wrapper ul.language-switcher li a:hover {
    background-color: #f0f0f0;
}

.chevron-right {
    display: inline-flex;
    align-items: center;
    position: relative;

    &:after {
        content: ' ';
        display: block;
        border-bottom: 3px solid #3cb4e5;
        border-right: 3px solid #3cb4e5;
        height: 8px;
        width: 8px;
        transform: rotate(45deg);
    }
}

.hide {
    /*display: none !important;*/
}

@media (max-width: 1000px) {
    .language-switcher-wrapper:has(ul.language-switcher:not(.hide)) {
        margin-bottom: 100px;
    }
    
    .language-switcher-wrapper ul.language-switcher {
       min-width: 83%;
    }

    .header {
        position: relative;
        z-index: 100002;
    }

    .header__menu,
    .header__nav,
    .header__nav a,
    .header__burger,
    .header__menu-close {
        pointer-events: auto;
        touch-action: manipulation;
    }
}

.subscribe-banner{
    display: none;
}

.main.content-page{
    padding-bottom: 0px;
}
