/* --- STILE PER LE PAGINE ARTICOLO --- */

body {
    background-color: #f8f9fa; /* Un bianco leggermente più caldo per la lettura */
}

/* --- EFFETTO PARALLASSE --- */
.parallax-container {
    min-height: 60vh; /* Altezza della sezione parallasse */
    background-attachment: fixed; /* LA REGOLA CHIAVE PER IL PARALLASSE */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* Immagini di sfondo specifiche per ogni sezione parallasse */
#eroe-articolo {
    background-image: url('https://3-5.cloud/Amor_che_move/images/sfondo-eroe.webp'); /* <-- IMMAGINE DA TROVARE */
}

#domanda-articolo {
    min-height: 50vh;
    background-image: url('https://3-5.cloud/Amor_che_move/images/sfondo-eroe.webp'); /* <-- IMMAGINE DA TROVARE */
}

.hero-text-articolo h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
}

.hero-text-articolo h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.testo-sovrapposto {
    background-color: rgba(0,0,0,0.4); /* Sfondo semi-trasparente per leggibilità */
    padding: 2rem 3rem;
    border-radius: 8px;
}

.testo-sovrapposto h2, .testo-sovrapposto h3 {
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.domanda-chiave {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
}

/* --- LAYOUT DEL CONTENUTO DELL'ARTICOLO --- */
.contenuto-articolo {
    max-width: 720px; /* Larghezza ideale per la leggibilità */
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: white;
    line-height: 1.8;
}

.contenuto-articolo .introduzione {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.sezione-articolo {
    margin-bottom: 4rem;
}

.sezione-articolo h2, .sezione-articolo h3 {
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.sezione-articolo p {
    margin-bottom: 1.5rem;
    font-family: var(--font-testo);
    font-weight: 400;
}

.sezione-articolo blockquote {
    border-left: 3px solid var(--oro-pallido);
    margin: 2rem 0;
    padding: 1rem 2rem;
    font-family: var(--font-titoli);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--grigio-ardesia);
    background-color: #f8f9fa;
}

.confronto-colonne {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.colonna {
    flex: 1;
    border-top: 2px solid var(--grigio-ardesia);
    padding-top: 1rem;
}

.immagine-simbolica {
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

ol li {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* --- FOOTER DELL'ARTICOLO --- */
.footer-articolo {
    background-color: var(--blu-notte);
    color: var(--testo-chiaro);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-articolo h2 {
    color: white;
}

.footer-articolo a {
    display: inline-block;
    background-color: var(--oro-pallido);
    color: var(--blu-notte);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-articolo a:hover {
    transform: scale(1.05);
}