/* --- SEZIONE HERO --- */
.hero-section {
    width: 100%;
    min-height: 80vh;
    background-color: #fff;
    display: flex;
    align-items: stretch;
    padding-top: 65px;
    overflow: hidden;
}


.section-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: #39001d;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.coral-books-section {
    width: 100%;
    background-color: #dadada;
    color: #39001d;
    padding: 80px 40px;
}

.coral-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.coral-container h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.1;
    color: #39001d;
    font-weight: 500;
    font-family: 'Playfair Display', Georgia, serif;
    padding-left: 30px;
}
.coral-half {
    flex: 1;
}

.book-inner {
    display: flex;
    align-items: center;
    gap: 30px; 
    padding: 30px;
    border-radius: 16px;
}


.book-image-det {
    flex: 1;
    display: flex;
    justify-content: center;
}

.book-image-det img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.book-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #39001d;
}

.book-btn {
    display: inline-block;
    background-color: #2f0619;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
    letter-spacing: 0.35px;
}

.book-btn:hover {
    background-color: #5a0933;
    transform: translateY(-2px);
}

.section-subtitle-tags {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #39001d;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    margin-top: 20px; 
    background-color: #ede9cf; 
    padding: 10px; 
    border-radius: 10px; 
}
 [itemprop="articleBody"] h1 {
    line-height: 2.8rem !important;
    margin-bottom: 40px;
}

 [itemprop="articleBody"] h2 {
    line-height: 2.3rem !important;
    margin-top: 40px;
    margin-bottom: 20px;
}

 [itemprop="articleBody"] ol {
    margin-left: 40px;
   
}


.archive-btn-container {
    margin-top: 40px;
}

.archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #39001d;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 20px;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-container {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
}

.hero-profilo-card {
    flex: 0 0 50%;
    background-color: #fff;
    color: #39001d;
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-profilo-card h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 4cqw, 64px);
    line-height: 1.08;
    font-weight: 400;
    margin-bottom: 20px;
    color: #39001d;
    max-width: 650px;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.testo-profilo-sub {
    color: #39001d;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-single-image {
    flex: 0 0 50%;
    min-height: 80vh;
    overflow: hidden;
    position: relative;
}

.hero-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* --- SEZIONE TESTO / ABOUT --- */
.about-timeline-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text-side {
    flex: 1;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #39001d;
    font-weight: 400;
    text-align: justify;
}

.post-link {
    color: rgb(74, 74, 197);
    transition: color 0.3s ease;
}

.post-link:hover {
    color: rgb(11, 11, 92);
}


      .book-details-container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: #f0e2e2!important ;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    background-color: #ffffff; /* Sfondo bianco come nell'esempio */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #39001d; /* Riprende il colore principale del tuo sito */
    border-radius: 12px;
    margin-top: 30px;
}

.detail-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 2.4em; /* Allinea l'altezza in caso di testo su due righe */
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon {
    font-size: 1.5rem;
    color: #39001d;
    margin-bottom: 12px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Se al posto di FontAwesome vuoi usare delle immagini tue (.png o .svg): */
.detail-icon img {
    max-height: 30px;
    width: auto;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* ==========================================================================
   MEDIA QUERIES (SPECIFICHE)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-profilo-card {
        padding: 60px 40px;
    }

        .coral-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-timeline-container {
        padding: 60px 30px;
        gap: 40px;
    }

    .about-text-side {
        font-size: 1.15rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-profilo-card {
        flex: 1 0 auto;
        padding: 50px 25px 40px 25px;
        text-align: left;
    }

    .hero-single-image {
        flex: 1 0 auto;
        width: 100% !important;
        height: 350px !important;
        min-height: 350px !important;
    }

    .hero-single-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .about-timeline-container {
        flex-direction: column;
        padding: 40px 25px;
        gap: 25px;
    }

    .about-text-side {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: left;
    }

     .coral-books-section {
        padding: 50px 20px;
    }

     .book-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
     .book-btn {
        align-self: center;
    }
}