/* ================================================
   GALLERIES-TEXT.CSS
   Stili per galleries con testo descrittivo
   ================================================ */

/* ============================
   GALLERY TEXT SECTION
============================ */
.gallery-text-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 40px 60px !important;
    transform: translateY(-50px) !important;
}

.gallery-text-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-text-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    color: #333;
    margin: 0 0 40px;
    line-height: 1.4;
}

.gallery-text-container p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px;
    text-align: justify;
}

/* Paragrafi centrati (per [IT] e [EN]) */
.gallery-text-container p[style*="text-align: center"] {
    text-align: center !important;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.1em;
    margin: 30px 0 20px;
    color: #333;
}

/* Paragrafi centrati ma non in grassetto */
.gallery-text-container p.center-simple {
    text-align: center !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    color: #555 !important;
}


.gallery-text-container p strong {
    font-weight: 700;
}

.gallery-text-container p em {
    font-style: italic;
}

.gallery-text-container p br {
    content: "";
    display: block;
    margin: 8px 0;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
    .gallery-text-section {
        padding: 0 20px 40px !important;
        transform: translateY(-40px) !important;
    }
    
    .gallery-text-container h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .gallery-text-container p {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }
    
    .gallery-text-container p[style*="text-align: center"] {
        text-align: center !important;
        font-size: 15px;
        margin: 25px 0 15px;
    }
}

@media (max-width: 480px) {
    .gallery-text-section {
        padding: 0 16px 30px !important;
        transform: translateY(-30px) !important;
    }
    
    .gallery-text-container h2 {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .gallery-text-container p {
        font-size: 13px;
    }
}
