/* Only the new language component; no existing header/menu/clock rules changed. */
.anasesso-language-menu-item { position: relative; align-self: center; }
.anasesso-i18n-switcher { margin: 0; font: inherit; }
.anasesso-i18n-switcher > summary {
    cursor: pointer; white-space: nowrap; list-style: none;
    padding: 8px 6px; color: var(--theme-text-color); font: inherit;
}
.anasesso-i18n-switcher > summary::-webkit-details-marker { display: none; }
.anasesso-i18n-switcher > summary:focus-visible,
.anasesso-i18n-switcher a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.anasesso-i18n-switcher > ul {
    position: absolute; inset-inline-end: 0; top: 100%; z-index: 100;
    width: max-content; max-width: 280px; list-style: none; margin: 0;
    padding: 8px; background: var(--theme-palette-color-8, #fff);
    color: var(--theme-text-color); border: 1px solid var(--theme-border-color, #ddd);
    border-radius: 6px;
}
.anasesso-i18n-switcher:not([open]) > ul { display: none; }
.anasesso-i18n-switcher > ul > li { margin: 0; padding: 0; }
.anasesso-i18n-switcher > ul > li > a { display: block; padding: 8px; white-space: nowrap; }
.ct-panel .anasesso-i18n-switcher > ul { position: static; margin-inline: auto; }
#offcanvas .anasesso-i18n-switcher > summary { color: #fff; }
#offcanvas .anasesso-i18n-switcher > ul > li > a { color: var(--theme-text-color, #22343a); }
