#header .top .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
#header .top .inner::before,
#header .top .inner::after {
    display: none;
}
#header .top .top-center {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
}
#header .top .top-right {
    display: block;
    padding: 0 8px;
}
.ac-languages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
#header .ac-languages a {
    min-height: 32px;
    padding: 0 6px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #fff;
    font: 600 11px/1 Arial, sans-serif;
    text-decoration: none;
}
#header .ac-languages a:hover,
#header .ac-languages a:focus-visible,
#header .ac-languages a[aria-current] {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .15);
}
.ac-languages img {
    display: block;
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}
.ac-search-results {
    width: min(945px, calc(100% - 32px));
    margin: 32px auto;
    min-height: 240px;
}
.ac-search-results li {
    margin: 10px 0;
}
@media (max-width: 640px) {
    #header .top .inner {
        flex-wrap: wrap;
        gap: 4px;
    }
    #header .top .top-right {
        width: 100%;
        padding: 0 8px;
    }
    .ac-languages {
        justify-content: center;
    }
    #header .ac-languages a {
        min-height: 36px;
        padding: 0 9px;
    }
}
