:root {
    --text: #555555;
    --text-light: #777777;
    --blue: #67acf1;        /* label, orari, nomi, link */
    --blue-sq: #6bacf2;     /* quadrati decorativi, barre, link "Scopri di più" */
    --purple: #7474e6;      /* bottoni */
    --lilac: #bac3ff;       /* quadrati decorativi, footer (inizio gradient) */
    --violet: #988dfc;      /* icona 1 "Perché partecipare" */
    --teal: #48c3c3;
    --green: #42d395;
    --bg-light-blue: #eaf3fb;
    --bg-programma: #f3f3fe;
    --border: #dedede;      /* bordo card (1px #bbb nel PSD, resa ~2px chiara) */
    --line: #bbbbbb;
    --input: #f6f6f6;
    --arrow: #0097fa;
    --shadow-card: 0 0 30px rgba(60, 60, 120, .12);
    --container: 1530px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.btn:hover{
    background-color: #9090F4;
    color:#FFF;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}

.nav a:hover {
    color: var(--blue);
    text-decoration: none;
}

/* ---------- tipografia ---------- */

.eyebrow {
    font-size: 16px;
    line-height: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--blue);
}

.h2 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 300;
    color: var(--text);
}

.h2 strong {
    font-weight: 700;
}

.center {
    text-align: center;
}

.center .h2 strong {
    font-weight: 800;
}

/* ---------- bottoni ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    transition: filter .2s;
}

.btn:hover {
    filter: brightness(1.08);
}

.btn--sm {
    width: 224px;
    height: 47px;
    font-size: 16px;
}

.btn--lg {
    width: 378px;
    height: 72px;
    font-size: 24px;
}

.btn--md {
    width: 308px;
    height: 59px;
    font-size: 20px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

/* ---------- quadrati decorativi ---------- */

.sq {
    position: absolute;
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}

.sq--lilac {
    background: var(--lilac);
}

.sq--blue {
    background: var(--blue-sq);
}

.sq--teal {
    background: var(--teal);
}

.sq--green {
    background: var(--green);
}

/* ==========================================================================
   HEADER  (h 101px)
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 100px;
    background: #fff;
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 21px 0 11px;
}

.header__logo {
    width: 182px;
    height: 65px;
    flex: none;
}

.header__logo img {
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    gap: 32px;
    margin-left: 99px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--blue);
}

.header .btn {
    margin-left: auto;
}

/* ==========================================================================
   HERO: unica immagine (foto + testi + bottone), 2000x560
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    margin: 0 auto;
    line-height: 0;
}

.hero img {
    margin: 0 auto;
    height: auto;
}


/* ==========================================================================
   IL PROGETTO  (y 660 → 1021)
   ========================================================================== */

.progetto {
    padding-top: 62px;
    padding-bottom: 62px;
    height: auto;
}

.progetto .container {
    display: flex;
    align-items: flex-start;
}

.progetto__title {
    width: 522px;
    padding-left: 3px;
}

.progetto__title .eyebrow {
    margin-bottom: 21px;
}

.progetto__title h2 {
    font-size: 48px;
    line-height: 55px;
    font-weight: 700;
    width: 470px;
}

.progetto__title h2 span {
    font-weight: 300;
}

.progetto__text {
    width: 580px;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
}

.progetto__text p + p {
    margin-top: 32px;
}

.progetto__text strong {
    font-weight: 700;
}

.progetto__figure {
    position: absolute;
    left: 1141px;
    top: -22px;
    width: 349px;
    height: 245px;
}

.progetto__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.progetto__figure .sq--lilac {
    left: 287px;
    top: 133px;
    width: 115px;
    height: 115px;
}

.progetto__figure .sq--blue {
    left: 221px;
    top: 191px;
    width: 93px;
    height: 93px;
}

/* ==========================================================================
   PERCHÉ PARTECIPARE  (y 1021 → 1527)
   ========================================================================== */

.perche {
    padding-bottom: 66px;
}

.perche .container {
    border-top: 1px solid var(--line);
    padding-top: 42px;
}

.perche .eyebrow {
    padding-left: 2px;
}

.perche .h2 {
    margin-top: 23px;
    padding-left: 4px;
}

.perche .sq--green {
    position: absolute; 
    left: 85%;           
    top: 70px;
    width: 158px;
    height: 158px;
    z-index: 0;
}

.cards4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 38px;
    position: relative;
    z-index: 1;
}

.card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 20px;
}

.why {
    min-height: 255px;
    padding: 30px 30px 10px;
}

.why__icon {
    width: 73px;
    height: 73px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
}

.why:nth-child(1) .why__icon {
    background: var(--violet);
}

.why:nth-child(2) .why__icon {
    background: var(--blue);
}

.why:nth-child(3) .why__icon {
    background: var(--teal);
}

.why:nth-child(4) .why__icon {
    background: var(--green);
}

.why h3 {
    margin-top: 20px;
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
}

.why p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
}

/* ==========================================================================
   IL PROGRAMMA  (sfondo #f3f3fe, y 1527 → 3030)
   ========================================================================== */

.programma {
    background: var(--bg-programma);
    padding: 85px 0 72px;
}

.programma .h2 {
    margin-top: 19px;
}

.programma__card {
    width: 100%;
    max-width: 1176px;
    margin: 67px auto 0;
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    padding: 80px 56px 62px;
}

.slot {
    display: grid;
    grid-template-columns: 181px 260px 1fr;
    align-items: start;
    padding: 22px 42px;
    background: var(--bg-light-blue);
    border-radius: 20px;
    margin-bottom: 17px;
}

.slot time {
    font-size: 20px;
    line-height: 26px;
    font-weight: 800;
    color: var(--blue);
}

.slot h3 {
    margin-top: 0;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
}

.slot p {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.slot a {
    font-weight: 700;
    color: var(--purple);
}

.programma__cta {
    text-align: center;
    margin-top: 43px;
    line-height: 0;
}

/* ==========================================================================
   TAVOLA ROTONDA  (y 3030 → 3736)
   ========================================================================== */

.tavola {
    padding: 65px 0 58px;
}

.tavola .container {
    padding-bottom: 0;
}

.tavola .h2 {
    margin-top: 19px;
    padding-left: 0;
}

.tavola__sub {
    margin-top: 8px;
    font-size: 18px;
    line-height: 32px;
    font-weight: 500;
    padding-left: 2px;
}

.tavola__sub strong {
    font-weight: 700;
}

/*.tavola__grid,
.tavola__slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 46px;
    position: relative;
}*/

.tavola__grid,
.tavola__slider {
    display: flex;
    margin-top: 46px;
    position: relative;
}

.tavola__grid_inner {
    display: flex;
}

.manager {
    overflow: hidden;
    padding: 0;
    margin: 0 10px;
}

.manager img {
    width: calc(100% + 4px);
    max-width: none;
    height: 219px;
    object-fit: cover;
    margin: -2px -2px 0;
}

.manager__body {
    padding: 20px 33px 10px;
}

.person-name {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 0;
}

.person-role {
    margin-top: 10px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
}

.person-org {
    margin-top: 10px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    font-style: italic;
    color: var(--text-light);
}

.moderatore__body .person-org {
    line-height: 15px;
}

.moderatore {
    position: relative;
    text-align: center;
    padding-left: 57px;
    width: auto;
}

.moderatore__photo {
    position: relative;
    z-index: 1;
    width: 243px;
    height: 243px;
    border-radius: 50%;
    overflow: hidden;
}

.moderatore__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moderatore .sq--lilac {
    left: 185px;
    top: -70px;
    width: 158px;
    height: 158px;
    z-index: 0;
}

.moderatore .sq--blue {
    left: 130px;
    top: -35px;
    width: 93px;
    height: 93px;
    z-index: 0;
}

.moderatore__body {
    margin-top: 27px;
}

/* Riga: [ carousel .tavola__grid_inner ][ aside .moderatore ] */
.tavola__grid {
    display: flex;
}

.tavola__grid_inner {
    display: block;
    flex: 1 1 0;
    min-width: 0; /* indispensabile: senza, la track di Slick allarga il flex item oltre il container */
}

/* Prima che Slick parta: 3 colonne, così non c'è "salto" al caricamento */
.tavola__grid_inner:not(.slick-initialized) {
    display: flex;
    flex-direction: row;
}

.tavola__grid_inner:not(.slick-initialized) .manager {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

/* Gap tra le card: 10px per lato, le larghezze le imposta Slick */
.manager {
    margin: 0 10px;
}

/* Card tutte alla stessa altezza */
.tavola__grid_inner .slick-track {
    display: flex;
}

.tavola__grid_inner .slick-slide {
    height: auto;
}

/* Spazio per i dots (compaiono solo quando le card non stanno tutte in vista) */
.tavola__grid_inner.slick-dotted.slick-slider {
    margin-bottom: 45px;
}

/* Aside: colonna fissa a destra (57px di padding + foto da 243px) */
.moderatore {
    flex: 0 0 300px;
}

/* Frecce di navigazione Slick – stile Case history */

.tavola__arrows {
    position: absolute;
    right: 0;
    top: 42px;
    display: flex;
    gap: 7px;
}

.tavola__arrows .arrow {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    border: 2px solid var(--lilac);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arrow);
    font-size: 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.tavola__arrows .arrow:hover {
    background: var(--arrow);
    color: #fff;
}

@media (max-width: 1280px) {
    .tavola__grid {
        flex-wrap: wrap;
    }

    /* carousel a tutta larghezza, aside sotto e centrato */
    .tavola__grid_inner,
    .moderatore {
        flex: 0 0 100%;
    }

    .moderatore {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .tavola__grid {
        margin-top: 25px; /* prima lo dava il margin-top delle card */
    }
}

@media (max-width: 767px) {
    /* 1 card alla volta, centrata e con larghezza massima */
    .tavola__grid_inner {
        max-width: 400px;
        margin: 0 auto;
    }
}


/* ==========================================================================
   CASE HISTORY  (y 3736 → 4403)
   ========================================================================== */

.case {
    padding-bottom: 77px;
}

/*.case .container {
    border-top: 1px solid var(--line);
    padding-top: 44px;
}*/

.case .container {
    padding-top: 44px;
}

.case .h2 {
    margin-top: 19px;
    padding-left: 0;
}

.case__arrows {
    position: absolute;
    right: 0;
    top: 42px;
    display: flex;
    gap: 7px;
}

.arrow {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    border: 2px solid var(--lilac);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arrow);
    font-size: 20px;
    background: #fff;
    cursor: pointer;
}

.case__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 50px;
    position: relative;
}

.case__intro p {
    margin-top: -8px;
}

.case__intro {
    padding: 0 0 0 0;
    font-size: 28px;
    line-height: 38px;
    font-weight: 400;
    position: relative;
}



.case__intro strong {
    font-weight: 700;
}

.case__intro .sq--green {
    left: 0;
    top: 255px;
    width: 93px;
    height: 93px;
}

.case__intro .sq--blue {
    left: 130px;
    top: 233px;
    width: 133px;
    height: 133px;
}

.case-card {
    height: 397px;
    overflow: hidden;
}

.case-card img {
    width: calc(100% + 4px);
    max-width: none;
    height: 174px;
    object-fit: cover;
    margin: -2px -2px 0;
}

.case-card__body {
    padding: 24px 20px 10px 28px;
    min-height: 312px;
}

.case-card h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    margin-top: 3px;
}

.case-card p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}
.speeches{margin-bottom: 20px;}
.speeches p{
    margin: 0 auto;
    color: var(--blue);
    font-weight: 600;
}
.speeches small{color:#777}

/* ==========================================================================
   MAIN SPONSOR E PARTNER  (sfondo #eaf3fb, y 4403 → 5676)
   ========================================================================== */

.sponsor {
    background: var(--bg-light-blue);
    padding: 85px 0 99px;
}

.sponsor .h2 {
    margin-top: 19px;
}

.tab-title {
    display: block;
    width: max-content;
    margin: 36px auto 0;
    font-size: 24px;
    line-height: 40px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 8px;
    position: relative;
}

.tab-title::after {
    content: "";
    display: block;
    height: 9px;
    margin-top: 0;
    background: var(--blue-sq);
}

.tab-title--teal::after {
    background: var(--teal);
}

/*.main-sponsors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 49px;
}*/

.main-sponsors {
    margin-top: 49px;
}

.msp {
    margin: 0 10px;
    padding: 30px;
    background: #fff;
}

.msp__logo {
    height: 105px;
    display: flex;
    align-items: center;
}

.msp__logo img {
    height: auto;
    max-width: 100%;
}

.msp h3 {
    margin-top: 20px;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
}

.msp p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}

.nw {
    white-space: nowrap;
}

.link-more {
    display: inline-block;
    font-size: 16px;
    line-height: 34px;
    font-weight: 800;
    color: var(--blue-sq);
    text-transform: uppercase;
}

.msp .link-more {
    margin-top: 19px;
}

.premium {
    margin-top: 51px;
}

/*.premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 27px;
    margin-top: 46px;
}*/

.premium-grid {
    margin-top: 46px;
}

.psp {
    padding: 25px 20px 25px;
    text-align: center;
    background: #fff;
    margin: 0 10px;
}

.psp__logo {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psp__logo img {
    max-width: 100%;
    height: auto;
}

.psp p {
    margin-top: 19px;
    font-size: 20px;
    line-height: 34px;
    font-weight: 500;
}

.psp p strong {
    font-weight: 700;
}

.psp .link-more {
    margin-top: 15px;
}

/* ==========================================================================
   PARTECIPA  (y 5676 → 6731)
   ========================================================================== */

.partecipa {
    padding: 58px 0 91px;
}

.partecipa .h2 {
    margin-top: 19px;
}

.join {
    max-width: 1175px;
    margin: 64px auto 0;
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    padding: 72px 52px 60px 37px;
    display: grid;
    grid-template-columns: 363px 1fr;
    gap: 71px;
    align-items: start;
}

.venue {
    background: var(--bg-light-blue);
    border-radius: 30px;
    overflow: hidden;
    padding-bottom: 18px;
}

.venue img {
    width: 100%;
    height: 257px;
    object-fit: cover;
}

.venue__body {
    padding: 45px 0 50px 35px;
}

.venue .info-item {
    margin-bottom: 21px;
    display: flex;
    gap: 20px;
}

.info-item div {
    font-size: 16px;
    font-weight: 500;
}

.venue .info-item:first-child {
    margin-bottom: 40px;
}

.venue .info-item i {
    font-size: 30px;
    color: var(--blue);
}

.venue__map {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 800;
    color: var(--blue-sq);
    text-transform: uppercase;
}

.venue__map i {
    font-size: 30px;
    color: var(--blue);
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    margin-top: -11px;
}

.field {
    display: block;
    margin-bottom: 22px;
}

.field--full {
    grid-column: 1 / -1;
}

.field span {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.field input,
.field textarea {
    display: block;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 8px;
    background: var(--input);
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
    padding: 0 16px;
    outline: none;
}

.field input:focus,
.field textarea:focus {
    box-shadow: 0 0 0 2px var(--blue);
}

.field textarea {
    height: 235px;
    padding: 14px 16px;
    resize: vertical;
}

.form .btn {
    margin-top: 16px;
}

.form-btn {
    padding: 15px 40px;
}

/* ==========================================================================
   FOOTER  (h 163px, gradient verticale)
   ========================================================================== */

.footer {
    height: 163px;
    background: linear-gradient(to bottom, var(--lilac), var(--blue-sq));
    color: #fff;
}

.footer .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 33px 0 33px;
}

.footer .container,
.footer .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0px 0 0px;
    justify-content: space-evenly;
}

.footer__logo {
    width: 215px;
    height: 77px;
}

.footer__logo img {
    width: 100%;
    height: auto;
}

.footer__copy {
    font-size: 20px;
    line-height: 40px;
    font-weight: 600;
    text-align: center;
}

.footer__social {
    display: flex;
    gap: 36px;
    font-size: 36px;
    line-height: 1;
}

.footer__social a {
    width: 36px;
    text-align: center;
}

.tavola__grid:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--line);
    position: absolute;
    bottom: -59px;
}

button.arrow:hover i {
    color: #FFF;
}
button.arrow:hover {
    background: var(--arrow);
}

header.isSticky{
    -webkit-box-shadow: 0px 5px 8px 0px #cdc9c94a;
    box-shadow: 0px 5px 8px 0px #cdc9c94a;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 1599px) {
    .progetto .container,.perche .container,.tavola .container,.case .container{
        padding-left: 0;
    }
}
@media (min-width: 1500px) {

    .slick-dotted .slick-dots{display: none !important;}


    .perche .sq--green {
        left: 78%;
    }
}

@media (max-width: 1560px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .progetto__figure {
        left: auto;
        right: 24px;
    }
}

@media (min-width: 1281px) and (max-width: 1599px) {
        .moderatore .sq--lilac {left: 155px;}
        .moderatore .sq--blue {left: 110px;}
}

@media (min-width: 1000px) and (max-width: 1499px) {
.footer .container, .footer .container-fluid{justify-content: space-between;}
}
@media (min-width: 1281px) and (max-width: 1499px) {
    .perche .sq--green {
        display: none;
    }

    .why h3 {
        font-size: 19px;
    }


}

@media (max-width: 1280px) {
    .progetto__figure .sq--blue,
    .progetto__figure .sq--lilac {
        display: none;
    }

    .nav {
        gap: 20px;
        margin-left: -20px;
        font-size: 14px;
    }

    .cards4,
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why {
        height: auto;
        padding-bottom: 30px;
    }

    .tavola__grid {
        flex-wrap: wrap;
    }

    .moderatore {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 30px;
        justify-content: center;
    }

    .moderatore .sq--lilac,
    .moderatore .sq--blue {
        display: none;
    }

    .case__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case__intro {
        grid-column: 1 / -1;
    }

    .case__intro .sq--green,
    .case__intro .sq--blue {
        display: none;
    }

    .manager,
    .case-card {
        height: auto;
        padding-bottom: 30px;
    }

    .main-sponsors {
        grid-template-columns: repeat(3, 1fr);
    }

    .msp {
        height: auto;
        padding-bottom: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
.main-sponsors article {
    min-height: 363px;
}
}
@media (min-width: 1200px) and (max-width: 1410px) {
.main-sponsors article {
    min-height: 410px;
}
}

@media (min-width: 1024px) and (max-width: 1399px) {
.msp p {
    font-size: 15px;
    line-height: 24px;
}
.msp h3 {
    font-size: 21px;
    line-height: 30px;
}
.psp p {
    font-size: 18px;
    line-height: 29px;
        margin-top: 10px;
}
}
@media (min-width: 767px) and (max-width: 1199px) {
    .progetto__figure {
        display: none;
    }
}

@media (max-width: 1199px) {
    .case-card__body {
        min-height: 240px;
    }

    .moderatore__body {
        margin-top: 0px;
    }

    .header .container {
        padding: 0 15px 0 11px;
    }

    .header {
        height: 75px;

    }

    .header__logo img {
        width: 80%;
        padding-top: 8px;
    }

    .perche .sq--green {
        display: none;
    }

    .eyebrow {
        font-size: 22px;
    }

    .case__arrows,.tavola__arrows {
        right: 25px;
    }
}

@media (min-width: 981px) and (max-width: 1279px) {
    .why__icon {
        width: 95px;
        height: 70px;
        font-size: 30px;
    }
}

@media (max-width: 980px) {
    .manager {
        margin: 25px 10px;
    }

    .moderatore {
        padding-left: 0;
    }

    .progetto {
        padding-top: 30px;
    }

    .eyebrow {
        font-size: 22px;
    }

    #sponsor .card {
        margin: 0 15px;
    }

    #sponsor .msp h3 {
        margin-top: 15px;
        font-size: 19px;
        line-height: 1.2em;
        font-weight: 700;
    }

    #sponsor .msp p {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.4em;
        font-weight: 500;
    }

    #sponsor .msp .link-more {
        margin-top: 10px;
    }

    .case .h2 {
        margin-top: 25px;
        padding-left: 0;
    }

    .arrow {
        width: 35px;
        height: 35px;
    }

    .case__grid {
        margin-top: 35px;
    }

    .nav,
    .header .btn {
        display: none;
    }

    .perche .container {
        padding-top: 60px;
    }

    .progetto {
        height: auto;
        padding-bottom: 15px;
    }

    .progetto .container {
        flex-direction: column;
        gap: 25px;
    }

    .progetto__title,
    .progetto__text {
        width: 100%;
    }

    .progetto__title h2 {
        width: auto;
    }

    .progetto__title h2 br {
        display: none;
    }

    .progetto__title h2 span.make-space,
    .progetto__title h2 span {
        margin: 0 5px 0 0;
    }
    .make-space{font-weight: 700;}

    .progetto__figure {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        height: auto;
    }

    .progetto__figure .sq {
        display: none;
    }

    .h2 {
        font-size: 48px;
    }

    .slot {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 20px 24px;
    }

    .programma__card {
        padding: 40px 20px 40px;
    }

    .tavola__grid,
    .case__grid,
    .cards4,
    .premium-grid,
    .main-sponsors {
        grid-template-columns: 1fr;
    }

    .case__arrows,.tavola__arrows {
        display: none;
    }

    .join {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 30px;
    }

    .venue {
        height: auto;
        padding-bottom: 30px;
    }


    .perche .sq--green {
        display: none;
    }

    .footer {
        height: auto;
        padding: 30px 0;
    }

    .footer .container,
    .footer .container-fluid {
        flex-direction: column;
        gap: 12px;
    }
    .footer__social {gap:15px}

    .footer__copy span {
        display: block;
    }

    .footer__copy {
        line-height: 1.3em;
    }

    .moderatore {
        width: auto;
        margin: 0 auto;
    }
}

@media (max-width: 991px){
    .tavola__grid {
        margin-top: 0;
    }
}
@media (min-width: 767px) and (max-width: 1199px) {
  .footer .container,
    .footer .container-fluid {
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
    }
    .footer__copy span{display: inline-block;}
    .footer__copy {
        line-height: 1.3em;
        margin-bottom: 0;
        font-size: 18px;
    }
    .footer__social {
        gap: 5px;
        font-size: 30px;
    }
    .msp h3 {
        font-size: 21px;
        line-height: 30px;
    }
}
@media (min-width: 701px) and (max-width: 899px) {
   
    .manager__body {
        padding: 15px 15px 0;
    }

    .person-name {
        font-size: 20px;
        line-height: 28px;
    }

    .person-role,
    .person-org {
        margin-top: 10px;
        font-size: 16px;
    }

    .manager {
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {
        .moderatore__body {
        margin-top: 20px;
    }
    .tavola__grid {
        display: block;
    }

    .tavola__grid_inner {
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) and (max-width: 980px) {
    .venue__body {
        padding: 30px 0 0px 30px;
        display: flex;
        gap: 20px;
    }
    .venue__map{
        margin-top: 0;
        align-items: start;
        font-size: 13px;
    }
    .venue .info-item:first-child {margin-bottom: 0px;}
    .venue .info-item {margin-bottom: 0px;}
    .info-item div {font-size: 14px;}
}
@media screen and (min-width: 660px) and (max-width: 1279px) {
    article.card.why {
        display: flex;
        gap: 20px;
        min-height: 100px;
    }

    .why h3 {
        margin-top: 0;
    }
}

@media (max-width: 667px) {
    .case {
        padding-bottom: 50px;
    }
        .case-card__body {
        min-height: 335px;
    }
    .slick-dots {bottom:-30px !important}
    .tavola .slick-dots {bottom:-10px !important}
    .case .case__intro {
        padding: 0 0 0 0;
        font-size: 24px;
        line-height: 33px;
        font-weight: 400;
        position: relative;
    }
    .slot p{font-size: 17px;}
    .h2 {
        font-size: 33px;
        line-height: 44px;
    }
    .case__arrows,.tavola__arrows {
        right: 20px;
        top: 30px;
    }

    .progetto__title h2 {
        font-size: 26px;
        line-height: 1.3em;
    }
    .form {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 481px) and (max-width: 699px) {
    .manager {
        width: 70%;
        margin: 0 auto 25px;
    }

    .tavola__sub {
        margin-bottom: 35px;
    }
}

@media (min-width: 595px) and (max-width: 767px) {
    .manager {
        width: 50%;
        margin: 0 auto 25px;
    }
}

@media (max-width: 480px) {
    .h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .venue {
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .venue__body {
        padding: 25px 0 20px 25px;
    }

    .info-item div {
        font-size: 14px;
    }

    .venue__map {
        font-size: 13px;
    }

    .venue .info-item i,
    .venue__map i {
        font-size: 25px;
    }
}

/* ---------- Slick Case History ---------- */

.case__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.case__intro {
    grid-column: auto;
}

.case__slider {
    grid-column: span 3;
    min-width: 0;
}

.case__slider .slick-list {
    margin: 0 -13px;
}

.case__slider .slick-slide {
    margin: 0 10px;
}

.case__slider .case-card {
    width: 100%;
}



@media (min-width: 1280px) and (max-width: 1565px) {
    .moderatore {
        width: auto;
        flex-direction: column;
        margin: 15px auto 0;
    }

    .nav {
        gap: 30px;
        margin-left: 20px;
        font-size: 15px;
    }

    .btn-partecipa {
        font-size: 15px;
    }

    .progetto__figure .sq--blue,
    .progetto__figure .sq--lilac,
    .progetto__figure {
        display: none;
    }

    .progetto__text,
    .progetto__title {
        width: 50%;
    }
    .case__intro p {
    margin-top: -8px;
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.3em;
}
.case-card p {font-size: 14px;}
.case__arrows,.tavola__arrows {right: 20px};
}
@media (min-width: 1280px) and (max-width: 1399px) {
    .case__intro .sq--blue, .case__intro .sq--green {display: block}
    .case-card__body {min-height: 237px;}
    .case__intro .sq--green {top: 305px;}
    .case__intro .sq--blue {top: 263px;}

}

@media (min-width: 1299px) and (max-width: 1359px) {
   .header  .form-btn { padding: 15px 23px;}
    .btn-partecipa {
        font-size: 13px;
    }
    }
@media (min-width: 1200px) and (max-width: 1299px) {
   .header  .form-btn { padding: 15px 30px;}
    .btn-partecipa {
        font-size: 14px;
    }

    .nav {
        margin-left: 10px;
        gap: 25px;
    }

    .progetto__figure {
        display: none;
    }
}
@media (min-width: 1200px) and (max-width: 1250px) {
   .header  .form-btn { padding: 15px 15px;}
    .btn-partecipa {
        font-size: 13px;
    }
}

@media (max-width: 1280px) {
    .moderatore {
        width: auto;
        flex-direction: column;
        margin: 15px auto 0;
    }

    .perche .sq--green {
        display: none;
    }

    .case__grid {
        grid-template-columns: 1fr;
    }

    .case__intro {
        grid-column: auto;
        padding-left: 0;
    }

    .case__slider {
        grid-column: auto;
        width: 100%;
    }
}

@media (min-width: 1029px) and (max-width: 1199px) {
    .case-card__body {
        min-height: 250px;
    }
}

@media (max-width: 980px) {
    .case__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .case__slider {
        width: 100%;
    }

    .case__arrows {
        display: flex;
    }
}

.slick-dots li.slick-active button:before,
.slick-dots li button:before {
    color: var(--blue) !important;
}

/* Stile del pulsante hamburger */

.nav-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: inherit;
    cursor: pointer;
    padding: 5px 10px;
    display: none;
    z-index: 1001;
}

/* Transizione fluida per l'icona */

.nav-toggle i {
    transition: transform 0.3s ease;
}

.nav-toggle.is-active i {
    transform: rotate(90deg);
}

@media (max-width: 1199px) {
    

    .nav-toggle {
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header .nav {
        display: flex;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition:
            max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease-in-out,
            visibility 0.4s ease-in-out,
            padding 0.4s ease-in-out;
        position: absolute;
        top: 100%;
        left: 19px;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        padding: 0 20px;
        text-align: center;
        z-index: 1000;
        gap: 7px;
        -webkit-box-shadow: 0px 5px 8px 0px #3333334a;
        box-shadow: 0px 5px 8px 0px #3333334a;
    }

    .header .nav.is-open {
        max-height: calc(100vh - 80px);
        opacity: 1;
        visibility: visible;
        padding: 0;
        overflow-y: auto;
    }

    .header .nav a {
        padding: 1px 20px 10px;
        display: block;
        font-size: 16px;
        border-bottom: 1px solid #f2f2f2;
        transition: background-color 0.2s ease;
    }

    .header .nav a:last-child {
        border-bottom: none;
        padding-bottom: 2px;
    }

    .header .nav a:hover {
        background-color: #f9f9f9;
    }
}

.custom-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease;
}

.custom-modal[hidden] {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.custom-modal__content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .2);
    transform: translateY(18px) scale(.97);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.custom-modal:not([hidden]) .custom-modal__content {
    transform: translateY(0) scale(1);
}

.privacy-consent {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
}

.privacy-consent input {
    margin-right: 6px;
}


@media (max-width: 499px) {
    .manager, .case-card {
        height: auto;
        padding-bottom: 5px;
    }
}
