/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}



/* LANGUAGES SELECTOR */
.lang-selector {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.lang-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    color: #888; /* Grigio neutro per i non attivi */
    padding: 2px 8px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

/* Base per le icone/bandierine */
.lang-link::before {
    content: "";
    width: 18px;
    height: 13px; /* Proporzione classica bandiera */
    margin-right: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    filter: grayscale(100%); /* Bandiera spenta se non attiva */
    opacity: 0.6;
    transition: all 0.2s ease;
}

/* Percorsi immagini locali */
.lang-link.it::before {
    background-image: url('../images/lng/it.png');
}

.lang-link.en::before {
    background-image: url('../images/lng/gb.png');
}

/* --- STATO ATTIVO (Lingua Selezionata) --- */
.lang-link.active {
    color: #333;
    font-weight: 700;
    background-color: #f0f0f0; /* Sfondo leggero */
    border-color: #ddd;       /* Bordino sottile */
}

.lang-link.active::before {
    filter: grayscale(0%);    /* Torna a colori */
    opacity: 1;
    transform: scale(1.1);    /* Un pizzico più grande */
}

/* Hover per le lingue non selezionate */
.lang-link:hover:not(.active) {
    color: #555;
    background-color: #f9f9f9;
}

.lang-link:hover::before {
    filter: grayscale(0%);
    opacity: 0.9;
}