.footer-links-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 8px;
    padding: 10px;
}

    .footer-links-row > a, .footer-links-row > .footer-language {
        white-space: nowrap;
    }

.footer-language {
    position: relative;
    display: inline-block;
}

.footer-language-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-start: 8px;
    vertical-align: 0;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(225deg);
}

.footer-language-options {
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    padding: 6px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 16px #0002;
    text-align: start;
}

    .footer-language-options[hidden] {
        display: none;
    }

.footer-language .footer-language-options a {
    display: block;
    padding: 10px 14px;
    border-radius: 3px;
    color: #151515;
    white-space: nowrap;
}

    .footer-language .footer-language-options a:hover, .footer-language .footer-language-options a:focus-visible {
        color: #151515;
        background: #f2f2f2;
    }

.footer-language-options a[aria-current="true"] {
    font-weight: 600;
}

.footer-language a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
