/* ==========================================================
   SEZIONI GENERICHE RIUTILIZZABILI
   ========================================================== */

.section-white {
    background-color: #ffffff;
}

.section-light {
    background-color: #f9f9f6;
}

.content-section {
    padding: 50px 0;
    color: #2f2f2f;
}

.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ==========================================================
   RIGHE E COLONNE DIVI PAGINE ISTITUZIONALI / HOME
   ========================================================== */

.et_pb_row.site-page-row {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.et_pb_row.site-page-row .et_pb_column.site-page-column {
    padding: 0 !important;
    margin: 0 !important;
}


/* ==========================================================
   HERO PAGINA / HOME
   ========================================================== */

.page-hero-section {
    padding: 44px 0 22px;
}

.page-hero-wrapper {
    max-width: 1100px;
}

.page-hero-content {
    max-width: 860px;
}

.home-hero-logo {
    margin-bottom: 18px;
}

.home-hero-logo img {
    display: block;
    width: auto;
    max-width: 120px;
    height: auto;
}

.page-hero-content h1 {
    font-size: 42px;
    line-height: 1.12;
    color: #d97b66;
    margin-bottom: 16px;
}

.page-intro {
    font-size: 19px;
    line-height: 1.75;
    color: #5a5a5a;
    margin-bottom: 0;
}


/* ==========================================================
   BOX CONTENUTO HOME / PAGINE
   ========================================================== */

.page-content-box {
    background-color: #fcfbf8;
    border: 1px solid #eceae4;
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}


/* ==========================================================
   SEZIONI SPLIT TESTO + IMMAGINE
   ========================================================== */

.split-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.split-section-image-left {
    grid-template-columns: 0.95fr 1.05fr;
}

.split-content h2 {
    font-size: 34px;
    line-height: 1.2;
    color: #d97b66;
    margin-bottom: 16px;
}

.split-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.split-content p:last-child {
    margin-bottom: 0;
}

.split-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}


/* ==========================================================
   LISTE / VANTAGGI
   ========================================================== */

.feature-list {
    list-style: none !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
}

.feature-list li {
    list-style: none !important;
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::marker {
    content: "";
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #d97b66;
    font-size: 18px;
    line-height: 1.4;
}


/* ==========================================================
   CTA HIGHLIGHT
   ========================================================== */

.cta-highlight-section {
    padding: 10px 0 36px;
}

.cta-highlight-box {
    background-color: #fcfbf8;
    border: 1px solid #eceae4;
    border-radius: 14px;
    padding: 40px 42px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.cta-highlight-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-highlight-box h2 {
    color: #d97b66;
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.cta-highlight-box p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 16px;
}

.cta-highlight-box p:last-of-type {
    margin-bottom: 0;
}

.cta-highlight-box .btn-text {
    margin-top: 18px;
    margin-bottom: 0;
}


/* ==========================================================
   BOX INFO SEMPLICE
   ========================================================== */

.simple-info-box {
    max-width: 900px;
}

.simple-info-box h3 {
    color: #d97b66;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.simple-info-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.simple-info-box a {
    color: #d97b66;
    text-decoration: none;
}

.simple-info-box a:hover {
    color: #c46d58;
    text-decoration: underline;
}


/* ==========================================================
   SEZIONE DOCUMENTO / PDF
   ========================================================== */

.document-section {
    padding-top: 10px;
}

.document-box {
    background: #f8f6f2;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #ece9e1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}

.document-box h3 {
    color: #d97b66;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.document-box p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 18px;
}

.btn-download {
    display: inline-block;
    background: #d97b66;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: #c46d58;
    color: #fff;
}



/* ==========================================================
   HEADING SEZIONE
   ========================================================== */

.section-heading {
    max-width: 850px;
    margin-bottom: 0;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.2;
    color: #d97b66;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}


/* ==========================================================
   SEZIONE ADESIONE VECCHIA
   ========================================================== */

.home-adesione-section {
    padding: 40px 0;
    color: #2f2f2f;
}

.home-adesione-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.home-adesione-section h2 {
    color: #d97b66;
    font-size: 28px;
    margin-bottom: 20px;
}

.home-adesione-section h3 {
    color: #d97b66;
    font-size: 22px;
    margin-top: 30px;
}

.home-adesione-section p {
    margin-bottom: 20px;
}

.home-adesione-section p:last-of-type {
    margin-bottom: 30px;
}


/* ==========================================================
   SEZIONE NEWSLETTER
   ========================================================== */

.home-newsletter-section {
    padding: 40px 0;
    color: #2f2f2f;
}

.home-newsletter-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.home-newsletter-section h2 {
    color: #d97b66;
    font-size: 28px;
    margin-bottom: 20px;
}

.home-newsletter-section h3 {
    color: #d97b66;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.home-newsletter-section p {
    margin-bottom: 20px;
}

.home-newsletter-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.home-newsletter-section li {
    margin-bottom: 8px;
}

.newsletter-intro {
    font-weight: 500;
    margin-bottom: 20px;
}

.newsletter-note {
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 25px;
}


/* ==========================================================
   MESSAGGIO CONFERMA NEWSLETTER
   ========================================================== */

.newsletter-confirmation {
    background: #f2f6f3;
    border-left: 4px solid #d97b66;
    padding: 20px;
    margin-top: 25px;
    border-radius: 6px;
    line-height: 1.6;
}

.newsletter-confirmation h3 {
    color: #d97b66;
    margin-top: 0;
    margin-bottom: 10px;
}


/* ==========================================================
   PAGINA 404
   ========================================================== */

.page-not-found-section {
    padding: 60px 0;
    color: #2f2f2f;
    text-align: center;
}

.page-not-found-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-not-found-section h1 {
    color: #d97b66;
    font-size: 32px;
    margin-bottom: 20px;
}

.page-not-found-section p {
    margin-bottom: 20px;
}

.page-not-found-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.page-not-found-actions .btn-secondary {
    background-color: #f2f2e9;
    color: #2c2c2c !important;
    border: 2px solid #b4b4b4;
}

.page-not-found-actions .btn-secondary:hover {
    background-color: #ffffff;
    border-color: #666;
    color: #000 !important;
}

.page-not-found-note {
    font-size: 14px;
    color: #666;
    margin-top: 25px;
}


/* ==========================================================
   DIVISORE SEZIONI
   ========================================================== */

.section-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 40px 0;
}


/* ==========================================================
   RESPONSIVE TABLET
   ========================================================== */

@media (max-width: 980px) {
    .content-section {
        padding: 36px 0;
    }

    .page-hero-section {
        padding: 36px 0 20px;
    }

    .page-hero-content h1 {
        font-size: 36px;
    }

    .page-intro {
        font-size: 18px;
    }

    .page-content-box {
        padding: 30px 28px;
        border-radius: 12px;
    }

    .split-section,
    .split-section-image-left {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-highlight-section {
        padding: 10px 0 30px;
    }

    .cta-highlight-box {
        padding: 32px 28px;
    }

    .cta-highlight-box h2 {
        font-size: 30px;
    }

    .split-content h2,
    .section-heading h2,
    .simple-info-box h3 {
        font-size: 28px;
    }

}


/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */

@media (max-width: 600px) {
    .et_pb_row.site-page-row {
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
    }

    .home-adesione-section,
    .home-newsletter-section,
    .content-section {
        padding: 24px 0;
    }

    .page-hero-section {
        padding: 20px 0 12px;
    }

    .page-hero-content h1 {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .home-hero-logo {
        margin-bottom: 14px;
    }

    .home-hero-logo img {
        max-width: 100px;
    }

    .page-intro {
        font-size: 16px;
        line-height: 1.75;
    }

    .page-content-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .split-content h2,
    .section-heading h2,
    .simple-info-box h3 {
        font-size: 24px;
        line-height: 1.2;
    }

    .split-content p,
    .section-heading p,
    .simple-info-box p,
    .feature-list li {
        font-size: 15px;
        line-height: 1.75;
    }

    .split-section,
    .split-section-image-left {
        gap: 16px;
    }

    .split-media {
        margin-top: 4px;
    }

    .split-media img {
        border-radius: 12px;
    }

    .cta-highlight-section {
        padding: 8px 0 24px;
    }

    .cta-highlight-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .cta-highlight-box h2 {
        font-size: 26px;
        line-height: 1.15;
    }

    .cta-highlight-box p {
        font-size: 15px;
        line-height: 1.75;
    }

    .home-adesione-section h2,
    .home-newsletter-section h2 {
        font-size: 22px;
    }

    .home-adesione-section h3,
    .home-newsletter-section h3 {
        font-size: 20px;
    }

    .home-newsletter-section ul {
        padding-left: 18px;
    }

    .page-not-found-section {
        padding: 36px 0;
    }

    .page-not-found-section h1 {
        font-size: 26px;
    }

    .page-not-found-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-not-found-actions .btn-text {
        width: 100%;
        max-width: 320px;
    }
	
	/* ==========================================================
       SEZIONE DOCUMENTO / PDF - MOBILE
       ========================================================== */

    .document-box {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .document-box h3 {
        font-size: 22px;
    }

    .document-box p {
        font-size: 15px;
        line-height: 1.75;
    }
}