#main-menu .site-language { position: relative; align-self: center; }
.site-language summary {
    color: #17334d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .45em;
    min-height: 44px;
    padding: 0 15px;
    font: inherit;
    font-weight: 500;
    list-style: none;
}
nav.light .site-language summary { color: white; }
.site-language summary::-webkit-details-marker { display: none; }
.site-language summary::after {
    content: "";
    width: .38em;
    height: .38em;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.1em) rotate(45deg);
}
.site-language details[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.site-language .language-options {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    min-width: 8.5rem;
    padding: .25rem;
    border-radius: 4px;
    background: white;
    box-shadow: 0 5px 20px #142b4826;
}
#main-menu .language-options a {
    display: block;
    padding: .55rem .85rem;
    line-height: 1.4;
    color: #17334d;
    white-space: nowrap;
}
#main-menu .language-options a:hover, #main-menu .language-options a:focus-visible { background: #edf3f7; }
.site-language :focus-visible { outline: 2px solid #309dce; outline-offset: -2px; }
@media (max-width: 991.98px) {
    #main-menu .site-language { align-self: stretch; }
    nav.light .site-language summary { color: #17334d; }
    .site-language .language-options { position: static; box-shadow: none; margin: 0 15px .5rem; }
}
