/* ====================================================================
 S EO FIX CSS - Mantiene l'aspetto visivo dopo la correzione degli heading *
 ==================================================================== */

/* ----------------------------------------------------------------------
 F IX H3 che era H2 "Discover Gifu" - mantiene aspetto H2                  *
 ---------------------------------------------------------------------- */
.seo-fix-h3-to-h2 {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    color: #BDD256 !important;
    text-align: center !important;
    padding-bottom: 10px;
    line-height: 1em;
}

/* ----------------------------------------------------------------------
 F IX Paragrafo che era H3 nel testo introduttivo                          *
 ---------------------------------------------------------------------- */
.et_pb_text_0 .seo-fix-p-to-h3 {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 25px !important;
    line-height: 1.2em !important;
    text-align: center !important;
    padding-bottom: 10px;
}

/* ----------------------------------------------------------------------
 F IX H2 rosa/viola "ESPERIENZE"                                           *
 ---------------------------------------------------------------------- */
.seo-fix-h2-pink {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 50px !important;
    color: #BDD256 !important;
    padding-bottom: 10px;
    line-height: 1em;
}

/* ----------------------------------------------------------------------
 F IX Paragrafo che diventa H3 sotto "ESPERIENZE"                          *
 ---------------------------------------------------------------------- */
.et_pb_text_2 .seo-fix-p-to-h3 {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 35px !important;
    line-height: 1.2em !important;
    padding-bottom: 10px;
}

/* ----------------------------------------------------------------------
 F IX H3 verdi che erano H1 - mantiene aspetto H1 verde piccolo (23px)     *
 ---------------------------------------------------------------------- */
.seo-fix-h3-green {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 23px !important;
    color: #BDD256 !important;
    line-height: 1.1em !important;
    padding-bottom: 10px;
    text-transform: uppercase !important;
    text-align: left !important;
}

/* ----------------------------------------------------------------------
 F IX H3 verdi grandi che erano H1 - mantiene aspetto H1 verde più grande  *
 ---------------------------------------------------------------------- */
.seo-fix-h3-green-large {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #BDD256 !important;
    line-height: 1.1em !important;
    padding-bottom: 10px;
    text-transform: uppercase !important;
    text-align: left !important;
}

/* ----------------------------------------------------------------------
 F IX Citazioni (erano EM dentro H1, ora sono P con EM)                    *
 Mantiene l'aspetto dell'H1 con EM per le citazioni
 ---------------------------------------------------------------------- */
.seo-fix-quote {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    color: #BDD256 !important;
    line-height: 1.1em !important;
    text-align: left !important;
    padding-bottom: 10px;
    font-style: italic !important;
}

.seo-fix-quote em {
    font-style: italic !important;
    font-weight: 700 !important;
}

/* ----------------------------------------------------------------------
 F IX H2 sottotitoli verdi                                                 *
 ---------------------------------------------------------------------- */
.seo-fix-h2-subtitle {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    color: #BDD256 !important;
    padding-bottom: 10px;
    line-height: 1em;
}

/* ----------------------------------------------------------------------
 P aragrafi H3 sotto i sottotitoli                                         *
 ---------------------------------------------------------------------- */
.et_pb_text_1 .seo-fix-p-to-h3,
.et_pb_text_15 .seo-fix-p-to-h3 {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 25px !important;
    line-height: 1.2em !important;
    padding-bottom: 10px;
}

/* ----------------------------------------------------------------------
 R ESPONSIVE - Media Queries per mantenere il comportamento originale      *
 ---------------------------------------------------------------------- */

@media only screen and (min-width: 981px) {
    /* Desktop: mantiene le dimensioni originali */
    .seo-fix-h3-to-h2 {
        font-size: 40px !important;
    }

    .seo-fix-h2-subtitle {
        font-size: 40px !important;
    }

    .et_pb_text_0 .seo-fix-p-to-h3 {
        font-size: 25px !important;
    }
}

@media only screen and (max-width: 980px) {
    /* Tablet: adatta le dimensioni */
    .seo-fix-h3-to-h2 {
        font-size: 35px !important;
    }

    .seo-fix-h2-subtitle {
        font-size: 35px !important;
    }

    .seo-fix-h2-pink {
        font-size: 45px !important;
    }

    .et_pb_text_0 .seo-fix-p-to-h3 {
        font-size: 22px !important;
    }

    .seo-fix-h3-green {
        font-size: 21px !important;
    }

    .seo-fix-h3-green-large {
        font-size: 22px !important;
    }
}

@media only screen and (max-width: 767px) {
    /* Mobile: adatta ulteriormente */
    .seo-fix-h3-to-h2 {
        font-size: 30px !important;
        text-align: left !important;
    }

    .seo-fix-h2-subtitle {
        font-size: 32px !important;
    }

    .seo-fix-h2-pink {
        font-size: 40px !important;
    }

    .et_pb_text_0 .seo-fix-p-to-h3 {
        font-size: 20px !important;
        text-align: left !important;
    }

    .seo-fix-h3-green {
        font-size: 19px !important;
    }

    .seo-fix-h3-green-large {
        font-size: 20px !important;
    }

    .seo-fix-quote {
        font-size: 19px !important;
    }

    .et_pb_text_1 .seo-fix-p-to-h3,
    .et_pb_text_15 .seo-fix-p-to-h3 {
        font-size: 22px !important;
    }

    .et_pb_text_2 .seo-fix-p-to-h3 {
        font-size: 30px !important;
    }
}

/* ----------------------------------------------------------------------
 F IX SPECIFICI per i diversi moduli di testo                              *
 ---------------------------------------------------------------------- */

/* Modulo et_pb_text_1 - Testo introduttivo con H2 */
.et_pb_text_1 h2.seo-fix-h2-subtitle {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    color: #BDD256 !important;
}

.et_pb_text_1 h4 {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    line-height: 1.2em !important;
    text-align: left !important;
}

/* Moduli delle tre esperienze principali */
.et_pb_text_3 h3.seo-fix-h3-green,
.et_pb_text_7 h3.seo-fix-h3-green,
.et_pb_text_11 h3.seo-fix-h3-green {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 23px !important;
    color: #BDD256 !important;
    line-height: 1.1em !important;
}

/* Citazioni nei moduli con bordi */
.et_pb_text_5.et_pb_with_border .seo-fix-quote,
.et_pb_text_9.et_pb_with_border .seo-fix-quote,
.et_pb_text_13.et_pb_with_border .seo-fix-quote {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-color: #BDD256;
    border-bottom-color: #BDD256;
    padding-top: 3% !important;
    padding-right: 0px !important;
    padding-bottom: 1% !important;
    padding-left: 0px !important;
    margin-bottom: 0px !important;
}

/* H3 grandi per le altre esperienze */
.et_pb_text_16 h3.seo-fix-h3-green-large,
.et_pb_text_18 h3.seo-fix-h3-green-large,
.et_pb_text_20 h3.seo-fix-h3-green-large {
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #BDD256 !important;
    line-height: 1.1em !important;
}

/* ----------------------------------------------------------------------
 C OMPATIBILITÀ - Assicura che gli stili non siano sovrascritti            *
 ---------------------------------------------------------------------- */

.et_pb_text h3.seo-fix-h3-to-h2,
.et_pb_text h3.seo-fix-h3-green,
.et_pb_text h3.seo-fix-h3-green-large {
    margin: 0;
    padding-bottom: 10px;
    line-height: 1em;
}

.et_pb_text h2.seo-fix-h2-subtitle,
.et_pb_text h2.seo-fix-h2-pink {
    margin: 0;
    padding-bottom: 10px;
    line-height: 1em;
}

.et_pb_text p.seo-fix-p-to-h3 {
    margin: 0;
    padding-bottom: 10px;
}

.et_pb_text p.seo-fix-quote {
    margin: 0;
    padding-bottom: 10px;
}

/* ----------------------------------------------------------------------
 N OTA IMPORTANTE:                                                         *
 Questo CSS deve essere incluso DOPO tutti gli altri CSS del tema
 per garantire che gli stili abbiano priorità.

 Aggiungi questo file nel <head> della pagina con:
 <link rel="stylesheet" href="seo-fix.css">

 OPPURE aggiungi questi stili nel CSS personalizzato del tema.
 ---------------------------------------------------------------------- */
