/* /v2/css/m2-lingue.css (29/11/2026): la tendina delle lingue nella testata (v2/includes/lingue.php, m2l_tendina).
   Regole di Andrea: niente riquadri con angoli arrotondati, linee sottili, nessun testo piu' piccolo dei suoi pari. */
.m2l-li { position: relative; display: flex; align-items: center; }
.m2l-tendina { position: relative; display: flex; align-items: center; height: 100%; }
.m2l-scelta {
    display: inline-flex; align-items: center; gap: 6px; height: 100%; min-height: 40px; margin: 0; padding: 0 8px;
    background: none; border: 0; border-radius: 0; color: inherit; font: inherit; letter-spacing: .04em; cursor: pointer;
}
.m2l-scelta:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.m2l-bandiera { display: block; flex: 0 0 auto; width: 21px; height: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.m2l-elenco {
    position: absolute; top: 100%; right: 0; z-index: 1200; min-width: 180px; margin: 0; padding: 0; list-style: none;
    background: #fff; color: #111; border: 1px solid #dcdcdc; border-radius: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.m2l-elenco[hidden] { display: none; }
/* [01/12/2026] righe semplici, senza linee in mezzo (immagine di Andrea) */
.m2l-elenco { padding: 6px 0; }
.m2l-elenco a {
    display: flex; align-items: center; gap: 10px; padding: 11px 16px; color: inherit; font: inherit; text-decoration: none;
    white-space: nowrap;
}
.m2l-elenco a:hover, .m2l-elenco a:focus-visible { background: #f4f4f4; outline: none; }
.m2l-elenco a[aria-current="true"] { background: #f2f2f2; }
.m2l-elenco a[aria-current="true"]:hover, .m2l-elenco a[aria-current="true"]:focus-visible { background: #ebebeb; }
.m2l-nome { flex: 1 1 auto; }
.m2l-spunta { flex: 0 0 auto; margin-left: 16px; }
/* il tasto mostra solo la bandiera della lingua attiva */
.m2l-codice { display: none; }
/* sotto i 1024 px il guscio nasconde le voci della testata (tranne i Contatti): la tendina resta, con la sola bandiera */
@media (max-width: 1023.98px) {
    .m2v2-testata-dx > li.m2l-li { display: flex; }
}
@media (max-width: 767px) {
    .m2l-codice { display: none; }
    .m2l-scelta { padding: 0 6px; }
}
