/* Language switcher — syndesi_language_switcher() / [language_switcher]
   Added 2026-09-28. In the header it sits top-right of the menu bar
   (top-left on mobile, opposite the hamburger). */
.lang-switcher {
    display: flex;
    gap: 0.75em;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: calc(0.85rem * var(--lang-font-scale, 1));
    justify-content: center;
}
.lang-switcher li { margin: 0; }
.lang-switcher a {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
}
.lang-switcher a:hover,
.lang-switcher a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}
.lang-switcher .is-current span {
    font-weight: 600;
    color: var(--color-primary, currentColor);
}

.header-menu-container { position: relative; }
.header-menu-container .lang-switcher {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
}
@media (max-width: 768px) {
    .header-menu-container .lang-switcher {
        right: auto;
        left: 1rem;
        top: 1.4rem;
        transform: none;
    }
}
