/* =========================================
   PAGE HEADER (Lo stesso delle altre pagine)
   ========================================= */
.page-header {
    position: relative;
    height: 50vh;
    /* Metà schermo */
    min-height: 400px;
    background: url('../immagini/sfondi/1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Molto scuro */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: var(--main-white);
    padding: 0 20px;
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
}

/* =========================================
   CONTENUTO LEGALE (Stilizzazione Vecchio HTML)
   ========================================= */
.legal-content {
    background-color: var(--main-white);
    padding: 80px 20px;
    min-height: 100vh;
}

/* Il contenitore del testo */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
}

/* Il paragrafo principale che contiene tutto il testo */
.container p {
    font-family: var(--font-body);
    /* Montserrat */
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    /* Migliore leggibilità */
    text-align: justify;
}

/* Stilizzazione della classe .titolo originale */
.titolo {
    display: block;
    /* Lo rendiamo un blocco per centrarlo */
    font-family: var(--font-heading);
    /* Oswald */
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--main-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 4px solid var(--main-red);
    /* Dettaglio rosso */
    padding-bottom: 10px;
}

/* Stilizzazione della classe .sottotitolo originale */
.sottotitolo {
    display: block;
    font-family: var(--font-heading);
    /* Oswald */
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--main-black);
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--main-red);
    /* Titoli dei paragrafi in rosso tecnico */
}

/* Link nel testo */
.container a {
    color: var(--main-red);
    text-decoration: underline;
    font-weight: 600;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

    .legal-content {
        padding: 40px 20px;
    }

    .titolo {
        font-size: 1.8rem;
    }

    .sottotitolo {
        font-size: 1.2rem;
    }
}