@media all {
    .interna-hero {
        position: relative;
        min-height: 560px;
        overflow: hidden;
        color: var(--bianco);
        background: var(--viola);
    }

    .interna-hero::after {
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(90deg, rgba(49,39,134,1) 0%, rgba(49,39,134,1) 45%, rgba(49,39,134,0.60) 65%, rgba(49,39,134,0.1) 100%);
        content: "";
        pointer-events: none;
    }

    .interna-hero-immagine {
        position: absolute;
        z-index: 0;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-interna-contenuto {
        position: relative;
        z-index: 2;
        padding-top: 132px;
    }

    .breadcrumb { margin-bottom: 17px; color: rgba(255,255,255,0.80); font-size: 12px; }
    .breadcrumb ol { display: flex; flex-wrap: wrap; }
    .breadcrumb li + li::before { margin: 0 7px; content: "/"; }
    .breadcrumb a { text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }

    .interna-hero .sopratitolo { margin-bottom: 15px; }
    .interna-hero h1 { margin-bottom: 18px; color: var(--bianco); }
    .interna-hero p:not(.sopratitolo),
    .interna-hero .hero-testo { color: rgba(255,255,255,0.92); font-size: 18px; }
    .interna-hero .pulsante { margin-top: 28px; }

    .introduzione-patente {
        min-height: 440px;
        padding: 80px 0;
    }

    .testo-percorso { float: left; width: 53%; max-width: 650px; }
    .testo-percorso h2 { margin-bottom: 26px; }

    .scheda-breve {
        float: right;
        width: 41%;
        max-width: 500px;
        padding: 34px 38px 24px;
        border-top: 4px solid var(--arancio);
        background: var(--grigio-chiaro);
    }

    .scheda-breve h2 { margin-bottom: 20px; font-size: 19px; letter-spacing: -0.015em; }
    .scheda-breve dl > div {
        display: flex;
        min-height: 49px;
        border-top: 1px solid #d8d7dc;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        color: var(--grigio-testo);
        font-size: 12px;
    }
    .scheda-breve dt { font-weight: 400; }
    .scheda-breve dd { color: var(--testo); font-size: 13px; font-weight: 800; text-align: right; }

    .tappe {
        min-height: 470px;
        padding: 77px 0 67px;
        color: var(--bianco);
        background: var(--viola);
    }

    .tappe h2 { margin-bottom: 52px; font-size: 40px; }

    .tappe-elenco { display: flex; flex-wrap: wrap; row-gap: 48px; }
    .tappe-elenco li {
        width: 25%;
        min-height: 140px;
        padding: 0 34px;
        border-left: 1px solid rgba(255,255,255,0.24);
    }
    .tappe-elenco li:first-child,
    .tappe-elenco li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
    .tappe-elenco li:last-child { padding-right: 0; }
    .tappe-elenco span { display: block; margin-bottom: 19px; color: var(--arancio); font-size: 11px; font-weight: 800; }
    .tappe-elenco h3 { margin-bottom: 14px; color: var(--bianco); font-size: 19px; }
    .tappe-elenco p { color: rgba(255,255,255,0.78); font-size: 12px; line-height: 1.55; }

    .requisiti {
        min-height: 513px;
        padding: 80px 0 75px;
    }

    .requisiti-testo { float: left; width: 42%; max-width: 470px; }
    .requisiti-testo h2 { margin-bottom: 23px; }
    .requisiti-testo > p:not(.sopratitolo),
    .requisiti-descrizione { margin-bottom: 25px; color: var(--grigio-testo); }

    .checklist {
        float: right;
        display: grid;
        width: 54%;
        margin-top: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist li {
        position: relative;
        min-height: 87px;
        padding: 27px 18px 18px 37px;
        border-top: 1px solid #d8d7dc;
        color: #4e4d58;
        font-size: 13px;
    }

    .checklist li::before {
        position: absolute;
        top: 24px;
        left: 0;
        color: var(--arancio);
        content: "✓";
        font-size: 18px;
        font-weight: 800;
    }

    .metodo { min-height: 407px; background: var(--grigio-chiaro); }
    .metodo-testo { float: left; width: 58%; min-height: 407px; }
    .metodo-contenuto { margin-left: max(24px, calc((100vw - 1320px) / 2)); padding: 68px 82px 50px 0; }
    .metodo h2 { margin-bottom: 22px; font-size: 39px; }
    .metodo-testo p:not(.sopratitolo),
    .metodo-descrizione { margin-bottom: 26px; color: var(--grigio-testo); }
    .metodo-foto { float: right; width: 42%; height: 407px; overflow: hidden; }
    .metodo-foto img { width: 100%; height: 100%; object-fit: cover; }

    .domande { min-height: 403px; padding: 67px 0 58px; }
    .domande-titolo { float: left; width: 39%; }
    .domande-titolo h2 { font-size: 39px; }
    .faq-elenco { float: right; width: 56%; }
    .faq-elenco details { border-top: 1px solid #d7d6dc; }
    .faq-elenco details:last-child { border-bottom: 1px solid #d7d6dc; }
    .faq-elenco summary {
        position: relative;
        min-height: 58px;
        padding: 17px 42px 14px 0;
        font-size: 14px;
        font-weight: 800;
        list-style: none;
        cursor: pointer;
    }
    .faq-elenco summary::-webkit-details-marker { display: none; }
    .faq-elenco summary::after { position: absolute; top: 14px; right: 5px; content: "+"; font-size: 21px; font-weight: 400; }
    .faq-elenco details[open] summary::after { content: "−"; }
    .faq-elenco details p { padding: 0 42px 18px 0; font-size: 13px; }
}

@media all and (max-width: 1100px) {
    .tappe-elenco li { padding-right: 24px; padding-left: 24px; }
    .metodo-contenuto { padding-right: 50px; }
}

@media all and (max-width: 820px) {
    .interna-hero { min-height: 520px; }
    .hero-interna-contenuto { padding-top: 105px; }
    .introduzione-patente { min-height: 0; padding: 70px 0; }
    .testo-percorso, .scheda-breve { float: none; width: 100%; max-width: none; }
    .scheda-breve { margin-top: 45px; }
    .tappe { min-height: 0; padding: 65px 0; }
    .tappe-elenco { flex-wrap: wrap; }
    .tappe-elenco li { width: 50%; margin-bottom: 38px; }
    .tappe-elenco li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .requisiti { min-height: 0; padding: 70px 0; }
    .requisiti-testo, .checklist { float: none; width: 100%; max-width: none; }
    .checklist { margin-top: 48px; }
    .metodo-testo, .metodo-foto { float: none; width: 100%; }
    .metodo-testo { min-height: 0; }
    .metodo-contenuto { width: calc(100% - 48px); max-width: 1320px; padding: 60px 0; margin: 0 auto; }
    .metodo-foto { height: 390px; }
    .domande { min-height: 0; padding: 65px 0; }
    .domande-titolo, .faq-elenco { float: none; width: 100%; }
    .faq-elenco { margin-top: 40px; }
}

@media all and (max-width: 600px) {
    .interna-hero { min-height: 560px; }
    .hero-interna-contenuto { padding-top: 90px; }
    .interna-hero p:not(.sopratitolo),
    .interna-hero .hero-testo { font-size: 16px; }
    .tappe h2, .metodo h2, .domande-titolo h2 { font-size: 34px; }
    .tappe-elenco { display: block; }
    .tappe-elenco li, .tappe-elenco li:nth-child(odd) { width: 100%; min-height: 0; margin: 0; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.24); border-left: 0; }
    .checklist { grid-template-columns: 1fr; }
    .checklist li { min-height: 70px; }
    .metodo-contenuto { width: calc(100% - 36px); }
    .metodo-foto { height: 290px; }
}

@media all and (max-width: 420px) {
    .metodo-contenuto { width: calc(100% - 28px); }
    .scheda-breve { padding-right: 25px; padding-left: 25px; }
}
