.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

/* ------------------- */
/*  MENU AD HAMBURGER  */
/* ------------------- */

.burgerMenu{
    display: flex; /* mostra l'hamburger su mobile */
    margin-left: 2em;
    z-index: 1001; /* Sopra il menu a tendina */
}

#menu{
    margin-left: -0.5em;
    display: flex;
    width: 100%;
    padding: 0 10px; /* Un po' di margine laterale */
}

/* Animazione hamburger, diventa una X */
#burgerInput:checked ~ .burgerMenu span:nth-child(1){
    transform: rotate(45deg) translate(6px, 5px);
}

#burgerInput:checked ~ .burgerMenu span:nth-child(2){
    opacity: 0;
}

#burgerInput:checked ~ .burgerMenu span:nth-child(3){
    transform: rotate(-45deg) translate(6px, -5px);
}

/* Menu a tendina */
/* Lo stato di default (chiuso) */
#menu ul {
    display: flex; /* Flex per centrare il contenuto */
    position: fixed; /* Fisso su tutto lo schermo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Tutta l'altezza */
    
    /* Sfondo sfumato elegante con i colori del brand */
    background: linear-gradient(180deg, #acd2e6 0%, #f7fbfc 100%);
    
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centra verticalmente */
    gap: 25px; /* Spazio tra i bottoni */
    
    z-index: 999; /* Sta sotto l'hamburger ma sopra il resto del sito */
    
    /* Animazione Entrata/Uscita */
    opacity: 0;
    visibility: hidden; /* Nasconde anche al lettore schermo quando chiuso */
    transform: translateY(-20px); /* Parte leggermente spostato in alto */
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    
    padding-top: 60px; /* Spazio extra in alto */
    list-style: none; /* Rimuove i pallini della lista */
    margin: 0;
}

/* Lo stato APERTO (quando il checkbox è checked) */
#burgerInput:checked ~ ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Torna in posizione naturale */
}

#menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 260px; /* Larghezza fissa per uniformità */
    padding: 15px 0;
    
    background-color: #ffffff;
    color: #082636; /* Blu scuro elegante */
    
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    
    border-radius: 50px; /* Forma a pillola */
    border: none;
    box-shadow: 0 4px 15px rgba(8, 38, 54, 0.1); /* Ombra morbida */
    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Effetto pressione (Active) */
#menu ul li a:active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(8, 38, 54, 0.1);
}

/* Link della pagina corrente (Evidenziato) */
#menu ul li a#currentLink {
    background-color: #4f5abb; /* Blu Brand */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(79, 90, 187, 0.3);
}


/* --------------- */
/*  DOVE TROVARCI  */
/* --------------- */

@media screen and (max-width: 650px) {
  .sedi_container {
    grid-template-columns: 1fr;
    width: 95%;
  }
}

.search-container input {
    width: 90%;
}

/* Adattamento Sticky Header */
.sticky-header {
    width: 95%; /* Più largo su mobile */
    top: 5px;
}

/* Adattamento Titoli Grandi */
#landing_title h1 {
    font-size: 3.5em; /* Ridotto per mobile */
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

#landing_title h2 {
    width: 90%;
    margin-left: 5%;
    text-align: center;
    font-size: 1.4em;
}