/* ADR Group - correzioni 09/11/2026 (caricato dopo StyleSheet.css) */

/* H1 in piu' trasformati in H2 da SeoSito: stesso aspetto degli h1 del sito */
body h2:where(.come-h1) {
    font-size: 40px;
    color: #666;
    text-align: center;
    line-height: 48px;
    padding: 10px 0;
}

/* Telefono: niente contenuto piu' largo dello schermo */
@media (max-width: 767px) {
    /* testi dei decreti in <pre>: vanno a capo */
    .body-content pre {
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    /* indirizzi web lunghi (News) */
    .body-content p,
    .body-content li,
    .body-content td,
    .body-content a {
        overflow-wrap: anywhere;
    }
    /* immagini e video dentro lo schermo */
    .body-content img,
    .body-content video,
    .body-content iframe {
        max-width: 100%;
    }
    .body-content img {
        height: auto;
    }
    /* tabelle con larghezze fisse (tariffe del Regolamento) */
    .body-content table {
        width: 100% !important;
        max-width: 100%;
        table-layout: auto;
    }
    .body-content td,
    .body-content th,
    .body-content table p {
        width: auto !important;
    }
    /* riquadri laterali flottanti nei testi */
    .body-content .TextBox div[style*="float:right"],
    .body-content .TextBox div[style*="float: right"] {
        float: none !important;
        width: auto !important;
        margin: 0 0 10px 0 !important;
    }
}
