

        /* =========================
           COLORI
        ========================= */

        :root {
            --blu-scuro: #173B5C;
            --blu-profond: #102A43;
            --celeste: #8ECFE6;
            --celeste-chiaro: #DDF4FA;
            --bianco: #FFFFFF;
            --bianco-azzurro: #F4FBFD;
            --grigio-blu: #647783;
            --bordo: #CFE7EE;
             /* NUOVI COLORI VERDI */
            --verde: #5FAF8A;
            --verde-chiaro: #DFF3E8;
        }


        /* =========================
           RESET
        ========================= */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            color: var(--blu-profond);
            background: var(--bianco);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

/* =========================
   INTRO
========================= */

#intro {
    position: fixed;
    inset: 0;
    z-index: 9999;

    width: 100%;
    height: 100vh;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

/* =========================
   IMMAGINE INTRO
========================= */

#intro img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}


/* =========================
   BOTTONE INTRO
========================= */
.intro-button {
    position: absolute;
    z-index: 10000;

    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);

    display: block;

    padding: 16px 40px;

    border: 1px solid rgba(186, 205, 170, 0.9);
    border-radius: 50px;

    background: rgba(186, 205, 170, 0.85);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);

    transition: all 0.3s ease;
}

.intro-button:hover {
    background: #BACDAA;
    transform: translateX(-50%) translateY(-3px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

/* =========================
   INTRO NASCOSTA
========================= */

#intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

        /* =========================
           SITO
        ========================= */

        #sito {
            display: none;
        }

        #sito.active {
            display: block;
        }


        /* =========================
           NAVBAR
/* CONTENITORE FISSO HNIO */

#header-fisso {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* NAVBAR */

.navbar {
    position: relative;
    width: 100%;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    box-sizing: border-box;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;
    margin: 0;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--bordo);
}

.navbar-logo img {
    width: 110px;
    height: auto;
    display: block;
}

/* STRISCIA NOTIZIE */

#news-ticker {
    position: relative;
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    margin: 0;
}

        /* =========================
           MENU LATERALE
        ========================= */

        .side-menu {
            position: fixed;

            top: 0;
            right: -360px;

            width: 330px;
            height: 100vh;

            z-index: 2000;

            padding: 100px 35px 40px;

            background: rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(25px);

            border-left: 1px solid var(--bordo);

            transition: right 0.4s ease;
        }

        .side-menu.active {
            right: 0;
        }

        .side-menu h3 {
            color: var(--blu-scuro);
            font-size: 14px;
            letter-spacing: 3px;
            margin-bottom: 30px;
        }

        .side-menu ul {
            list-style: none;
        }

        .side-menu li {
            margin-bottom: 10px;
        }

        .side-menu a {
            display: block;

            padding: 13px 15px;

            border-radius: 10px;

            color: var(--blu-profond);

            transition: 0.3s;
        }

        .side-menu a:hover {
            background: var(--celeste-chiaro);
            color: var(--blu-scuro);
            padding-left: 20px;
        }


        /* =========================
           OVERLAY
        ========================= */

        #overlay {
            position: fixed;
            inset: 0;

            z-index: 1500;

            background: rgba(16, 42, 67, 0.35);

            opacity: 0;
            visibility: hidden;

            transition: 0.3s;
        }

        #overlay.active {
            opacity: 1;
            visibility: visible;
        }


        /* =========================
           HOME
        ========================= */

        .hero {
            min-height: 100vh;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            text-align: center;

            padding: 120px 25px 80px;

            background: var(--blu-profond);

            color: white;

            position: relative;

            overflow: hidden;
        }


        /* LOGO COME SFONDO */

        .hero::before {
            content: "";

            position: absolute;

            width: 560px;
            height: 560px;

            top: 65%;
            left: 50%;

            transform: translate(-50%, -50%);

            background-image: url("logo.png");

            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;

            opacity: 0.15;

            z-index: 0;

            pointer-events: none;
        }


        /* CONTENUTO SOPRA IL LOGO */

        .hero > * {
            position: relative;
            z-index: 1;
        }

        .hero-label {
            color: var(--celeste);

            font-size: 13px;
            letter-spacing: 4px;

            font-weight: bold;

            margin-bottom: 25px;
        }

        .hero h2 {
            color: white;

            font-size: clamp(38px, 6vw, 72px);

            line-height: 1.05;

            max-width: 900px;

            margin-bottom: 30px;
        }

        .hero p {
            color: var(--celeste-chiaro);

            font-size: 18px;

            line-height: 1.7;

            max-width: 700px;

            margin-bottom: 40px;
        }

        .hero-button {
            display: inline-block;

            background: var(--verde);

            color: var(--white);

            padding: 15px 32px;

            border-radius: 50px;

            font-weight: bold;

            transition: 0.3s;
        }

        .hero-button:hover {
            background: #4F9B78;

            color: var(--blu-profond);

            transform: translateY(-3px);
        }


        /* =========================
           SEZIONI
        ========================= */

        .sezione {
            padding: 100px 8%;

            background: white;
        }

        .sezione:nth-of-type(even) {
            background: var(--bianco-azzurro);
        }

        .sezione h2 {
            color: var(--blu-scuro);

            font-size: 38px;

            margin-bottom: 25px;
        }

        .sezione p {
            color: var(--grigio-blu);

            font-size: 17px;

            line-height: 1.8;

            max-width: 850px;
        }


        
/* =========================
   PROGETTI E RICERCA
========================= */

.progetti-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    margin-top: 45px;
}

.progetto-card {
    padding: 30px;

    background: white;

    border: 1px solid var(--bordo);

    border-radius: 18px;

    transition: 0.3s;
}

.progetto-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(16, 42, 67, 0.08);
}

.progetto-card h3 {
    color: var(--blu-scuro);

    margin-bottom: 15px;
}

.progetto-card p {
    font-size: 15px;
}


/* =========================
   CONTATTI
========================= */

.contact {
    background: var(--celeste-chiaro);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 50px;
    align-items: start;
}


/* =========================
   CAPSULE CONTATTI
========================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;

    width: fit-content;
    min-width: 330px;

    padding: 13px 22px 13px 13px;

    background: white;

    border: 1px solid rgba(207, 231, 238, 0.9);

    border-radius: 60px;

    color: var(--blu-profond);

    box-shadow: 0 8px 25px rgba(16, 42, 67, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


/* ANIMAZIONE CAPSULA */

.contact-item:hover {
    transform: translateX(10px);

    box-shadow:
        0 14px 30px rgba(16, 42, 67, 0.12);

    background: #ffffff;
}


/* ICONA */

.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blu-scuro);

    border-radius: 50%;

    color: white;

    font-size: 19px;

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}


/* ANIMAZIONE ICONA */

.contact-item:hover .contact-icon {
    background: var(--celeste);

    color: var(--blu-profond);

    transform: rotate(8deg) scale(1.08);
}


/* TESTO CONTATTO */

.contact-item a,
.contact-item span {
    color: var(--blu-profond);

    font-size: 15px;

    font-weight: 600;

    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--blu-scuro);
}


/* =========================
   SOCIAL
========================= */

.social-box {
    padding-left: 20px;
}

.social-box h3 {
    color: var(--blu-profond);

    font-size: 24px;

    margin-bottom: 25px;
}


/* QUADRATI SOCIAL */

.social-links {
    display: flex;

    gap: 16px;

    flex-wrap: wrap;
}

.social-links a {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blu-scuro);

    color: white;

    border-radius: 16px;

    font-size: 0;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 8px 20px rgba(16, 42, 67, 0.12);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-radius 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================
   ICONE SOCIAL SVG
========================= */

.social-box {
    padding-left: 20px;
}

.social-box h3 {
    color: var(--blu-profond);
    font-size: 24px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-links a {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blu-scuro);
    color: white;
    border-radius: 16px;
    font-size: 0;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.12);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-radius 0.35s ease,
        box-shadow 0.35s ease;
}

.social-links svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 0.35s ease;
}

.social-links a:nth-child(2) svg,
.social-links a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.social-links .social-dot {
    fill: currentColor;
    stroke: none;
}

.social-links a:hover {
    background: var(--celeste);
    color: var(--blu-profond);
    transform: translateY(-8px);
    border-radius: 20px;
    box-shadow: 0 18px 30px rgba(16, 42, 67, 0.18);
}

.social-links a:hover svg {
    transform: scale(1.15);
}

/* LOGO SOTTO I SOCIAL */
.social-logo {
    margin-top: 30px;
}

.social-logo img {
    width: 170px;
    height: auto;
    display: block;
}

/* =========================
   MOBILE CONTATTI
========================= */

@media (max-width: 800px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .social-box {
        padding-left: 0;
    }

    .contact-item {
        width: 100%;
        min-width: 0;
    }

}

        /* =========================
           RESPONSIVE
        ========================= */

        @media (max-width: 800px) {

            .hero::before {
                width: 380px;
                height: 380px;

                opacity: 0.07;
            }

            .hero h2 {
                font-size: 42px;
            }

            .hero p {
                font-size: 16px;
            }

            .servizi-grid {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                grid-template-columns: 1fr;

                gap: 40px;
            }
        }


        @media (max-width: 500px) {

            .navbar {
                height: 70px;

                padding: 0 20px;
            }

            .navbar-logo img {
                width: 90px;
            }

            .side-menu {
                width: 290px;
            }

            .hero {
                padding-left: 20px;
                padding-right: 20px;
            }

            .hero::before {
                width: 300px;
                height: 300px;
            }

            .hero h2 {
                font-size: 35px;
            }

            .hero-label {
                font-size: 11px;
                letter-spacing: 3px;
            }

            .sezione {
                padding: 75px 25px;
            }

            .sezione h2 {
                font-size: 32px;
            }
        }
/* =========================
   BACHECA
========================= */

.bacheca-section {
    background: var(--bianco-azzurro);
    padding: 90px 8%;
    border-top: 1px solid var(--bordo);
}

.bacheca-intestazione {
    max-width: 760px;
    margin-bottom: 45px;
}

.bacheca-label {
    display: inline-block;
    color: var(--blu-scuro);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bacheca-intestazione h2 {
    margin: 0 0 15px;
    color: var(--blu-profond);
    font-size: 42px;
}

.bacheca-intestazione p {
    margin: 0;
    color: var(--grigio-blu);
    font-size: 17px;
    line-height: 1.7;
}


/* GRIGLIA */

.bacheca-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* CARD */

.bacheca-card {
    background: white;
    border: 1px solid var(--bordo);
    border-radius: 22px;
    padding: 28px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(16, 42, 67, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bacheca-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.12);
}


/* PARTE SUPERIORE */

.bacheca-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.bacheca-tag {
    background: var(--blu-profond);
    color: white;
    padding: 7px 13px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bacheca-tag.evento {
    background: var(--celeste);
    color: var(--blu-profond);
}

.bacheca-tag.novita {
    background: var(--celeste-chiaro);
    color: var(--blu-profond);
}

.bacheca-data {
    color: var(--grigio-blu);
    font-size: 11px;
    font-weight: 700;
}


/* TESTO */

.bacheca-card h3 {
    color: var(--blu-profond);
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 13px;
}

.bacheca-card p {
    color: var(--grigio-blu);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}


/* LINK */

.bacheca-link {
    margin-top: auto;
    padding-top: 25px;
    color: var(--blu-scuro);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.bacheca-link:hover {
    color: #0b7fa5;
}


/* FOOTER BACHECA */

.bacheca-footer {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--grigio-blu);
    font-size: 13px;
    font-weight: 600;
}

.punto {
    width: 5px;
    height: 5px;
    background: var(--celeste);
    border-radius: 50%;
}


/* MOBILE */

@media (max-width: 850px) {

    .bacheca-section {
        padding: 65px 6%;
    }

    .bacheca-intestazione h2 {
        font-size: 34px;
    }

    .bacheca-grid {
        grid-template-columns: 1fr;
    }

    .bacheca-card {
        min-height: 230px;
    }
}
.sezione h2 {
    position: relative;
    display: inline-block;
}

.sezione h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--verde);
    border-radius: 10px;
}
#bacheca h2 {
    position: relative;
    display: inline-block;
}

#bacheca h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--verde);
    border-radius: 10px;
}
/* ============================= */
/* PRESENTAZIONE CHI SIAMO */
/* ============================= */

.presentazione-hnio {
    max-width: 1050px;
    margin: 55px auto 0;
    text-align: center;
}

.presentazione-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.slide-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--bordo);
    box-shadow: 0 20px 50px rgba(16, 42, 67, 0.12);
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
    transition: opacity 0.3s ease;
}

.slide-btn {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--blu-profond);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.15);
}

.slide-btn:hover {
    background: var(--verde);
    transform: scale(1.08);
}

.slide-info {
    margin-top: 22px;
    color: var(--grigio-blu);
    font-size: 14px;
    font-weight: 700;
}

.slide-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c7dce3;
    cursor: pointer;
    transition: 0.3s ease;
}

.slide-dots button.active {
    width: 28px;
    border-radius: 10px;
    background: var(--verde);
}

.slide-dots button:hover {
    background: var(--celeste);
}
@media (max-width: 700px) {

    .presentazione-box {
        gap: 8px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slide-container {
        border-radius: 16px;
    }

    .slide-dots {
        gap: 5px;
    }

    .slide-dots button {
        width: 7px;
        height: 7px;
    }

    .slide-dots button.active {
        width: 20px;
    }

}
/* PRESENTAZIONE HNIO */

.presentazione-hnio {
    max-width: 1050px;
    margin: 50px auto;
    text-align: center;
}

.presentazione-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.slide-container {
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16 / 9;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--bordo);
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.slide-btn {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--blu-profond);
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.slide-btn:hover {
    background: var(--verde);
    transform: scale(1.08);
}

.slide-info {
    margin-top: 20px;
    color: var(--grigio-blu);
    font-size: 14px;
    font-weight: 700;
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c7dce3;
    cursor: pointer;
    transition: 0.3s ease;
}

.slide-dots button.active {
    width: 28px;
    border-radius: 10px;
    background: var(--verde);
}

@media (max-width: 700px) {

    .presentazione-box {
        gap: 8px;
    }

    .slide-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .slide-container {
        border-radius: 15px;
    }
}
/* ================================= */
/* SEZIONE SEDI HNIO */
/* ================================= */

/* =========================
   SEDI HNIO
========================= */

.sedi-container {
    width: 100%;
    margin-top: 70px;
}

.sedi-label {
    margin-bottom: 25px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;

    color: #0b2d45;
}


/* PAESI */

.paesi {
    display: flex;

    width: 100%;

    overflow-x: auto;

    border-top: 1px solid rgba(11,45,69,.20);
    border-bottom: 1px solid rgba(11,45,69,.20);

    scrollbar-width: none;
}

.paesi::-webkit-scrollbar {
    display: none;
}


.paese {
    position: relative;

    flex-shrink: 0;

    padding: 22px 28px;

    border: none;

    background: transparent;

    font-family: inherit;

    font-size: 12px;
    font-weight: 500;

    color: #183b52;

    cursor: pointer;

    transition: .3s ease;
}


.paese:hover {
    background: rgba(11,45,69,.05);
    color: #0b2d45;
}


.paese.active {
    font-weight: 700;
    color: #0b2d45;
}


.paese.active::after {

    content: "";

    position: absolute;

    left: 20px;
    right: 20px;

    bottom: 0;

    height: 2px;

    background: #0b2d45;
}


/* CONTENUTO */

#contenuto-hnio {

    padding-top: 30px;

    padding-bottom: 35px;

    border-bottom: 1px solid rgba(11,45,69,.20);

    animation: apparizioneHNIO .4s ease;

}


@keyframes apparizioneHNIO {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* TITOLO */

.hnio-titolo {

    margin-bottom: 25px;

    font-size: 20px;

    font-weight: 600;

    color: #0b2d45;
}


/* REGIONI */

.hnio-regioni {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.hnio-regione {

    padding: 14px 18px;

    border: 1px solid rgba(11,45,69,.18);

    background: white;

    color: #183b52;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition: .3s ease;
}


.hnio-regione:hover {

    background: #0b2d45;

    color: white;

    border-color: #0b2d45;

}


/* CITTÀ */

.hnio-citta {

    display: flex;

    flex-direction: column;

    gap: 0;

}


.hnio-sede {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 0;

    border-top: 1px solid rgba(11,45,69,.12);

    text-decoration: none;

    color: #183b52;

}


.hnio-sede:last-child {

    border-bottom: 1px solid rgba(11,45,69,.12);

}


.hnio-sede:hover {

    padding-left: 10px;

}


.hnio-citta-nome {

    font-size: 15px;

    font-weight: 600;

    color: #0b2d45;

}


.hnio-sede-info {

    margin-top: 5px;

    font-size: 11px;

    color: #6d7d87;

}


.hnio-freccia {

    font-size: 18px;

    transition: .3s ease;

}


.hnio-sede:hover .hnio-freccia {

    transform: translateX(5px);

}


/* MESSAGGIO */

.messaggio-sedi {

    padding: 25px 0;

    font-size: 13px;

    color: #6d7d87;

}


/* TORNA INDIETRO */

.hnio-indietro {

    margin-top: 25px;

    padding: 12px 16px;

    border: 1px solid rgba(11,45,69,.18);

    background: white;

    color: #0b2d45;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;

}


.hnio-indietro:hover {

    background: #0b2d45;

    color: white;

}


/* MOBILE */

@media (max-width: 768px) {

    .sedi-container {
        margin-top: 45px;
    }

    .paese {
        padding: 18px 22px;
    }

    .hnio-regioni {
        flex-direction: column;
    }

    .hnio-regione {
        width: 100%;
        text-align: left;
    }

}
/* CONTATORE */

.sedi-counter {
    margin-top: 35px;
    padding: 25px 30px;
    background: white;
    border: 1px solid var(--bordo);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.05);
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.counter-item strong {
    color: var(--blu-profond);
    font-size: 20px;
}

.counter-item span {
    color: var(--grigio-blu);
    font-size: 12px;
    font-weight: 600;
}

.counter-line {
    width: 1px;
    height: 35px;
    background: var(--bordo);
}


/* MOBILE */

@media (max-width: 850px) {

    .sedi-wrapper {
        grid-template-columns: 1fr;
    }

    .sedi-map-box {
        min-height: 400px;
    }

    #mappaHnio {
        height: 380px;
    }

    .sedi-counter {
        gap: 20px;
    }

}


@media (max-width: 550px) {

    .sedi-counter {
        flex-direction: column;
        gap: 18px;
    }

    .counter-line {
        width: 50px;
        height: 1px;
    }

    .sede-info-box {
        padding: 30px 25px;
    }

}
.hnio-titolo {
    padding: 35px 0 25px;
    font-size: 18px;
    font-weight: 600;
    color: #0b2d45;
}

.regioni-hnio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 30px;
}

.regione-hnio {
    background: white;
    border: 1px solid rgba(11, 45, 69, 0.18);
    padding: 13px 18px;
    font-family: inherit;
    font-size: 12px;
    color: #183b52;
    cursor: pointer;
    transition: 0.3s ease;
}

.regione-hnio:hover,
.regione-hnio.active {
    background: #0b2d45;
    color: white;
    border-color: #0b2d45;
}

#sedi-hnio {
    border-top: 1px solid rgba(11, 45, 69, 0.15);
}

.regione-titolo {
    padding-top: 30px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #0b2d45;
}

.citta-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 35px;
}

.citta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 18px;
    border: 1px solid rgba(11, 45, 69, 0.18);
    background: white;
    color: #183b52;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s ease;
}

.citta:hover {
    background: #0b2d45;
    color: white;
    border-color: #0b2d45;
}

/* =========================================
   ORGANIGRAMMA HNIO
========================================= */

.organigramma-section {
    background: var(--bianco-azzurro);
    padding: 110px 8%;
}

.organigramma-intro {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}

.organigramma-label {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: var(--verde);
}

.organigramma-intro h2 {
    margin: 0 0 18px;

    font-size: 42px;
    color: var(--blu-scuro);
}

.organigramma-intro p {
    margin: 0;

    color: var(--grigio-blu);
    line-height: 1.7;
}


/* CONTENITORE */

.organigramma {
    max-width: 1200px;
    margin: 0 auto;
}


/* LIVELLI */

.org-livello {
    display: flex;
    justify-content: center;
}

.org-secondario {
    justify-content: center;
}


/* CARD */

.org-card {
    position: relative;

    width: 100%;
    max-width: 300px;

    padding: 25px 28px;

    display: flex;
    align-items: center;
    gap: 18px;

    background: var(--bianco);

    border: 1px solid var(--bordo);
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(23, 59, 92, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.org-card:hover {
    transform: translateY(-5px);

    border-color: var(--celeste);

    box-shadow: 0 16px 35px rgba(23, 59, 92, 0.12);
}


/* PRESIDENTE */

.org-card.principale {
    max-width: 360px;

    background: var(--blu-scuro);
    border-color: var(--blu-scuro);

    color: white;
}

.org-card.principale .org-ruolo {
    color: var(--celeste);
}

.org-card.principale h3 {
    color: white;
}


/* ICONA NUMERO */

.org-icon {
    min-width: 42px;
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--celeste-chiaro);

    color: var(--blu-scuro);

    font-size: 11px;
    font-weight: 700;
}

.org-card.principale .org-icon {
    background: rgba(255,255,255,0.12);
    color: white;
}


/* TESTI */

.org-contenuto {
    text-align: left;
}

.org-ruolo {
    display: block;

    margin-bottom: 5px;

    color: var(--verde);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.org-contenuto h3 {
    margin: 0;

    color: var(--blu-scuro);

    font-size: 17px;
    font-weight: 600;
}


/* LINEE */

.org-linea {
    width: 1px;
    height: 45px;

    margin: 0 auto;

    background: var(--bordo);
}


/* TITOLI DEI LIVELLI */

.org-titolo-livello {
    margin: 20px 0 25px;

    text-align: center;

    color: var(--blu-scuro);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* GRID VICE PRESIDENTI */

.org-grid {
    display: grid;

    gap: 22px;

    justify-content: center;
}

.org-grid.tre {
    grid-template-columns: repeat(3, 1fr);

    max-width: 950px;
    margin: 0 auto;
}



/* =====================================================
   DIRETTORI — 4 PER FILA
===================================================== */

.org-grid.direttori {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    justify-content: center;

    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    gap: 20px;
}

.org-card.direttore {
    width: 100%;
    max-width: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .org-grid.direttori {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .organigramma-section {
        padding: 80px 6%;
    }

    .organigramma-intro h2 {
        font-size: 34px;
    }

    .org-grid.direttori {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

}


/* =====================================================
   DIRETTORE 10
===================================================== */

.direttore-10 {
    width: 100%;
    max-width: none;
    margin-top: 20px;
}

/* =========================================================
   TESSERA HNIO
========================================================= */

.tessera-section {
    background: #ffffff;
    padding: 110px 8%;
    color: var(--blu-profond);
}

.tessera-title {
    margin-bottom: 60px;
}

.tessera-title span {
    color: var(--celeste);
}

.tessera-title h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    margin: 10px 0 0;
}

.tessera-title h2 em {
    color: var(--celeste);
    font-style: italic;
}


/* =========================================================
   MODULO
========================================================= */

.adesione-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2edf1;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(16, 42, 67, 0.08);
}

.adesione-intro {
    margin-bottom: 40px;
}

.adesione-label {
    display: block;
    color: var(--celeste);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.adesione-intro h3 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin: 0;
    color: var(--blu-profond);
}

.adesione-intro h3 em {
    color: var(--celeste);
    font-style: italic;
}

.adesione-intro p {
    max-width: 650px;
    margin-top: 15px;
    color: #718096;
    line-height: 1.7;
}


.adesione-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.form-section-title {
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5edf1;
    color: var(--blu-profond);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row.three {
    grid-template-columns: 1.4fr .6fr 1fr;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.form-full {
    grid-column: 1 / -1;
}


.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blu-profond);
}


.form-group input,
.form-group select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    border: 1px solid #dbe7ec;
    border-radius: 10px;
    padding: 0 15px;
    background: #fafdfe;
    color: var(--blu-profond);
    font-family: "DM Sans", sans-serif;
    outline: none;
    transition: .25s;
}


.form-group input:focus,
.form-group select:focus {
    border-color: var(--celeste);
    box-shadow: 0 0 0 3px rgba(142, 207, 230, .18);
}


/* =========================================================
   QUOTA
========================================================= */

.quota-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


.quota-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1px solid #dce9ee;
    border-radius: 12px;
    cursor: pointer;
    transition: .25s;
}


.quota-option:hover {
    border-color: var(--celeste);
    background: #f5fcfe;
}


.quota-option input {
    accent-color: var(--celeste);
}


.quota-option span {
    display: flex;
    flex-direction: column;
}


.quota-option strong {
    font-size: 20px;
    color: var(--blu-profond);
}


.quota-option small {
    color: #718096;
    margin-top: 3px;
}


.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}


.privacy-check input {
    margin-top: 2px;
    accent-color: var(--celeste);
}


.submit-tessera {
    align-self: flex-start;
    margin-top: 10px;
    border: none;
    border-radius: 30px;
    padding: 15px 28px;
    background: var(--blu-profond);
    color: white;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}


.submit-tessera:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 42, 67, .18);
}


.submit-tessera span {
    margin-left: 10px;
    color: var(--celeste);
}


/* =========================================================
   RISULTATO TESSERA
========================================================= */

.card-result {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    max-width: 1100px;
    margin: 80px auto 0;
    transition: .5s ease;
}


.card-result.visible {
    display: block;
}


.card-result.show {
    opacity: 1;
    transform: translateY(0);
}


.card-result-intro {
    text-align: center;
    margin-bottom: 40px;
}


.card-result-intro > span {
    color: var(--celeste);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}


.card-result-intro h3 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    margin: 8px 0;
}


.card-result-intro h3 em {
    color: var(--celeste);
    font-style: italic;
}


.card-result-intro p {
    color: #718096;
}


/* =========================================================
   STAGE 3D
========================================================= */

.tessera-stage {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1600px;
}


.card-3d {
    position: relative;
    width: min(650px, 90vw);
    aspect-ratio: 1.586 / 1;
    transform-style: preserve-3d;
    transition: transform .8s cubic-bezier(.2,.75,.25,1);
    cursor: pointer;
    z-index: 2;
}


.card-3d.flipped {
    transform: rotateY(180deg);
}


.card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   FRONTE
========================================================= */

.card-front {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(142,207,230,.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #102a43,
            #173b5c
        );

    color: white;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 25px 60px rgba(16,42,67,.25);
}


.front-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.hnio-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.hnio-logo-symbol {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
}


.hnio-logo span {
    max-width: 190px;
    font-size: 7px;
    line-height: 1.3;
    letter-spacing: 1.2px;
    opacity: .8;
}


.front-type {
    text-align: right;
    font-size: 8px;
    letter-spacing: 2px;
    opacity: .8;
}


.front-type strong {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--celeste);
}


.front-center {
    text-align: center;
}


.front-title {
    font-family: "Playfair Display", serif;
    font-size: 70px;
    letter-spacing: 5px;
}


.front-subtitle {
    font-size: 9px;
    letter-spacing: 3px;
    opacity: .75;
}


.front-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    letter-spacing: 2px;
}


.front-bottom strong {
    color: var(--celeste);
    font-size: 13px;
}


/* =========================================================
   RETRO
========================================================= */

.card-back {
    transform: rotateY(180deg);
    background: #ffffff;
    border: 1px solid #dce8ed;
    color: var(--blu-profond);
    padding: 25px 30px;
    box-shadow: 0 25px 60px rgba(16,42,67,.18);
}


.back-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e4edf0;
    padding-bottom: 10px;
}


.back-logo {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--celeste);
}


.back-header strong {
    display: block;
    font-size: 8px;
    letter-spacing: 1.2px;
}


.back-header span {
    display: block;
    margin-top: 2px;
    font-size: 6px;
    color: #718096;
    letter-spacing: 1px;
}


.back-content {
    padding-top: 10px;
}


.data-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr .8fr;
    column-gap: 15px;
    row-gap: 7px;
}


.data-item {
    min-width: 0;
}


.data-item.full {
    grid-column: 1 / -1;
}


.data-item span {
    display: block;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #718096;
    margin-bottom: 2px;
}


.data-item strong {
    display: block;
    font-size: 8.5px;
    line-height: 1.15;
    color: var(--blu-profond);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.validita {
    display: flex;
    gap: 45px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #edf9fc;
}


.validita span {
    display: block;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #718096;
}


.validita strong {
    display: block;
    font-size: 8px;
    margin-top: 2px;
}


.card-note {
    margin: 8px 0;
    font-size: 6px;
    line-height: 1.3;
    color: #718096;
}


.back-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 5px;
}


.firma {
    width: 190px;
}


.firma span {
    display: block;
    font-size: 6px;
    color: #718096;
    letter-spacing: .8px;
}


.firma-line {
    width: 100%;
    height: 1px;
    margin-top: 12px;
    background: #9aabb3;
}


.qr-placeholder {
    width: 50px;
    height: 50px;
    border: 2px solid var(--blu-profond);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    color: var(--blu-profond);
}


/* =========================================================
   OMBRA
========================================================= */

.card-shadow {
    width: 75%;
    height: 25px;
    margin-top: 25px;
    border-radius: 50%;
    background: rgba(16,42,67,.18);
    filter: blur(15px);
}


/* =========================================================
   AZIONI
========================================================= */

.card-hint {
    margin-top: 20px;
    color: #718096;
    font-size: 12px;
}


.card-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}


.card-action {
    border: 1px solid #dbe7ec;
    background: white;
    color: var(--blu-profond);
    border-radius: 30px;
    padding: 12px 20px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}


.card-action:hover {
    transform: translateY(-2px);
    border-color: var(--celeste);
}


.torna-modulo {
    display: block;
    margin: 25px auto 0;
    border: none;
    background: transparent;
    color: #718096;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .tessera-section {
        padding: 75px 5%;
    }


    .adesione-container {
        padding: 25px 18px;
        border-radius: 18px;
    }


    .adesione-intro h3 {
        font-size: 30px;
    }


    .form-row,
    .form-row.three {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .form-group.form-full {
        grid-column: auto;
    }


    .quota-box {
        grid-template-columns: 1fr;
    }


    .submit-tessera {
        width: 100%;
    }


    .card-3d {
        width: 94vw;
        max-width: 380px;
    }


    .card-front {
        padding: 20px;
        border-radius: 17px;
    }


    .hnio-logo-symbol {
        font-size: 25px;
    }


    .hnio-logo span {
        max-width: 135px;
        font-size: 5px;
    }


    .front-type {
        font-size: 6px;
    }


    .front-type strong {
        font-size: 9px;
    }


    .front-title {
        font-size: 46px;
    }


    .front-subtitle {
        font-size: 6px;
        letter-spacing: 2px;
    }


    .front-bottom {
        font-size: 6px;
    }


    .front-bottom strong {
        font-size: 10px;
    }


    /* RETRO MOBILE */

    .card-back {
        padding: 14px 16px;
        border-radius: 17px;
    }


    .back-header {
        gap: 7px;
        padding-bottom: 6px;
    }


    .back-logo {
        font-size: 16px;
    }


    .back-header strong {
        font-size: 6px;
    }


    .back-header span {
        font-size: 4.5px;
    }


    .back-content {
        padding-top: 6px;
    }


    .data-grid {
        grid-template-columns: 1.2fr .8fr .8fr;
        column-gap: 7px;
        row-gap: 4px;
    }


    .data-item span {
        font-size: 4px;
        letter-spacing: .5px;
        margin-bottom: 1px;
    }


    .data-item strong {
        font-size: 6px;
        line-height: 1.05;
    }


    .validita {
        margin-top: 5px;
        padding: 5px 7px;
        gap: 20px;
    }


    .validita span {
        font-size: 4px;
    }


    .validita strong {
        font-size: 6px;
    }


    .card-note {
        margin: 5px 0;
        font-size: 4.5px;
    }


    .firma {
        width: 120px;
    }


    .firma span {
        font-size: 4px;
    }


    .firma-line {
        margin-top: 8px;
    }


    .qr-placeholder {
        width: 34px;
        height: 34px;
        font-size: 6px;
    }


    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .card-action {
        width: 100%;
    }

}
/* ================================
   SELETTORE LINGUA
================================ */

.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    z-index: 1000;
}

.language-btn {
    background: transparent;
    border: 1px solid rgba(142, 207, 230, 0.45);
    color: var(--blu-scuro);
    padding: 9px 14px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: var(--celeste-chiaro);
    border-color: var(--celeste);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    min-width: 170px;
    padding: 8px;

    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e3edf2;
    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.15);

    display: none;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown button {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;

    padding: 10px 12px;
    border-radius: 9px;

    color: var(--blu-scuro);
    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
    transition: background 0.2s ease;
}

.language-dropdown button:hover {
    background: var(--celeste-chiaro);
}

/* Nasconde il widget originale di Google */
#google_translate_element {
    display: none;
}

/* Nasconde la barra superiore di Google */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget span {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .language-selector {
        margin-left: 0;
        margin-top: 10px;
    }

    .language-btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    .language-dropdown {
        right: auto;
        left: 0;
    }
}


/* =====================================================
   DIPARTIMENTI HNIO
===================================================== */

.dipartimenti-section {
    width: 100%;
    padding: 110px 8%;
    background: #ffffff;
}


/* =====================================================
   INTRO
===================================================== */

.dipartimenti-intro {
    max-width: 1200px;
    margin: 0 auto 55px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}


.dipartimenti-label {
    display: block;

    margin-bottom: 15px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.dipartimenti-intro h2 {
    margin: 0;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 48px;
    font-weight: 400;

    line-height: 1.1;
}


.dipartimenti-intro h2 span {
    color: #5faf8a;
}


.dipartimenti-intro > p {
    max-width: 420px;

    margin: 0;

    color: #607d8b;

    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   BOTTONI
===================================================== */

.dipartimenti-wrapper {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


.dipartimento-btn {
    width: 100%;
    min-height: 82px;

    padding: 0 30px;

    display: grid;

    grid-template-columns:
        70px
        1fr
        auto;

    align-items: center;

    background: #ffffff;

    border: 1px solid #dce8e2;

    border-radius: 16px;

    cursor: pointer;

    text-align: left;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.dipartimento-numero {
    color: #5faf8a;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.dipartimento-nome {
    color: #102a43;

    font-size: 17px;

    font-weight: 600;
}


.dipartimento-freccia {
    color: #5faf8a;

    font-size: 25px;

    transition:
        transform 0.3s ease;
}


/* HOVER */

.dipartimento-btn:hover {
    transform: translateX(6px);

    border-color: #b8d8c8;

    box-shadow:
        0 12px 30px rgba(16, 42, 67, 0.08);
}


.dipartimento-btn:hover
.dipartimento-freccia {
    transform: translateX(5px);
}


/* ATTIVO */

.dipartimento-btn.active {
    background: #102a43;

    border-color: #102a43;

    box-shadow:
        0 15px 35px rgba(16, 42, 67, 0.15);
}


.dipartimento-btn.active
.dipartimento-numero {
    color: #5faf8a;
}


.dipartimento-btn.active
.dipartimento-nome {
    color: #ffffff;
}


.dipartimento-btn.active
.dipartimento-freccia {
    color: #5faf8a;

    transform: translateX(5px);
}


/* =====================================================
   CONTENUTO
===================================================== */

.dipartimenti-contenuti {
    width: 100%;
    max-width: 1200px;

    margin: 25px auto 0;
}


.dipartimento-content {
    display: none;

    padding: 50px;

    background: #f3f8f5;

    border-radius: 24px;

    animation:
        dipartimentoFade 0.35s ease;
}


.dipartimento-content.active {
    display: block;
}


.dipartimento-content-label {
    display: block;

    margin-bottom: 15px;

    color: #5faf8a;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;
}


.dipartimento-content h3 {
    margin: 0 0 18px;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 36px;

    font-weight: 400;

    line-height: 1.2;
}


.dipartimento-content h3 span {
    color: #5faf8a;
}


.dipartimento-content p {
    max-width: 850px;

    margin: 0;

    color: #607d8b;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   ANIMAZIONE
===================================================== */

@keyframes dipartimentoFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 800px) {

    .dipartimenti-section {
        padding: 80px 6%;
    }


    .dipartimenti-intro {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .dipartimenti-intro h2 {
        font-size: 40px;
    }


    .dipartimento-btn {
        min-height: 72px;

        padding: 0 20px;

        grid-template-columns:
            50px
            1fr
            auto;
    }


    .dipartimento-nome {
        font-size: 15px;
    }


    .dipartimento-content {
        padding: 35px 25px;
    }


    .dipartimento-content h3 {
        font-size: 29px;
    }

}


@media (max-width: 500px) {

    .dipartimenti-section {
        padding: 65px 5%;
    }


    .dipartimenti-intro h2 {
        font-size: 34px;
    }


    .dipartimento-btn {
        grid-template-columns:
            38px
            1fr
            auto;

        padding: 0 16px;
    }


    .dipartimento-numero {
        font-size: 10px;
    }


    .dipartimento-nome {
        font-size: 14px;
    }


    .dipartimento-freccia {
        font-size: 21px;
    }


    .dipartimento-content {
        padding: 30px 22px;
    }


    .dipartimento-content h3 {
        font-size: 26px;
    }

}


/* =====================================================
   ORGANIGRAMMI HNIO
===================================================== */

.organigrammi-section {
    width: 100%;
    padding: 110px 8%;
    background: #f7faf9;
}


/* INTRO */

.organigrammi-intro {
    max-width: 1200px;
    margin: 0 auto 50px;
}

.organigrammi-label {
    display: block;
    margin-bottom: 15px;
    color: #5faf8a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.organigrammi-intro h2 {
    margin: 0 0 18px;
    color: #102a43;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
}

.organigrammi-intro h2 span {
    color: #5faf8a;
}

.organigrammi-intro p {
    max-width: 700px;
    margin: 0;
    color: #607d8b;
    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   BOTTONI
===================================================== */

.organigrammi-buttons {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.organigramma-button {
    width: 100%;
    min-height: 78px;
    padding: 0 28px;

    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;

    background: #ffffff;
    border: 1px solid #dce8e2;
    border-radius: 16px;

    cursor: pointer;

    color: #102a43;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: left;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.organigramma-button-number {
    color: #5faf8a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.organigramma-button-arrow {
    color: #5faf8a;
    font-size: 24px;

    transition: transform .3s ease;
}

.organigramma-button:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 30px rgba(16, 42, 67, .08);
}

.organigramma-button:hover
.organigramma-button-arrow {
    transform: translateX(5px);
}

.organigramma-button.active {
    background: #102a43;
    border-color: #102a43;
    color: #ffffff;

    box-shadow: 0 15px 35px rgba(16, 42, 67, .14);
}

.organigramma-button.active
.organigramma-button-number {
    color: #5faf8a;
}

.organigramma-button.active
.organigramma-button-arrow {
    color: #5faf8a;
    transform: translateX(5px);
}


/* =====================================================
   PANNELLI
===================================================== */

.organigrammi-content {
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 0;
}

.organigramma-panel {
    display: none;
    animation: organigrammaFade .4s ease;
}

.organigramma-panel.active {
    display: block;
}

@keyframes organigrammaFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

#organigramma-malta .malta-view {
    display: none;
}

#organigramma-malta .malta-view.active {
    display: block;
}


/* =====================================================
   PERSONE CLICCABILI
===================================================== */

button.org-persona {
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.org-persona {
    position: relative;
}

.org-persona .org-click-info {
    display: block;

    margin-top: 8px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 600;

    opacity: 0;

    transform: translateY(4px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.org-persona:hover .org-click-info {
    opacity: 1;
    transform: translateY(0);
}

.org-persona:focus-visible {
    outline: 2px solid #5faf8a;
    outline-offset: 4px;
}


/* =====================================================
   PLACEHOLDER ORGANIGRAMMI FUTURI
===================================================== */

.organigramma-placeholder {
    min-height: 250px;
    padding: 60px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffffff;
    border-radius: 24px;

    box-shadow: 0 15px 40px rgba(16, 42, 67, .06);
}

.organigramma-placeholder > span {
    margin-bottom: 15px;

    color: #5faf8a;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.organigramma-placeholder h3 {
    margin: 0 0 10px;

    color: #102a43;

    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 400;
}

.organigramma-placeholder p {
    margin: 0;

    color: #607d8b;
    font-size: 14px;
}


/* =====================================================
   MODALE BIOGRAFIA
===================================================== */

.persona-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.persona-modal.active {
    visibility: visible;
    opacity: 1;
}


/* SFONDO */

.persona-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(16, 42, 67, .72);

    backdrop-filter: blur(8px);
}


/* CONTENUTO */

.persona-modal-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 900px;

    display: grid;
    grid-template-columns: 320px 1fr;

    background: #ffffff;

    border-radius: 28px;
    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(16, 42, 67, .25);

    transform: translateY(20px);

    transition: transform .35s ease;
}

.persona-modal.active
.persona-modal-content {
    transform: translateY(0);
}


/* FOTO */

.persona-modal-image {
    min-height: 420px;
    background: #edf5f1;
}

.persona-modal-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* TESTO */

.persona-modal-info {
    padding: 55px 50px;
}

.persona-modal-ruolo {
    display: block;

    margin-bottom: 12px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.persona-modal-info h2 {
    margin: 0;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 42px;
    font-weight: 400;

    line-height: 1.15;
}

.persona-modal-line {
    width: 50px;
    height: 2px;

    margin: 25px 0;

    background: #5faf8a;
}

.persona-modal-biografia-label {
    display: block;

    margin-bottom: 12px;

    color: #102a43;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.persona-modal-info p {
    margin: 0;

    color: #607d8b;

    font-size: 15px;
    line-height: 1.8;
}


/* =====================================================
   CHIUDI
===================================================== */

.persona-modal-close {
    position: absolute;

    top: 18px;
    right: 20px;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, .9);

    color: #102a43;

    font-size: 27px;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease;
}

.persona-modal-close:hover {
    transform: rotate(90deg);
    background: #ffffff;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .organigrammi-section {
        padding: 80px 6%;
    }

    .organigrammi-intro h2 {
        font-size: 38px;
    }

    .organigramma-button {
        min-height: 70px;
        padding: 0 20px;

        grid-template-columns: 45px 1fr auto;

        font-size: 15px;
    }

    .organigramma-placeholder {
        padding: 45px 25px;
    }

    .persona-modal {
        padding: 18px;
    }

    .persona-modal-content {
        grid-template-columns: 1fr;

        max-height: 90vh;

        overflow-y: auto;
    }

    .persona-modal-image {
        height: 260px;
        min-height: 260px;
    }

    .persona-modal-info {
        padding: 35px 25px;
    }

    .persona-modal-info h2 {
        font-size: 32px;
    }

}


/* =====================================================
   NEWS HNIO
===================================================== */

.news-section {
    width: 100%;
    padding: 110px 8%;
    background: #ffffff;
}


/* INTRO */

.news-intro {
    max-width: 1200px;
    margin: 0 auto 45px;
}

.news-label {
    display: block;
    margin-bottom: 15px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.news-intro h2 {
    margin: 0 0 18px;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 48px;
    font-weight: 400;
}

.news-intro h2 span {
    color: #5faf8a;
}

.news-intro p {
    max-width: 700px;

    margin: 0;

    color: #607d8b;

    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   CATEGORIE
===================================================== */

.news-category-wrapper {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 15px;
}


/* CONTENITORE ORIZZONTALE */

.news-category-container {
    flex: 1;

    overflow: hidden;
}


/* TRACK */

.news-category-track {
    display: flex;

    gap: 10px;

    width: max-content;

    transition: transform .4s ease;
}


/* CATEGORIA */

.news-category {
    flex: 0 0 auto;

    padding: 16px 25px;

    border: 1px solid #dce8e2;

    border-radius: 14px;

    background: #f7faf9;

    color: #102a43;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        border-color .3s ease;
}

.news-category:hover {
    transform: translateY(-2px);

    border-color: #5faf8a;

    background: #eef8f4;
}

.news-category.active {
    background: #102a43;

    border-color: #102a43;

    color: #ffffff;
}


/* FRECCE */

.news-arrow {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border: 1px solid #dce8e2;

    border-radius: 50%;

    background: #ffffff;

    color: #102a43;

    font-size: 20px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.news-arrow:hover {
    background: #102a43;

    color: #ffffff;

    transform: scale(1.05);
}


/* =====================================================
   CONTENUTO
===================================================== */

.news-content {
    width: 100%;
    max-width: 1200px;

    margin: 30px auto 0;
}


.news-panel {
    display: none;

    animation: newsFade .4s ease;
}

.news-panel.active {
    display: block;
}


@keyframes newsFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   CARD ARTICOLO
===================================================== */

.news-placeholder {
    min-height: 280px;

    padding: 45px;

    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 30px;

    align-items: start;

    background: #f7faf9;

    border: 1px solid #e1ece6;

    border-radius: 24px;

    box-shadow: 0 15px 40px rgba(16, 42, 67, .05);
}


.news-number {
    color: #5faf8a;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}


.news-category-small {
    display: block;

    margin-bottom: 10px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.6px;
}


.news-placeholder h3 {
    margin: 0 0 15px;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 32px;
    font-weight: 400;
}


.news-placeholder p {
    max-width: 750px;

    margin: 0 0 25px;

    color: #607d8b;

    font-size: 15px;

    line-height: 1.8;
}


/* LEGGI */

.news-read-button {
    padding: 0;

    border: none;

    background: transparent;

    color: #102a43;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: color .3s ease;
}

.news-read-button:hover {
    color: #5faf8a;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .news-section {
        padding: 80px 6%;
    }

    .news-category {
        padding: 14px 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .news-intro h2 {
        font-size: 38px;
    }

    .news-category-wrapper {
        gap: 8px;
    }

    .news-arrow {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 17px;
    }

    .news-category {
        padding: 13px 18px;

        font-size: 13px;
    }

    .news-placeholder {
        grid-template-columns: 1fr;

        padding: 30px;

        gap: 15px;
    }

    .news-placeholder h3 {
        font-size: 27px;
    }

}



/* =====================================================
   PRESS & MEDIA
===================================================== */

.press-media-section {
    width: 100%;
    padding: 110px 8%;

    background: #f7faf9;
}


/* =====================================================
   INTRO
===================================================== */

.press-media-intro {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 45px;
}

.press-media-label {
    display: block;

    margin-bottom: 15px;

    color: #5faf8a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.press-media-intro h2 {
    margin: 0 0 18px;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 48px;
    font-weight: 400;
}

.press-media-intro h2 span {
    color: #5faf8a;
}

.press-media-intro p {
    max-width: 700px;

    margin: 0;

    color: #607d8b;

    font-size: 15px;

    line-height: 1.7;
}


/* =====================================================
   CATEGORIE
===================================================== */

.media-category-wrapper {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 35px;

    display: flex;
    align-items: center;

    gap: 15px;
}

.media-category-container {
    flex: 1;

    overflow: hidden;
}

.media-category-track {
    display: flex;

    width: max-content;

    gap: 10px;

    transition: transform .4s ease;
}

.media-category {
    flex: 0 0 auto;

    padding: 15px 25px;

    border: 1px solid #dce8e2;

    border-radius: 14px;

    background: #ffffff;

    color: #102a43;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.media-category:hover {
    transform: translateY(-2px);

    background: #eef8f4;
}

.media-category.active {
    background: #102a43;

    border-color: #102a43;

    color: #ffffff;
}


/* FRECCE */

.media-arrow {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border: 1px solid #dce8e2;

    border-radius: 50%;

    background: #ffffff;

    color: #102a43;

    font-size: 20px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.media-arrow:hover {
    background: #102a43;

    color: #ffffff;

    transform: scale(1.05);
}


/* =====================================================
   VIDEO GRID
===================================================== */

.media-video-grid {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* =====================================================
   VIDEO CARD
===================================================== */

.media-video-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1ece6;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(16, 42, 67, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.media-video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(16, 42, 67, .10);
}


/* VIDEO */

.media-video {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #102a43;

    overflow: hidden;
}

.media-video video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* INFORMAZIONI */

.media-video-info {
    padding: 25px 28px 28px;
}

.media-video-category {
    display: block;

    margin-bottom: 10px;

    color: #5faf8a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.media-video-info h3 {
    margin: 0 0 10px;

    color: #102a43;

    font-family: "Playfair Display", serif;

    font-size: 26px;
    font-weight: 400;
}

.media-video-info p {
    margin: 0;

    color: #607d8b;

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .press-media-section {
        padding: 80px 6%;
    }

    .media-video-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .press-media-intro h2 {
        font-size: 38px;
    }

    .media-category-wrapper {
        gap: 8px;
    }

    .media-arrow {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 17px;
    }

    .media-category {
        padding: 13px 18px;

        font-size: 13px;
    }

    .media-video-info {
        padding: 22px;
    }

    .media-video-info h3 {
        font-size: 23px;
    }

}


/* =====================================================
   RESPONSIVE GENERALE HNIO
   TELEFONO
===================================================== */

@media (max-width: 600px) {

    /* ---------------------------------------------
       GENERALE
    --------------------------------------------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }


    /* ---------------------------------------------
       SEZIONI
    --------------------------------------------- */

    section {
        width: 100%;
        max-width: 100%;
    }


    /* ---------------------------------------------
       TITOLI SEZIONI
    --------------------------------------------- */

    .section-title h2,
    .organigrammi-intro h2,
    .organigramma-intro h2,
    .news-intro h2,
    .press-media-intro h2 {
        font-size: 36px;
        line-height: 1.15;
    }


    /* ---------------------------------------------
       TESTI
    --------------------------------------------- */

    .section-title p,
    .organigrammi-intro p,
    .organigramma-intro p,
    .news-intro p,
    .press-media-intro p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* ---------------------------------------------
       INTRO / SCHERMATA INIZIALE
    --------------------------------------------- */

    #intro {
        padding: 25px 20px;
    }

    .logo-intro {
        width: 280px;
        max-width: 75vw;
        height: auto;
    }

    #intro span {
        font-size: 12px;
    }

    #intro p {
        max-width: 330px;

        font-size: 12px;
        line-height: 1.6;
    }


    /* ---------------------------------------------
       ORGANIGRAMMI
    --------------------------------------------- */

    .organigrammi-section,
    .organigramma-section {
        padding: 75px 6%;
    }


    /* Pulsanti organigrammi */

    .organigramma-button {
        min-height: 68px;

        padding: 0 18px;

        grid-template-columns:
            40px
            1fr
            auto;

        border-radius: 14px;

        font-size: 14px;
    }

    .organigramma-button-arrow {
        font-size: 20px;
    }


    /* ---------------------------------------------
       GRIGLIE
    --------------------------------------------- */

    .org-grid {
        width: 100%;
        max-width: 100%;

        grid-template-columns: 1fr !important;

        gap: 15px;
    }


    .org-card {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0;

        padding: 22px 20px;
    }


    /* ---------------------------------------------
       DIRETTORI
    --------------------------------------------- */

    .org-grid.direttori {
        width: 100%;
        max-width: 100%;

        grid-template-columns: 1fr !important;

        gap: 15px;
    }

    .org-card.direttore {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* ---------------------------------------------
       NEWS
    --------------------------------------------- */

    .news-section {
        padding: 75px 6%;
    }


    .news-category-wrapper {
        width: 100%;
    }


    .news-category-container {
        min-width: 0;
    }


    .news-category {
        padding: 13px 17px;

        font-size: 13px;
    }


    .news-arrow {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 17px;
    }


    .news-placeholder {
        width: 100%;

        grid-template-columns: 1fr;

        padding: 28px 22px;

        gap: 15px;
    }


    .news-placeholder h3 {
        font-size: 27px;
        line-height: 1.2;
    }


    /* ---------------------------------------------
       PRESS & MEDIA
    --------------------------------------------- */

    .press-media-section {
        padding: 75px 6%;
    }


    .media-category-wrapper {
        width: 100%;
    }


    .media-category-container {
        min-width: 0;
    }


    .media-category {
        padding: 13px 17px;

        font-size: 13px;
    }


    .media-arrow {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 17px;
    }


    .media-video-grid {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .media-video-card {
        width: 100%;
    }


    .media-video-info {
        padding: 20px;
    }


    .media-video-info h3 {
        font-size: 23px;
    }


    /* ---------------------------------------------
       MODAL PERSONE
    --------------------------------------------- */

    .persona-modal {
        padding: 15px;
    }


    .persona-modal-content {
        width: 100%;
        max-width: 100%;

        grid-template-columns: 1fr;

        max-height: 92vh;

        overflow-y: auto;

        border-radius: 20px;
    }


    .persona-modal-image {
        height: 230px;
        min-height: 230px;
    }


    .persona-modal-info {
        padding: 28px 22px;
    }


    .persona-modal-info h2 {
        font-size: 30px;
    }


    .persona-modal-info p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* ---------------------------------------------
       IMMAGINI
    --------------------------------------------- */

    img {
        max-width: 100%;
        height: auto;
    }


    /* ---------------------------------------------
       VIDEO
    --------------------------------------------- */

    video,
    iframe {
        max-width: 100%;
    }


    /* ---------------------------------------------
       EVITA ELEMENTI TROPPO LARGHI
    --------------------------------------------- */

    .container,
    .content,
    .section-inner {
        max-width: 100%;
    }

}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (min-width: 601px) and (max-width: 1000px) {

    html,
    body {
        overflow-x: hidden;
    }

    .org-grid.direttori {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .organigrammi-section,
    .organigramma-section,
    .news-section,
    .press-media-section {
        padding-left: 6%;
        padding-right: 6%;
    }

}

/* =========================
   CANDIDATURA HNIO
========================= */

.candidatura-section {
    padding: 120px 8%;
    background: var(--bianco-azzurro);
}


/* INTRO */

.candidatura-intro {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.candidatura-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--verde);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.candidatura-intro h2 {
    margin: 0 0 20px;

    color: var(--blu-scuro);

    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.candidatura-intro p {
    margin: 0 auto;

    max-width: 650px;

    color: var(--grigio-blu);

    font-size: 16px;
    line-height: 1.8;
}


/* BOX */

.candidatura-box {
    max-width: 1000px;
    margin: 0 auto;

    padding: 50px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(186, 205, 170, 0.55);
    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(23, 59, 92, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* TITOLI */

.candidatura-titolo {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 15px 0 28px;
}

.candidatura-titolo span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #BACDAA;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
}

.candidatura-titolo h3 {
    margin: 0;

    color: var(--blu-scuro);

    font-size: 22px;
}


/* GRID */

.candidatura-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin-bottom: 50px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campo-completo {
    grid-column: 1 / -1;
}

.campo label {
    color: var(--blu-scuro);

    font-size: 13px;
    font-weight: 600;
}


/* INPUT */

.campo input,
.campo select,
.campo textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 15px 17px;

    border: 1px solid #d5e2d0;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.8);

    color: var(--blu-scuro);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.campo input::placeholder,
.campo textarea::placeholder {
    color: #9aa8ad;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    border-color: #BACDAA;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(186, 205, 170, 0.18);
}

.campo textarea {
    resize: vertical;
    min-height: 150px;
}


/* SELECT */

.campo select {
    cursor: pointer;
}


/* UPLOAD CV */

.upload-cv {
    position: relative;

    width: 100%;
}

.upload-cv input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 90px;

    border: 1px dashed #BACDAA;
    border-radius: 16px;

    background: rgba(186, 205, 170, 0.10);

    color: var(--blu-scuro);

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.upload-label:hover {
    background: rgba(186, 205, 170, 0.20);

    border-color: #BACDAA;
}

.upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #BACDAA;

    color: #ffffff;

    font-size: 20px;
}

.campo small {
    margin-top: 8px;

    color: var(--grigio-blu);

    font-size: 12px;
}


/* PRIVACY */

.privacy-box {
    margin-top: 10px;
    padding: 20px;

    border-radius: 14px;

    background: rgba(186, 205, 170, 0.10);
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: var(--grigio-blu);

    font-size: 13px;
    line-height: 1.6;

    cursor: pointer;
}

.privacy-check input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: #BACDAA;

    flex-shrink: 0;
}


/* BOTTONE */

.candidatura-submit {
    display: flex;
    justify-content: center;

    margin-top: 35px;
}

.btn-candidatura {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 16px 30px;

    border: none;
    border-radius: 50px;

    background: #BACDAA;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(186, 205, 170, 0.35);

    transition: all 0.3s ease;
}

.btn-candidatura span {
    font-size: 20px;

    transition: transform 0.3s ease;
}

.btn-candidatura:hover {
    background: #aabd9a;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(186, 205, 170, 0.45);
}

.btn-candidatura:hover span {
    transform: translateX(5px);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 700px) {

    .candidatura-section {
        padding: 80px 6%;
    }

    .candidatura-box {
        padding: 30px 20px;

        border-radius: 20px;
    }

    .candidatura-grid {
        grid-template-columns: 1fr;
    }

    .campo-completo {
        grid-column: auto;
    }

    .candidatura-intro h2 {
        font-size: 40px;
    }

    .btn-candidatura {
        width: 100%;
    }
}

/* PRIVACY - TUTTA LA LARGHEZZA DEL FORM */

.privacy-check {
    width: 100% !important;
    max-width: none !important;
    grid-column: 1 / -1 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.privacy-text {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.privacy-options {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.privacy-option {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    box-sizing: border-box !important;
}

.side-menu {
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: none;
}

.side-menu::-webkit-scrollbar {
    display: none;
}



/* =====================================================
   HNIO — ORGANIGRAMMA INTERNAZIONALE
   MENU INTERNO
===================================================== */

.internazionale-menu {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 45px;
}

.internazionale-menu-intro {
    margin-bottom: 28px;
}

.internazionale-menu-intro > span,
.presidenza-header > span {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #5FAF8A;
}

.internazionale-menu-intro h3,
.presidenza-header h3 {
    margin: 0 0 12px;

    font-size: 30px;
    line-height: 1.15;

    color: #0b1f3a;
}

.internazionale-menu-intro p,
.presidenza-header p {
    max-width: 700px;

    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #64748b;
}


/* =====================================================
   BOTTONI ORGANIGRAMMA / PRESIDENZA
===================================================== */


.internazionale-menu-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

.internazionale-choice {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 92px;
    padding: 18px 22px;
    box-sizing: border-box;

    border: 1px solid rgba(11, 31, 58, 0.10);
    border-radius: 16px;
    background: #ffffff;

    text-align: left;
    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.internazionale-choice:hover {
    transform: translateY(-3px);
    border-color: rgba(95, 175, 138, 0.45);
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.08);
}

.internazionale-choice.active {
    border-color: #5FAF8A;
    background: #f5fbf8;
}

.internazionale-choice-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #5FAF8A;
}

.internazionale-choice-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.internazionale-choice-content strong {
    font-size: 16px;
    color: #0b1f3a;
}

.internazionale-choice-content small {
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
}

.internazionale-choice-arrow {
    font-size: 22px;
    color: #5FAF8A;
    transition: transform 0.25s ease;
}

.internazionale-choice:hover .internazionale-choice-arrow {
    transform: translateX(4px);
}

/* Schermi piccoli */
@media (max-width: 600px) {
    .internazionale-menu-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}



/* =====================================================
   VISTE INTERNE
===================================================== */

.internazionale-view {
    display: none;
}

.internazionale-view.active {
    display: block;
}


/* =====================================================
   PULSANTE TORNA INDIETRO
===================================================== */

.internazionale-back {
    display: inline-flex;

    align-items: center;

    margin-bottom: 30px;

    padding: 0;

    border: 0;

    background: transparent;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    color: #5FAF8A;

    cursor: pointer;

    transition: transform 0.2s ease;
}

.internazionale-back:hover {
    transform: translateX(-4px);
}


/* =====================================================
   PRESIDENZA
===================================================== */

.presidenza-header {
    max-width: 800px;

    margin: 0 auto 35px;

    text-align: center;
}

.presidenza-list {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;

    border-top: 1px solid rgba(11, 31, 58, 0.10);
}

.presidenza-persona {
    display: grid;

    grid-template-columns: 70px 1fr;

    align-items: center;

    gap: 20px;

    padding: 24px 10px;

    border-bottom: 1px solid rgba(11, 31, 58, 0.10);

    transition:
        padding-left 0.25s ease,
        background 0.25s ease;
}

.presidenza-persona:hover {
    padding-left: 18px;

    background: #f7fbfa;
}

.presidenza-numero {
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    color: #5FAF8A;
}

.presidenza-dati {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.presidenza-dati h4 {
    margin: 0;

    font-size: 19px;
    font-weight: 600;

    color: #0b1f3a;
}

.presidenza-dati span {
    font-size: 13px;
    line-height: 1.5;

    color: #64748b;
}

.presidenza-dati .ruolo-da-inserire {
    color: #94a3b8;

    font-style: italic;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 700px) {

    .internazionale-menu-buttons {
        grid-template-columns: 1fr;
    }

    .internazionale-choice {
        grid-template-columns: 40px 1fr auto;

        min-height: 78px;

        padding: 16px;
    }

    .internazionale-menu-intro h3,
    .presidenza-header h3 {
        font-size: 25px;
    }

    .presidenza-persona {
        grid-template-columns: 45px 1fr;

        gap: 12px;

        padding: 20px 5px;
    }

    .presidenza-dati h4 {
        font-size: 17px;
    }

}

/* =========================================================
   PULSANTE INVIO CANDIDATURA
========================================================= */

.form-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    padding-bottom: 10px;
}

.btn-tessera {
    width: 100%;
    max-width: 420px;
    padding: 16px 30px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #0b1f3a,
        #173b63
    );

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(11, 31, 58, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-tessera:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(11, 31, 58, 0.28);

    background: linear-gradient(
        135deg,
        #173b63,
        #0b1f3a
    );
}

.btn-tessera:active {
    transform: translateY(0);
}

.btn-tessera:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* STESSA LARGHEZZA PER I MENU DEGLI ORGANIGRAMMI */

#internazionale-menu,
#organigramma-malta .internazionale-menu-buttons,
#organigramma-argentina .internazionale-menu-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* STESSA DIMENSIONE PER TUTTI I PULSANTI */

#internazionale-menu .internazionale-choice,
#organigramma-malta .internazionale-choice,
#organigramma-argentina .internazionale-choice {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* RIPRISTINO VISIBILITÀ SEZIONI CONFIEM */

#news,
#press,
#media,
#bacheca,
#eventi,
#video,
#organigrammi {
    display: block;
    visibility: visible;
    opacity: 1;
}


/* VISTE ORGANIGRAMMA MALTA */

#organigramma-malta .malta-view {
    display: none;
}

#organigramma-malta .malta-view.active {
    display: block;
}



/* ORGANIGRAMMA MALTA */

#organigramma-malta .malta-organigramma {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

#organigramma-malta .malta-box {
    width: 100%;
    max-width: 280px;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#organigramma-malta .malta-presidente {
    background: #183b56;
    color: #ffffff;
}

#organigramma-malta .malta-box h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

#organigramma-malta .malta-box p {
    margin: 0;
    font-size: 14px;
}

#organigramma-malta .malta-linea {
    width: 2px;
    height: 30px;
    background: #b7c8d8;
}

#organigramma-malta .malta-ruoli {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

#organigramma-malta .malta-presidenza-elenco {
    max-width: 650px;
    margin: 25px auto;
    padding: 25px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #ffffff;
}

#organigramma-malta .malta-presidenza-elenco li {
    padding: 15px 0;
    border-bottom: 1px solid #e5eaf0;
}

#organigramma-malta .malta-presidenza-elenco li span {
    display: block;
    margin-top: 5px;
    color: #64748b;
}


/* SISTEMAZIONE PULSANTI ORGANIGRAMMA MALTA */

#organigramma-malta .internazionale-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 650px;
    margin: 25px auto;
}

#organigramma-malta .internazionale-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 80px;
    height: auto;
    padding: 18px 22px;
    margin: 0;
    gap: 16px;
    text-align: left;
    white-space: normal;
}

#organigramma-malta .internazionale-choice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: 6px;
}

#organigramma-malta .internazionale-choice-content strong,
#organigramma-malta .internazionale-choice-content small {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

#organigramma-malta .internazionale-choice-arrow {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 600px) {
    #organigramma-malta .internazionale-choice {
        padding: 15px;
        min-height: 75px;
    }
}




#organigramma-malta .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#organigramma-malta .internazionale-choice {
    flex: 1;
    min-width: 0;
}

/* ORGANIGRAMMA ARGENTINA */

#organigramma-argentina .argentina-view {
    display: none;
}

#organigramma-argentina .argentina-view.active {
    display: block;
}

#organigramma-argentina .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#organigramma-argentina .internazionale-choice {
    flex: 1;
    min-width: 0;
}



#organigramma-argentina .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#organigramma-argentina .internazionale-choice {
    flex: 1;
    min-width: 0;
}




#organigramma-argentina .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
}

#organigramma-argentina .internazionale-choice {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
}

#organigramma-argentina .internazionale-choice-content small {
    display: none;
}

#organigramma-argentina .internazionale-choice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



#organigramma-argentina .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
}

#organigramma-argentina .internazionale-choice {
    flex: 0 1 220px;
    width: 220px;
    min-width: 0;
    padding: 10px 12px;
}


#organigramma-argentina .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}


#organigramma-argentina .internazionale-choice {
    flex: 0 1 250px;
    width: 250px;
    min-width: 0;
    padding: 7px 14px;
}


/* VISUALIZZAZIONE ORGANIGRAMMI DEI PAESI */

#organigramma-belgio .belgio-view,
#organigramma-russia .russia-view,
#organigramma-bulgaria .bulgaria-view,
#organigramma-grecia .grecia-view {
    display: none;
}

#organigramma-belgio .belgio-view.active,
#organigramma-russia .russia-view.active,
#organigramma-bulgaria .bulgaria-view.active,
#organigramma-grecia .grecia-view.active {
    display: block;
}

/* BOTTONI ALLINEATI E CENTRATI */

#organigramma-belgio .internazionale-menu-buttons,
#organigramma-russia .internazionale-menu-buttons,
#organigramma-bulgaria .internazionale-menu-buttons,
#organigramma-grecia .internazionale-menu-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}


/* RIMUOVE LE DESCRIZIONI DAI BOTTONI */

#organigramma-belgio .internazionale-choice-content small,
#organigramma-russia .internazionale-choice-content small,
#organigramma-bulgaria .internazionale-choice-content small,
#organigramma-grecia .internazionale-choice-content small {
    display: none;
}


/* BOTTONI ORGANIGRAMMI: FRECCE E DIMENSIONI */

#organigramma-belgio .internazionale-menu-buttons,
#organigramma-russia .internazionale-menu-buttons,
#organigramma-bulgaria .internazionale-menu-buttons,
#organigramma-grecia .internazionale-menu-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#organigramma-belgio .internazionale-choice,
#organigramma-russia .internazionale-choice,
#organigramma-bulgaria .internazionale-choice,
#organigramma-grecia .internazionale-choice {
    flex: 0 1 210px;
    width: 210px;
    min-width: 0;
    padding: 8px 12px;
}

#organigramma-belgio .internazionale-choice-arrow,
#organigramma-russia .internazionale-choice-arrow,
#organigramma-bulgaria .internazionale-choice-arrow,
#organigramma-grecia .internazionale-choice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   STRISCIA NOTIZIE HNIO
========================= */

#news-ticker {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #17253a;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid #d5ad55;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    position: sticky;
top: 0;
}

.news-ticker-label {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 16px;
    background: #d5ad55;
    color: #17253a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.news-ticker-window {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#news-ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 13px;
    animation: hnioNewsScroll 45s linear infinite;
}

#news-ticker-content a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 60px;
}

#news-ticker-content a:hover {
    color: #d5ad55;
    text-decoration: underline;
}

#news-ticker-content:hover {
    animation-play-state: paused;
}

@keyframes hnioNewsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 600px) {
    #news-ticker {
        height: 38px;
    }

    .news-ticker-label {
        padding: 0 9px;
        font-size: 10px;
        letter-spacing: 0;
    }

    #news-ticker-content {
        font-size: 12px;
        animation-duration: 40s;
    }
}

@media (prefers-reduced-motion: reduce) {
    #news-ticker-content {
        animation: none;
        padding-left: 12px;
    }
}

/* RIPRISTINO BOTTONE MENU HNIO */

.navbar .menu-button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 0 !important;
    flex: 0 0 48px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--blu-scuro);
    color: white;

    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.navbar .menu-button:hover {
    background: var(--celeste);
    color: var(--blu-profond);
}



/* =========================================
   GRAFICA UNIFORME ORGANIGRAMMI DEI PAESI
   Belgio - Russia - Bulgaria - Grecia
========================================= */

#organigramma-belgio .internazionale-menu-buttons,
#organigramma-russia .internazionale-menu-buttons,
#organigramma-bulgaria .internazionale-menu-buttons,
#organigramma-grecia .internazionale-menu-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 850px;
    margin: 25px auto 35px;
}

#organigramma-belgio .internazionale-choice,
#organigramma-russia .internazionale-choice,
#organigramma-bulgaria .internazionale-choice,
#organigramma-grecia .internazionale-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 18px 22px;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
    white-space: normal;
    transition: border-color 0.25s ease,
                background 0.25s ease,
                transform 0.25s ease;
}

#organigramma-belgio .internazionale-choice:hover,
#organigramma-russia .internazionale-choice:hover,
#organigramma-bulgaria .internazionale-choice:hover,
#organigramma-grecia .internazionale-choice:hover {
    border-color: #8bb9a4;
    background: #ffffff;
    transform: translateY(-2px);
}

#organigramma-belgio .internazionale-choice-content,
#organigramma-russia .internazionale-choice-content,
#organigramma-bulgaria .internazionale-choice-content,
#organigramma-grecia .internazionale-choice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: 5px;
}

#organigramma-belgio .internazionale-choice-content small,
#organigramma-russia .internazionale-choice-content small,
#organigramma-bulgaria .internazionale-choice-content small,
#organigramma-grecia .internazionale-choice-content small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

#organigramma-belgio .internazionale-choice-arrow,
#organigramma-russia .internazionale-choice-arrow,
#organigramma-bulgaria .internazionale-choice-arrow,
#organigramma-grecia .internazionale-choice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    color: #5a9b82;
}

@media (max-width: 600px) {
    #organigramma-belgio .internazionale-menu-buttons,
    #organigramma-russia .internazionale-menu-buttons,
    #organigramma-bulgaria .internazionale-menu-buttons,
    #organigramma-grecia .internazionale-menu-buttons {
        gap: 10px;
    }

    #organigramma-belgio .internazionale-choice,
    #organigramma-russia .internazionale-choice,
    #organigramma-bulgaria .internazionale-choice,
    #organigramma-grecia .internazionale-choice {
        min-height: 68px;
        padding: 12px;
        gap: 8px;
    }
}


/* =========================================
   STILE UNIFORME PER TUTTI GLI ORGANIGRAMMI
   Malta - Argentina - Belgio - Russia
   Bulgaria - Grecia
========================================= */

#organigramma-malta .internazionale-menu-buttons,
#organigramma-argentina .internazionale-menu-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 850px;
    margin: 25px auto 35px;
}

#organigramma-malta .internazionale-choice,
#organigramma-argentina .internazionale-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    height: auto;
    padding: 18px 22px;
    margin: 0;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
    white-space: normal;
    transition: border-color 0.25s ease,
                background 0.25s ease,
                transform 0.25s ease;
}

#organigramma-malta .internazionale-choice:hover,
#organigramma-argentina .internazionale-choice:hover {
    border-color: #8bb9a4;
    background: #ffffff;
    transform: translateY(-2px);
}

#organigramma-malta .internazionale-choice-content,
#organigramma-argentina .internazionale-choice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: 5px;
}

#organigramma-malta .internazionale-choice-content small,
#organigramma-argentina .internazionale-choice-content small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

#organigramma-malta .internazionale-choice-arrow,
#organigramma-argentina .internazionale-choice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    color: #5a9b82;
}

@media (max-width: 600px) {
    #organigramma-malta .internazionale-menu-buttons,
    #organigramma-argentina .internazionale-menu-buttons {
        gap: 10px;
    }

    #organigramma-malta .internazionale-choice,
    #organigramma-argentina .internazionale-choice {
        min-height: 68px;
        padding: 12px;
        gap: 8px;
    }
}






/* INTRO HNIO - ADATTAMENTO MOBILE */
@media screen and (max-width: 768px) {

    #intro {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        padding: 0;
        margin: 0;
        background-color: #ffffff;
        box-sizing: border-box;
        z-index: 9999;
    }

    #intro picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    #intro picture img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #intro .intro-button {
        position: absolute;
        left: 50%;
        bottom: 8%;
        transform: translateX(-50%);
        z-index: 10000;
        max-width: 85%;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }

}



button.bacheca-link,
.bacheca-link {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 0 !important;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

button.bacheca-link:hover,
button.bacheca-link:focus,
button.bacheca-link:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}


#invito-modal {
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;

    width: fit-content;
    height: fit-content;
    max-width: 90vw;
    max-height: 90vh;

    padding: 15px;
    border: none;
    border-radius: 12px;
    background: white;
    box-sizing: border-box;
    overflow: auto;
}

#invito-modal::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

#invito-modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(90vw - 30px);
    max-height: 78vh;
    object-fit: contain;
    margin: 0 auto;
}

#invito-modal .chiudi-foto {
    display: block;
    margin: 0 0 10px auto;
    padding: 0 5px;
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    color: #333;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}


.bacheca-link {
    display: block;
    text-align: left;
    margin-left: 0 !important;
    margin-right: auto !important;
}


/* NASCONDI TEMPORANEAMENTE LA SEZIONE TESSERA */
#tessera {
    display: none !important;
}

