/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================
   CHIARA MARCHETTI
   HOMEPAGE HERO
   GeneratePress
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&display=swap');

   body {
    background-color: #f5f3ed;
}


.cm-page-wrapper {
    max-width: 1500px !important;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* ==========================================================
   1. HERO - CONTENITORE PRINCIPALE
   ========================================================== */

.cm-hero {
    position: relative;
    width: 100%;
    min-height: 430px;
    overflow: hidden;
    background: #f8f5ee;
}


/* ==========================================================
   2. IMMAGINE HERO
   ========================================================== */

.cm-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;

    background-image: url("https://www.chiaramarchetti.it/wp-content/uploads/2026/09/Studio-Psicologa-Livorno-Dr-ssa-Marchetti-Chiara-1.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 1;
}


/* ==========================================================
   3. AREA TESTUALE
   ========================================================== */

.cm-hero-content {
    position: relative;
    z-index: 3;

    width: 58%;
    min-height: 430px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 70px 55px 70px;
 padding-left: 160px;
    background: #f8f5ee;


    /*
     * La grande curva riprende quella presente
     * nel mockup.
     */
    border-radius: 0 21% 21% 0 / 0 60% 60% 0  !important;
}


/* ==========================================================
   4. TITOLO
   ========================================================== */
   .h1-home{
    text-transform:uppercase;
    font-weight:700;
    font-size:15px;
    margin-bottom:3px;
   }

.cm-hero-title {
    max-width: 810px;

    margin: 0 0 22px 0;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.8px;
}


/* ==========================================================
   5. SOTTOTITOLO
   ========================================================== */

.cm-hero-subtitle {
    max-width: 450px;

    margin: 0 0 30px 0;

    color: #62645e;

    font-family: "Lato", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}


/* ==========================================================
   6. AREA CTA
   ========================================================== */

.cm-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 30px;
}


/* ==========================================================
   7. CTA PRINCIPALE
   ========================================================== */

.cm-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 27px;

    border: 1px solid #5f735e !important;
    border-radius: 30px;

    background: #5f735e !important;
    color: #ffffff !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.cm-hero-btn-primary:hover {
    background: #4d624d !important;
    border-color: #4d624d !important;
    color: #ffffff !important;
     transform: translateY(-1px);
}


/* ==========================================================
   8. CTA SECONDARIA
   ========================================================== */

.cm-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 27px;

    border: 1px solid #7b8b7b !important;
    border-radius: 30px;

    background: transparent !important;;
    color: #304b3b !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.cm-hero-btn-secondary:hover {
    background: #304b3b !important;;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ==========================================================
   9. INFORMAZIONI SOTTO LE CTA
   ========================================================== */

.cm-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    color: #676962;

    font-family: "Lato", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}


/* ==========================================================
   10. SINGOLO ELEMENTO META
   ========================================================== */

.cm-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    white-space: nowrap;
}


/* ==========================================================
   11. ICONA META
   ========================================================== */

.cm-hero-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: #7d8d7c;
}


/* ==========================================================
   12. SEPARATORE
   ========================================================== */

.cm-hero-meta-separator {
    width: 1px;
    height: 22px;

    background: #9b9b91;
}


/* ==========================================================
   13. ELEMENTO BOTANICO
   ========================================================== */

.cm-hero-botanical {
    position: absolute;

    right: -7px;
    bottom: -2px;

    width: 185px;
    height: 185px;

    z-index: 5;

    background-image: url("https://www.chiaramarchetti.it/wp-content/uploads/2026/09/elemento-decorativo-botanico.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;

    pointer-events: none;
}


/* ==========================================================
   14. OVERLAY LEGGERISSIMO SULLA FOTOGRAFIA
   ========================================================== */

.cm-hero-image-overlay {
    position: absolute;

    top: 0;
    right: 0;

    width: 52%;
    height: 100%;

    z-index: 2;

    background: linear-gradient(
        90deg,
        rgba(248, 245, 238, 0.08) 0%,
        rgba(248, 245, 238, 0) 35%
    );

    pointer-events: none;
}


/* ==========================================================
   15. TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .cm-hero {
        min-height: 410px;
    }

    .cm-hero-content {
        width: 61%;
        min-height: 410px;

        padding: 50px 50px 50px 50px;

        border-radius: 0 50% 50% 0 / 0 48% 48% 0;
        align-items: center;
    }

    .cm-hero::after {
        width: 49%;
    }

    .cm-hero-image-overlay {
        width: 49%;
    }

    .cm-hero-title {
        font-size: clamp(38px, 4.5vw, 52px);
    }

    .cm-hero-subtitle {
        font-size: 16px;
    }

    .cm-hero-botanical {
        width: 105px;
        height: 135px;
    }
}


/* ==========================================================
   16. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .cm-hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        background: #f8f5ee;
    }


    /*
     * Su mobile l'immagine diventa una vera e propria
     * fascia fotografica sopra il testo.
     */

    .cm-hero::after {
        position: relative;

        order: 1;

        top: auto;
        right: auto;

        width: 100%;
        height: 300px;

        background-position: center center;
    }


    .cm-hero-content {
        order: 2;

        width: 100%;
        min-height: auto;

        padding: 45px 25px 42px 25px;

        border-radius: 0;

        background: #f8f5ee;
       
    }


    .cm-hero-title {
        max-width: 100%;

        margin-bottom: 18px;
text-align:center;
        font-size: 38px;
        line-height: 1.14;
        letter-spacing: -0.5px;
    }


    .cm-hero-subtitle {
        max-width: 100%;

        margin-bottom: 25px;

        font-size: 16px;
        line-height: 1.55;
    }


    .cm-hero-buttons {
        flex-direction: column;


        gap: 10px;

        margin-bottom: 25px;
        width: fit-content;
    }


    .cm-hero-btn-primary,
    .cm-hero-btn-secondary {
        width: fit-content;
        min-height: 48px;
    }


    .cm-hero-meta {
        justify-content: flex-start;

        gap: 10px 15px;

        font-size: 10px;
    }


    .cm-hero-meta-separator {
        height: 18px;
    }


    .cm-hero-botanical {
        display: none;
    }


    .cm-hero-image-overlay {
        display: none;
    }
}


/* ==========================================================
   17. MOBILE PICCOLO
   ========================================================== */

@media (max-width: 480px) {

    .cm-hero::after {
        height: 250px;
    }

    .cm-hero-content {
        padding: 38px 21px 36px 21px;
        
    }

    .cm-hero-title {
        font-size: 34px;
    }

    .cm-hero-subtitle {
        font-size: 15px;
    }

    .cm-hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cm-hero-meta-separator {
        display: none;
    }
}


/* ==========================================================
   18. ACCESSIBILITÀ
   ========================================================== */

.cm-hero a:focus-visible {
    outline: 3px solid rgba(95, 115, 94, 0.45);
    outline-offset: 4px;
}


/* ==========================================================
   19. RIDUZIONE ANIMAZIONI
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .cm-hero-btn-primary,
    .cm-hero-btn-secondary {
        transition: none;
    }
}



/* ==========================================================
   CHIARA MARCHETTI
   SEZIONE CHI SONO
   GeneratePress
   ========================================================== */


/* ==========================================================
   1. CONTENITORE PRINCIPALE
   ========================================================== */

.cm-about {
    position: relative;
    width: 100%;
    overflow: hidden;

    background: #ffffff;
}


/* ==========================================================
   2. CONTENUTO INTERNO
   ========================================================== */

.cm-about-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: none;
    min-height: 300px;

    margin: 0;

    display: flex;
    align-items: center;

    padding: 45px 55px;
    box-sizing: border-box;
}


/* ==========================================================
   3. COLONNA FOTO
   ========================================================== */

.cm-about-image {
    position: relative;

    flex: 0 0 30%;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* ==========================================================
   4. FOTO PROFESSIONALE
   ========================================================== */

.cm-about-image img {
    display: block;

    width: 330px;
    height: 330px;

    object-fit: cover;
    object-position: center center;

    border-radius: 50%;

    border: 8px solid #f7f5ef;

    box-sizing: content-box;
}

/* ==========================================================
   5. COLONNA TESTO
   ========================================================== */

.cm-about-content {
    flex: 1;

    padding: 10px 80px 10px 25px;
}


/* ==========================================================
   6. TITOLO
   ========================================================== */

.cm-about-title {
    margin: 0 0 20px 0;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.3px;
}


/* ==========================================================
   7. TESTO
   ========================================================== */

.cm-about-content p {
    max-width: 570px;

    margin: 0 0 13px 0;

    color: #4f514d;

    font-family: "Lato", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================
   8. EVENTUALE PARAGRAFO FINALE
   ========================================================== */

.cm-about-content p:last-of-type {
    margin-bottom: 20px;
}


/* ==========================================================
   9. LINK / CTA
   ========================================================== */

.cm-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 22px;

    border: 1px solid #718071;
    border-radius: 25px;

    background: transparent;

    color: #304b3b !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.cm-about-link:hover {
    background: #5f735e;
    border-color: #5f735e;

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ==========================================================
   10. ELEMENTO BOTANICO DECORATIVO
   ========================================================== */

.cm-about::after {
    content: "";

    position: absolute;

    right: 30px;
    bottom: 15px;

    width: 215px;
    height: 290px;

    background-image: url("https://www.chiaramarchetti.it/wp-content/uploads/2026/09/elemento-decorativo-botanico-homepage.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.55;

    z-index: 1;

    pointer-events: none;
}


/* ==========================================================
   11. LEGGERA MASCHERATURA DEL BOTANICO
   ========================================================== */

.cm-about::before {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 180px;
    height: 230px;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.55) 75%,
        rgba(255,255,255,0.95) 100%
    );

    z-index: 2;

    pointer-events: none;
}


/* ==========================================================
   12. TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .h1-home{
        text-align:center;
    }

    .cm-about-inner {
        max-width: 100%;

        padding: 42px 40px;
    }

    .cm-about-image {
        flex-basis: 40%;
    }

    .cm-about-image img {
        width: 205px;
        height: 205px;
    }

    .cm-about-content {
        padding-right: 70px;
        align-items: center;
    }

    .cm-about-title {
        font-size: 30px;
        
    }

    .cm-about-content p {
        font-size: 14px;
    }

    .cm-about::after {
        right: 15px;
        width: 100px;
        height: 175px;
    }
}


/* ==========================================================
   13. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .cm-about-inner {
        flex-direction: column;

        min-height: auto;

        padding: 45px 25px 50px 25px;

        text-align: center;
    }


    /* FOTO */

    .cm-about-image {
        flex: none;

        width: 100%;

        margin-bottom: 28px;
    }


    .cm-about-image img {
        width: 190px;
        height: 190px;

        border-width: 7px;
    }


    /* TESTO */

    .cm-about-content {
        width: 100%;

        padding: 0;

        display: flex;
        flex-direction: column;
        align-items: left;
    }


    .cm-about-title {
        margin-bottom: 18px;

        font-size: 30px;
    }


    .cm-about-content p {
        max-width: 600px;

        font-size: 15px;
        line-height: 1.65;
    }


    .cm-about-link {
        margin-top: 3px;
    }


    /*
     * Sul mobile il botanico viene eliminato:
     * nel mockup deve rimanere una sezione pulita.
     */

    .cm-about::after,
    .cm-about::before {
        display: none;
    }
}


/* ==========================================================
   14. MOBILE PICCOLO
   ========================================================== */

@media (max-width: 480px) {

    .cm-about-inner {
        padding: 38px 21px 42px 21px;
    }

    .cm-about-image {
        margin-bottom: 24px;
    }

    .cm-about-image img {
        width: 165px;
        height: 165px;

        border-width: 6px;
    }

    .cm-about-title {
        font-size: 28px;
    }

    .cm-about-content p {
        font-size: 14px;
    }
}


/* ==========================================================
   15. ACCESSIBILITÀ
   ========================================================== */

.cm-about-link:focus-visible {
    outline: 3px solid rgba(95, 115, 94, 0.4);
    outline-offset: 4px;
}


/* ==========================================================
   16. RIDUZIONE ANIMAZIONI
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .cm-about-link {
        transition: none;
    }
}


/* =========================================================
   SERVICES / AREE DI INTERESSE
   ========================================================= */


.services-section {
    width: 100%;
    background: #f4eee5;
    padding: 54px 0 48px;
    box-sizing: border-box;
}


.services-container {
  /*width: min(100% - 80px, 1280px);*/
    margin: 0 auto;
    padding: 0 130px;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   TITOLO
   --------------------------------------------------------- */

.services-title {
    margin: 0 0 30px;
    text-align: center;
    color: #304d3b;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}



/* ---------------------------------------------------------
   SINGOLA AREA
   --------------------------------------------------------- */

.service-card {
    text-align: center;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ---------------------------------------------------------
   ICONA
   --------------------------------------------------------- */

.service-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

/* eventuale SVG / IMG */
.service-icon img,
.service-icon svg {
    width: 150px;
    height: 150px;
    object-fit: contain;
}



/* ---------------------------------------------------------
   TITOLO AREA
   --------------------------------------------------------- */

.service-card h3 {
    margin: 0 0 9px;
    color: #263d30;
    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

/* ---------------------------------------------------------
   DESCRIZIONE
   --------------------------------------------------------- */

.service-card p {
    max-width: 175px;
    margin: 0 auto;
    color: #4f554f;
    font-family: "Lato", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.services-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 27px;

    border-radius: 999px;
    background: #667d68;
    color: #ffffff;

    font-family: "Lato", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.services-cta a:hover {
    background: #536957;
    color: #ffffff;
    transform: translateY(-1px);
}




/* =========================================
   PSICOLOGO ONLINE
   ========================================= */
/* =========================================================
   PSICOLOGO ONLINE
   SEZIONE FULL WIDTH
   ========================================================= */

.online-section {
    position: relative;
    display: flex;

    width: 100vw;
    max-width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    min-height: 330px;

    overflow: hidden;

    background:  #cbd3d4;
}


/* =========================================================
   IMMAGINE - SINISTRA
   ========================================================= */

.online-media {
    position: relative;

    width: 53%;
    min-height: 330px;

    overflow: hidden;

    z-index: 1;
}

.online-media img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 330px;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   CONTENUTO - DESTRA
   ========================================================= */

.online-content {
    position: relative;

    width: 47%;
    min-height: 330px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 50px 8% 50px 9%;

    box-sizing: border-box;

    background: #cbd3d4;

    z-index: 3;
}


/* =========================================================
   CURVA ORGANICA
   ========================================================= */

.online-content::before {
    content: "";

    position: absolute;

    top: -12%;
    left: -115px;

    width: 230px;
    height: 124%;

    background: #cbd3d4;

    border-radius: 50%;

    z-index: -1;
}


/* =========================================================
   TITOLO
   ========================================================= */

.online-content h2 {
    position: relative;

    margin: 0 0 17px 0;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;

    letter-spacing: -0.3px;
}


/* =========================================================
   TESTO
   ========================================================= */

.online-content p {
    position: relative;

    max-width: 440px;

    margin: 0 0 24px 0;

    color: #38463f;

    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}


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

.online-content .btn-main, .btn-main {
    /*align-self: flex-start;*/
    width: fit-content;

    display: inline-flex;
    align-items: center;
   

    min-height: 42px;

    padding: 0 25px;

    border-radius: 999px;

    background: #667d68 !important;
    color: #ffffff !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.online-content .btn-main:hover, .btn-main:hover {
    background: #536957 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}


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

@media (max-width: 1024px) {

    .online-section {
        min-height: 310px;
    }

    .online-media {
        width: 52%;
        min-height: 310px;
    }

    .online-media img {
        min-height: 310px;
    }

    .online-content {
        width: 48%;
        min-height: 310px;

        padding: 45px 6% 45px 9%;
        align-items: center;
    }

    .online-content::before {
        left: -95px;
        width: 190px;
    }

    .online-content h2 {
        font-size: 32px;
    }

    .online-content p {
        max-width: 390px;
        font-size: 14px;
        align-items: center;
    }
}


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

@media (max-width: 767px) {

    .online-section {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;

        margin-left: 0;
        margin-right: 0;

        min-height: auto;
    }


    /* FOTO */

    .online-media {
        width: 100%;
        min-height: 240px;
        height: 240px;
    }

    .online-media img {
        width: 100%;
        height: 240px;
        min-height: 240px;

        object-position: center center;
    }


    /* CONTENUTO */

    .online-content {
        width: 100%;
        min-height: auto;

        padding: 46px 25px 48px;

        background: #cbd3d4;
        text-align:center;
    }


    /* Curva mobile eliminata */
    .online-content::before {
        display: none;
    }


    .online-content h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .online-content p {
        max-width: none;
        font-size: 15px;
        line-height: 1.6;
    }


    .online-content .btn-main {
        min-height: 42px;
        padding: 0 24px;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    .online-media {
        height: 220px;
        min-height: 220px;
    }

    .online-media img {
        height: 220px;
        min-height: 220px;
    }

    .online-content {
        padding: 40px 21px 43px;
    }

    .online-content h2 {
        font-size: 28px;
    }

    .online-content p {
        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

.online-content .btn-main:focus-visible {
    outline: 3px solid rgba(48, 75, 59, 0.35);
    outline-offset: 4px;
}


/* =========================================================
   RIDUZIONE ANIMAZIONI
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .online-content .btn-main {
        transition: none;
    }
}




/* =========================================================
   COME FUNZIONA IL PERCORSO
   ========================================================= */

.process-section {
    width: 100%;
    background: #f8f6ef;
    padding: 52px 0 58px;
    box-sizing: border-box;
}

.process-container {
  /*  width: min(100% - 80px, 1280px);*/
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   TITOLO
   --------------------------------------------------------- */

.process-title {
    margin: 0 0 38px;
    text-align: center;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   GRIGLIA
   --------------------------------------------------------- */

.process-grid {
    
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
         auto;

    align-items: start;

    width: 100%;
}


/* ---------------------------------------------------------
   SINGOLO STEP
   --------------------------------------------------------- */

.process-step {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* ---------------------------------------------------------
   ICONE
   --------------------------------------------------------- */

.process-icon {
    width: 150px;
    height: 150px;

    margin-bottom: 15px;

   /* border: 1px solid #819184;
   border-radius: 50%;*/

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

.process-icon img,
.process-icon svg {
    width: 150px;
    height: 150px;

    object-fit: contain;
}


/* ---------------------------------------------------------
   TITOLO STEP
   --------------------------------------------------------- */

.process-step h3 {
    margin: 0 0 8px;

    color: #263d30;

    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   TESTO STEP
   --------------------------------------------------------- */

.process-step p {
    max-width: 190px;

    margin: 0;

    color: #525750;

    font-family: "Lato", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}



/* =========================================================
   FRECCE TRA GLI STEP
   ========================================================= */

.process-arrow {
    align-self: flex-start;

    width: 38px !important;
    height: 24px;

    margin-top: 17px;

    position: relative;

    flex: 0 0 38px;
}


/* linea */

.process-arrow::before {
    content: "";

    position: absolute;

    left: 0;
    top: 70px;

    width: 28px;
    height: 1px;

    background: #819184;
}


/* punta */

.process-arrow::after {
    content: "";

    position: absolute;

    right: 0;
    top: 67px;

    width: 8px;
    height: 8px;

    border-top: 1px solid #819184;
    border-right: 1px solid #819184;

    transform: rotate(45deg);
}

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

@media (max-width: 1024px) {

    .process-section {
        padding: 46px 0 50px;
    }

    .process-container {
        width: calc(100% - 60px);
    }

    .process-title {
        font-size: 28px;
        margin-bottom: 34px;
    }

    .process-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 13px;
    }

    .process-icon img,
    .process-icon svg {
        width: 100px;
        height: 100px;
    }

    .process-step h3 {
        font-size: 16px;
    }

    .process-step p {
        max-width: 160px;
        font-size: 14px
    }

    .process-arrow {
        margin-inline: 14px;
        margin-top: 26px;
        font-size: 22px;
    }



/* linea */

.process-arrow::before {
    content: "";

    position: absolute;

    left: 0;
    top: 22px;

    width: 28px;
    height: 1px;

    background: #819184;
}


/* punta */

.process-arrow::after {
    content: "";

    position: absolute;

    right: 0;
    top: 19px;

    width: 8px;
    height: 8px;

    border-top: 1px solid #819184;
    border-right: 1px solid #819184;

    transform: rotate(45deg);
}


}


/* =========================================================
   COME FUNZIONA IL PERCORSO
   MOBILE - VERSIONE DEFINITIVA
   ========================================================= */

@media (max-width: 767px) {

    /* -----------------------------------------------------
       CONTENITORE
       ----------------------------------------------------- */

    .process-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }


    /* -----------------------------------------------------
       STEP
       ----------------------------------------------------- */

    .process-step {
        width: 100% !important;
        max-width: 330px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        text-align: center !important;
    }


    /* -----------------------------------------------------
       FRECCIA
       Reset completo per eliminare qualsiasi vecchio stile
       ----------------------------------------------------- */

    .process-arrow {

        /* RESET TOTALE */
        all: unset !important;

        /* struttura */
        display: block !important;
        position: relative !important;

        width: 1px !important;
        height: 34px !important;

        margin: 14px 0 !important;
        padding: 0 !important;

        flex: 0 0 34px !important;

        /* linea verticale */
        background: #819184 !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        color: transparent !important;

        font-size: 0 !important;
        line-height: 0 !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* -----------------------------------------------------
       AZZERAMENTO ASSOLUTO DEI PSEUDO-ELEMENTI
       ----------------------------------------------------- */

    .process-arrow::before,
    .process-arrow::after {

        all: unset !important;

        content: none !important;

        display: none !important;
    }


    /* -----------------------------------------------------
       PUNTA DELLA FRECCIA
       Viene ricreata con un secondo elemento tramite
       background + clip-path sul contenitore
       ----------------------------------------------------- */

    .process-arrow {
        background:
            linear-gradient(
                to bottom,
                #819184 0,
                #819184 24px,
                transparent 24px,
                transparent 100%
            ) !important;
    }


    /* -----------------------------------------------------
       CREIAMO LA PUNTA CON UN ELEMENTO INTERNO
       usando box-shadow per evitare conflitti
       ----------------------------------------------------- */

    .process-arrow {
        position: relative !important;
    }

    .process-arrow {
        --arrow-color: #819184;
    }

    .process-arrow {
        background:
            linear-gradient(
                var(--arrow-color),
                var(--arrow-color)
            )
            center top / 1px 24px no-repeat !important;
    }

    .process-arrow {
        isolation: isolate;
    }


    /* -----------------------------------------------------
       NUOVA PUNTA
       ----------------------------------------------------- */

    .process-arrow {
        clip-path: none !important;
    }


    /* -----------------------------------------------------
       Ridisegniamo la punta con border tramite un
       pseudo-elemento NUOVO, dopo aver resettato tutto
       ----------------------------------------------------- */

    .process-arrow::after {

        content: "" !important;

        display: block !important;

        position: absolute !important;

        left: 50% !important;
        bottom: 1px !important;

        width: 7px !important;
        height: 7px !important;

        margin: 0 !important;

        border: 0 !important;
        border-right: 1px solid #819184 !important;
        border-bottom: 1px solid #819184 !important;

        background: transparent !important;

        transform:
            translateX(-50%)
            rotate(45deg) !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .process-step {
        max-width: 300px !important;
    }

    .process-arrow {
        height: 30px !important;
        flex-basis: 30px !important;
        margin: 12px 0 !important;
    }

    .process-arrow {
        background:
            linear-gradient(
                #819184,
                #819184
            )
            center top / 1px 21px no-repeat !important;
    }

    .process-arrow::after {
        width: 7px !important;
        height: 7px !important;
        bottom: 0 !important;
    }
}


/* =========================================================
   DOMANDE FREQUENTI
   ========================================================= */

.faq-section {
    position: relative;
padding-top:2em;
    width: 100%;
    min-height: 250px;

    overflow: hidden;

    background: #dfe8e8;
    box-sizing: border-box;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

.faq-container {
    position: relative;
    z-index: 3;

   width: min(100% - 80px, 1480px);
    min-height: 250px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   CONTENUTO TESTUALE
   ========================================================= */

.faq-content {
    position: relative;
    z-index: 4;

    width: 58%;

    padding: 34px 40px 34px 0;
}


/* =========================================================
   TITOLO
   ========================================================= */

.faq-content h2 {
    margin: 0 0 9px;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.2;
}


/* =========================================================
   TESTO
   ========================================================= */

.faq-content p {
    max-width: 470px;

    margin: 0 0 17px;

    color: #46514c;

    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}


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

.faq-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 37px;
    padding: 0 20px;

    border: 1px solid #708477;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.18);
    color: #304b3b !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.faq-content a:hover {
    background: #667d68;
    border-color: #667d68;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   IMMAGINE / DECORAZIONE
   ========================================================= */

.faq-media {
    position: absolute;

    top: 0;
    right: 0;

    width: 45%;
    height: 100%;

    overflow: hidden;

    z-index: 1;
}


/* =========================================================
   FOTO
   ========================================================= */

.faq-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   CURVA DI RACCORDO
   ========================================================= */

.faq-media::before {
    content: "";

    position: absolute;

    z-index: 2;

    top: -15%;
    left: -105px;

    width: 210px;
    height: 130%;

    background: #dfe8e8;

    border-radius: 50%;
}


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

@media (max-width: 1024px) {

    .faq-section {
        min-height: 180px;
    }

    .faq-container {
        width: calc(100% - 60px);
        min-height: 180px;
    }

    .faq-content {
        width: 60%;
        padding-right: 30px;
    }

    .faq-content h2 {
        font-size: 27px;
    }

    .faq-content p {
        font-size: 12px;
        max-width: 400px;
    }

    .faq-media {
        width: 42%;
    }

    .faq-media::before {
        left: -85px;
        width: 170px;
    }
}


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

@media (max-width: 767px) {

    .faq-section {
        min-height: auto;
    }

    .faq-container {
        width: calc(100% - 40px);

        min-height: auto;

        display: flex;
        flex-direction: column;
       
    }

    .faq-content {
        width: 100%;

        padding: 42px 0 28px;
        text-align:center;
    }

    .faq-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .faq-content p {
        max-width: none;
        font-size: 14px;
        line-height: 1.55;
    }

    .faq-content a {
        min-height: 40px;
        padding: 0 22px;
        font-size: 10px;
    }

    .faq-media {
        position: relative;

        top: auto;
        right: auto;

        width: 100%;
        height: 180px;
    }

    .faq-media img {
        height: 180px;
    }

    .faq-media::before {
        display: none;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .faq-container {
        width: calc(100% - 32px);
    }

    .faq-content {
        padding-top: 36px;
    }

    .faq-content h2 {
        font-size: 26px;
    }

    .faq-content p {
        font-size: 13px;
    }

    .faq-media,
    .faq-media img {
        height: 160px;
    }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

.faq-content a:focus-visible {
    outline: 3px solid rgba(48, 75, 59, 0.35);
    outline-offset: 4px;
}


/* =========================================================
   RIDUZIONE ANIMAZIONI
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-content a {
        transition: none;
    }
}

/* =========================================================
   CONTATTI
   Layout homepage - fedele al mockup
   ========================================================= */

.contact-section {
    position: relative;
    width: 100%;
    background: #ffffff;
    overflow: hidden;
  
}


/* =========================================================
   CONTENITORE
   ========================================================= */

.contact-container {
    width: min(100% - 80px, 1480px);

    margin: 0 auto;

    padding: 42px 0 48px;

    display: grid;

    grid-template-columns:
        1fr
        1.25fr
        0.95fr;

    column-gap: 44px;

    align-items: center;

    box-sizing: border-box;
      min-height: 400px !important;
}


/* =========================================================
   TITOLI
   ========================================================= */

.contact-section h2,
.contact-section h3 {
    margin: 0;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
}


/* Titolo "Contatti" */

.contact-info h2 {
    margin-bottom: 22px;

    font-size: 25px;
    line-height: 1.2;
}


/* Titolo "Studio a Livorno e Online" */

.contact-cta h3 {
    margin-bottom: 19px;

    font-size: 24px;
    line-height: 1.25;
}


/* =========================================================
   BLOCCO CONTATTI
   ========================================================= */

.contact-info {
    display: flex;
    flex-direction: column;

    justify-content: center;
}


.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 14px;
}


.contact-item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ICONA CONTATTO
   ========================================================= */

.contact-item-icon {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    margin-top: 2px;

    color: #63766a;
}


.contact-item-icon svg,
.contact-item-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   TESTO CONTATTI
   ========================================================= */

.contact-item-text {
    color: #414841;

    font-family: "Lato", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;

    line-height: 1.5;
}


.contact-item-text a {
    color: inherit;

    text-decoration: none;
}


.contact-item-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   MAPPA
   ========================================================= */

.contact-map {
    position: relative;

    width: 100%;
    height: 175px;

    overflow: hidden;
}


.contact-map img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   BLOCCO STUDIO / ONLINE
   ========================================================= */

.contact-cta {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-left: 4px;
}


.contact-cta p {
    max-width: 250px;

    margin: 0 0 18px;

    color: #4a514d;

    font-family: "Lato", Arial, sans-serif;
    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   PULSANTE
   ========================================================= */

.contact-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 24px;

    border-radius: 999px;

    background: #667d68 !important;

    color: #ffffff !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.contact-cta-button:hover {
    background: #536957 !Important;

    color: #ffffff !important;

    transform: translateY(-1px);
}


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

@media (max-width: 1024px) {

    .contact-container {
        width: calc(100% - 60px);

        column-gap: 30px;

        grid-template-columns:
            1fr
            1.15fr
            0.95fr;

        padding: 38px 0 42px;
    }

    .contact-info h2 {
        font-size: 23px;
    }

    .contact-cta h3 {
        font-size: 22px;
    }

    .contact-map {
        height: 165px;
    }

    .contact-item-text,
    .contact-cta p {
        font-size: 12px;
    }
}


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

@media (max-width: 767px) {

    .contact-section {
        width: 100%;
    }


    .contact-container {
        width: calc(100% - 40px);

        padding: 46px 0 48px;

        display: flex;

        flex-direction: column;

        gap: 38px;

        align-items: stretch;
    }


    /* CONTATTI */

    .contact-info h2 {
        font-size: 28px;

        margin-bottom: 21px;
    }


    .contact-item {
        gap: 11px;
        margin-bottom: 15px;
    }


    .contact-item-text {
        font-size: 14px;
    }


    /* MAPPA */

    .contact-map {
        width: 100%;

        height: 210px;
    }


    /* STUDIO ONLINE */

    .contact-cta {
        padding-left: 0;
    }


    .contact-cta h3 {
        font-size: 26px;

        margin-bottom: 16px;
    }


    .contact-cta p {
        max-width: none;

        font-size: 14px;

        margin-bottom: 20px;
    }


    .contact-cta-button {
        min-height: 42px;

        padding: 0 24px;

        font-size: 10px;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .contact-container {
        width: calc(100% - 30px);

        padding-top: 40px;
        padding-bottom: 42px;

        gap: 32px;
    }


    .contact-info h2 {
        font-size: 26px;
    }


    .contact-cta h3 {
        font-size: 24px;
    }


    .contact-map {
        height: 190px;
    }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

.contact-cta-button:focus-visible {
    outline: 3px solid rgba(48, 75, 59, 0.35);
    outline-offset: 4px;
}


/* =========================================================
   RIDUZIONE ANIMAZIONI
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-cta-button {
        transition: none;
    }
}



/*FORMATTAZIONE HOMEPAGE*/
body.home .separate-containers .site-main{
    margin:0px !Important;
}

body.home .inside-article {
    padding-top:0px !Important;
}

body.home .entry-content:not(:first-child){
    margin-top:0px !important;
}

body.home  .site-main  {
    margin-top:0px !Important;
}




/* =========================================================
   PAGINA CONTATTI - HERO SUBITO SOTTO L'HEADER
   ID PAGINA: 241
   ========================================================= */

body.page-id-241 .site-content {
    padding-top: 0 !important;
}

body.page-id-241 .content-area {
    margin-top: 0 !important;
}

body.page-id-241 .inside-article {
    padding-top: 0 !important;
}

body.page-id-241 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-241.separate-containers .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-241 .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


body.page-id-241 .site-main > :first-child {
    margin-top: 0 !important;
}


/* HERO */

body.page-id-241 .contact-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}




.cta-box{
    border: 1px solid  #304b3b;
    padding:1em;
    background-color: #cce9cc;
    margin-bottom:1em;

}

.cta-box-2{
    border: 1px solid  #144226;
    padding:1em;
    background-color: #a9de53;
    margin-bottom:1em;

}

.cta-box-3{
    border: 1px solid  #1f1104;
    padding:1em;
    background-color: #d3c798;
  margin-bottom:1em;
}


.cta-box-4{
    border: 1px solid  #03402f;
    padding:1em;
    background-color: #c5d7e2;
  margin-bottom:1em;
}


.cta-box-5{
    border: 1px solid  #484804;
    padding:1em;
    background-color: #fbffca;
  margin-bottom:1em;
}

.cta-box-6{
    border: 1px solid  #fd8505;
    padding:1em;
    background-color: #efe6e0;
  margin-bottom:1em;
}


h2{
    margin-top:1.5em;
}


/* =========================================================
   CONTATTI - HERO
   ========================================================= */

.contact-hero {
    position: relative;
    width: 100%;
    min-height: 380px;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background: #f4eee5;
}


/* =========================================================
   CONTENUTO
   ========================================================= */

.contact-hero-content {
    position: relative;
    z-index: 3;

    width: 53%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 65px 70px 65px 17%;

    box-sizing: border-box;
}


/* =========================================================
   EYEBROW / EVENTUALE SOPRATITOLO
   ========================================================= */

.contact-hero-eyebrow {
    margin: 0 0 12px;

    color: #667d68;

    font-family: "Lato", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   H1
   ========================================================= */

.contact-hero h1 {
    max-width: 550px;

    margin: 0 0 18px;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.05;

    letter-spacing: -0.5px;
}


/* =========================================================
   TESTO INTRODUTTIVO
   ========================================================= */

.contact-hero-text {
    max-width: 540px;

    margin: 0 0 26px;

    color: #4c544f;

    font-family: "Lato", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}


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

.contact-hero-button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 30px;

    border: 0;
    border-radius: 999px;

    background: #667d68 !important;;
    color: #ffffff !important;

    font-family: "Lato", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.04em;
    line-height: 1;

    text-decoration: none !important;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-hero-button:hover {
    background: #536957 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   FOTO
   ========================================================= */

.contact-hero-media {
    position: relative;

    width: 47%;
    min-height: 380px;

    overflow: hidden;

    z-index: 1;
}


.contact-hero-media img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 380px;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   CURVA ORGANICA
   ========================================================= */

.contact-hero-media::before {
    content: "";

    position: absolute;

    z-index: 2;

    top: -12%;
    left: -125px;

    width: 250px;
    height: 124%;

    background: #f4eee5;

    border-radius: 50%;
}


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

@media (max-width: 1024px) {

    .contact-hero {
        min-height: 340px;
    }

    .contact-hero-content {
        width: 54%;

        padding: 55px 45px 55px 6%;
    }

    .contact-hero-media {
        width: 46%;
        min-height: 340px;
    }

    .contact-hero-media img {
        min-height: 340px;
    }

    .contact-hero-media::before {
        left: -105px;
        width: 210px;
    }

    .contact-hero h1 {
        font-size: 49px;
    }

    .contact-hero-text {
        font-size: 16px;
    }
}


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

@media (max-width: 767px) {

    .contact-hero {
        display: flex;
        flex-direction: column;

        min-height: auto;

        background: #f4eee5;
    }


    /* -----------------------------------------------------
       IMMAGINE
       ----------------------------------------------------- */

    .contact-hero-media {
        order: 1;

        width: 100%;
        height: 250px;
        min-height: 250px;
    }

    .contact-hero-media img {
        width: 100%;
        height: 250px;
        min-height: 250px;

        object-position: center center;
    }


    /* -----------------------------------------------------
       CURVA MOBILE
       ----------------------------------------------------- */

    .contact-hero-media::before {
        display: none;
    }


    /* -----------------------------------------------------
       CONTENUTO
       ----------------------------------------------------- */

    .contact-hero-content {
        order: 2;

        width: 100%;

        padding: 45px 25px 50px;
    }


    .contact-hero-eyebrow {
        font-size: 10px;
        margin-bottom: 10px;
    }


    .contact-hero h1 {
        max-width: none;

        font-size: 43px;
        line-height: 1.05;

        margin-bottom: 17px;
    }


    .contact-hero-text {
        max-width: none;

        font-size: 15px;
        line-height: 1.6;

        margin-bottom: 24px;
    }


    .contact-hero-button {
        min-height: 44px;

        padding: 0 26px;

        font-size: 10px;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .contact-hero-media {
        height: 220px;
        min-height: 220px;
    }

    .contact-hero-media img {
        height: 220px;
        min-height: 220px;
    }

    .contact-hero-content {
        padding: 38px 20px 43px;
    }

    .contact-hero h1 {
        font-size: 38px;
    }

    .contact-hero-text {
        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

.contact-hero-button:focus-visible {
    outline: 3px solid rgba(48, 75, 59, 0.35);
    outline-offset: 4px;
}


/* =========================================================
   RIDUZIONE ANIMAZIONI
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-hero-button {
        transition: none;
    }
}



/* =========================================================
   SEZIONE CONTATTI — COME PUOI CONTATTARMI
   ========================================================= */

.contact-info-section {
    width: 100%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}


/* =========================================================
   CONTENITORE PRINCIPALE
   ========================================================= */

.contact-info-container {
    width: min(1200px, calc(100% - 60px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}


/* =========================================================
   COLONNA SINISTRA
   ========================================================= */

.contact-info-left {
    position: relative;
    padding-right: 20px;
}

.contact-info-title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    color: #304b3b;
}

.contact-info-subtitle {
    margin: 0 0 40px;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #5c6863;
}


/* =========================================================
   SINGOLO CONTATTO
   ========================================================= */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item:last-of-type {
    margin-bottom: 0;
}


/* =========================================================
   ICONE
   ========================================================= */

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #f4eee5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #304b3b;
}

.contact-icon img {
    width: 56px;
    height: 56px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}


/* =========================================================
   CONTENUTO DEL CONTATTO
   ========================================================= */

.contact-item-content h3 {
    margin: 0 0 4px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    color: #304b3b;
}

.contact-item-content p {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #5c6863;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 3px;
    font-weight: 700;
    color: #173d3b;
}


/* =========================================================
   LINK TELEFONO / EMAIL
   ========================================================= */

.contact-item-content a {
    color: #173d3b;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-item-content a:hover {
    color: #6f806b;
}


/* =========================================================
   PICCOLO ELEMENTO DECORATIVO
   ========================================================= */

.contact-info-left::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: -20px;
    width: 150px;
    height: 190px;

    background-image: url("/wp-content/uploads/elemento-botanico-contatti.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.45;
    pointer-events: none;
}


/* =========================================================
   LINEA DECORATIVA
   ========================================================= */

.contact-info-left::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 34px;
    height: 1px;
    background: #87968a;
}


/* =========================================================
   FORM — CONTENITORE DESTRO
   ========================================================= */

.contact-form-wrapper {
    background: #f9f7f3;
    padding: 40px;
    border-radius: 14px;
    box-sizing: border-box;
}


/* =========================================================
   TITOLO FORM
   ========================================================= */

.contact-form-title {
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #304b3b;
}

.contact-form-subtitle {
    margin: 0 0 26px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #5c6863;
}





/* =========================================================
   FOCUS CAMPI
   ========================================================= */

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #87968a;
    box-shadow: 0 0 0 3px rgba(135, 150, 138, 0.12);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}





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

@media (max-width: 1024px) {

    .contact-info-section {
        padding: 70px 0;
    }

    .contact-info-container {
        width: min(900px, calc(100% - 50px));
        gap: 50px;
    }

    .contact-info-title {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 32px;
    }

}


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

@media (max-width: 767px) {

    .contact-info-section {
        padding: 55px 0;
    }

    .contact-info-container {
        width: calc(100% - 36px);
        display: flex;
        flex-direction: column;
        gap: 45px;
    }


    /* Colonna sinistra */

    .contact-info-left {
        padding-right: 0;
    }

    .contact-info-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .contact-info-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }


    /* Contatti */

    .contact-item {
        gap: 18px;
        margin-bottom: 28px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .contact-icon svg {
        width: 25px;
        height: 25px;
    }

    .contact-item-content h3 {
        font-size: 21px;
    }

    .contact-item-content p {
        font-size: 15px;
    }


    /* Decorazione */

    .contact-info-left::after {
        width: 100px;
        height: 130px;
        right: -5px;
        bottom: -25px;
        opacity: 0.35;
    }

    .contact-info-left::before {
        bottom: -8px;
    }



}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    .contact-info-container {
        width: calc(100% - 28px);
    }

    .contact-info-title {
        font-size: 29px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .contact-item-content h3 {
        font-size: 20px;
    }

    .contact-item-content p {
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

}



/* =========================================================
   CONTATTI
   SEZIONE: IN PRESENZA A LIVORNO O ONLINE
   ========================================================= */

.contact-mode-section {
    width: 100%;
    background: #eef3f1;
    padding: 72px 0 78px;
    box-sizing: border-box;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

.contact-mode-container {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   TITOLO
   ========================================================= */

.contact-mode-title {
    margin: 0 0 10px;

    text-align: center;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
}


/* =========================================================
   SOTTOTITOLO
   ========================================================= */

.contact-mode-subtitle {
    margin: 0 0 48px;

    text-align: center;

    color: #5c6863;

    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   GRIGLIA DEI DUE BLOCCHI
   ========================================================= */

.contact-mode-grid {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    column-gap: 55px;
}


/* =========================================================
   SINGOLA MODALITÀ
   ========================================================= */

.contact-mode-item {
    display: flex;
    align-items: center;
    gap: 28px;

    min-width: 0;
}


/* =========================================================
   POSIZIONAMENTO
   ========================================================= */

/* Il blocco sinistro viene leggermente raccolto */
.contact-mode-item:first-child {
    justify-content: flex-end;
    text-align: left;
}

/* Il blocco destro */
.contact-mode-item:last-child {
    justify-content: flex-start;
    text-align: left;
}


/* =========================================================
   ICONA CIRCOLARE
   ========================================================= */

.contact-mode-icon {
    width: 74px;
    height: 74px;
    min-width: 74px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f0e8;
}


/* immagine icona */
.contact-mode-icon img,
.contact-mode-icon svg {
    width: 74px;
    height: 74px;

    object-fit: contain;
}


/* =========================================================
   CONTENUTO
   ========================================================= */

.contact-mode-content h3 {
    margin: 0 0 8px;

    color: #304b3b;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.contact-mode-content p {
    max-width: 360px;

    margin: 0;

    color: #4f5954;

    font-family: "Lato", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   SEPARATORE CENTRALE
   ========================================================= */

.contact-mode-divider {
    width: 1px;
    height: 90px;

    background: #c5cfca;
}


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

@media (max-width: 1024px) {

    .contact-mode-section {
        padding: 62px 0 68px;
    }

    .contact-mode-container {
        width: calc(100% - 60px);
    }

    .contact-mode-title {
        font-size: 31px;
    }

    .contact-mode-subtitle {
        margin-bottom: 40px;
    }

    .contact-mode-grid {
        column-gap: 35px;
    }

    .contact-mode-item {
        gap: 20px;
    }

    .contact-mode-icon {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }

    .contact-mode-icon img,
    .contact-mode-icon svg {
        width: 34px;
        height: 34px;
    }

    .contact-mode-content h3 {
        font-size: 22px;
    }

    .contact-mode-content p {
        font-size: 13px;
    }

    .contact-mode-divider {
        height: 82px;
    }
}


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

@media (max-width: 767px) {

    .contact-mode-section {
        padding: 52px 0 56px;
    }

    .contact-mode-container {
        width: calc(100% - 40px);
        padding-left:1em;
        padding-right:1em;
    }

    .contact-mode-title {
        font-size: 29px;
        line-height: 1.2;
        text-align:left;
    }

    .contact-mode-subtitle {
        font-size: 14px;
        margin-bottom: 38px;
        text-align:left;
    }

    .contact-mode-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
    }

    .contact-mode-item {
        width: 100%;
        justify-content: flex-start !important;
        gap: 20px;
        text-align: left;
    }

    .contact-mode-divider {
        width: 70px;
        height: 1px;

        margin: 0 auto;

        background: #c5cfca;
    }

    .contact-mode-icon {
        width: 66px;
        height: 66px;
        min-width: 66px;
    }

    .contact-mode-icon img,
    .contact-mode-icon svg {
        width: 33px;
        height: 33px;
    }

    .contact-mode-content h3 {
        font-size: 22px;
    }

    .contact-mode-content p {
        max-width: none;
        font-size: 14px;
        line-height: 1.6;
    }
}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .contact-mode-container {
        width: calc(100% - 30px);
    }

    .contact-mode-title {
        font-size: 27px;
    }

    .contact-mode-subtitle {
        font-size: 13px;
    }

    .contact-mode-item {
        gap: 16px;
    }

    .contact-mode-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .contact-mode-icon img,
    .contact-mode-icon svg {
        width: 30px;
        height: 30px;
    }

    .contact-mode-content h3 {
        font-size: 20px;
    }

    .contact-mode-content p {
        font-size: 13px;
    }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

.contact-mode-icon img,
.contact-mode-icon svg {
    pointer-events: none;
}

/* =========================================================
   SEZIONE DOVE MI TROVI
   ========================================================= */

.contact-section {
    width: 100%;
    background: #ffffff;
    padding: 55px 0;
    box-sizing: border-box;
}

.contact-container {
    width: min(1200px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.25fr 0.75fr;
    column-gap: 55px;
    align-items: center;
}


/* =========================================================
   COLONNA INFORMAZIONI
   ========================================================= */

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    margin: 0 0 24px;
    color: #173f38;
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.contact-info p {
    margin: 0;
    color: #183b36;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

.contact-info .contact-address {
    margin-top: 18px;
    font-weight: 500;
}


/* =========================================================
   GOOGLE MAPS - IFRAME
   ========================================================= */

.contact-map {
    width: 100%;
    height: 265px;
    overflow: hidden;
    border-radius: 8px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   FRASE DECORATIVA A DESTRA
   ========================================================= */

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.contact-cta p {
       margin: 0;
    color: #65776b;
  /* font-family: "Caveat", cursive;
    font-size: clamp(27px, 2.5vw, 38px);
    font-weight: 400;
    line-height: 1.25;*/
}


/* Linea decorativa */

.contact-cta::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    background: #87978c;
    margin-top: 18px;
}


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

@media (max-width: 900px) {

    .contact-section {
        padding: 50px 0;
    }

    .contact-container {
        width: min(90%, 700px);
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .contact-info {
        order: 1;
    }

    .contact-map {
        order: 2;
        height: 190px;
    }

    .contact-cta {
        order: 3;
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 5px;
    }

    .contact-cta p {
        font-size: 14px;
    }

    .contact-cta::after {
        margin-left: auto;
        margin-right: auto;
    }
}


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

@media (max-width: 600px) {

    .contact-section {
        padding: 45px 0;
    }

    .contact-container {
        width: 88%;
        display: flex;
        flex-direction: column;
        gap: 28px;
        align-items: stretch;
    }

    .contact-info {
        text-align: center;
        align-items: center;
    }

    .contact-info h2 {
        font-size: 34px;
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: 16px;
        line-height: 1.5;
    }

    .contact-info .contact-address {
        margin-top: 10px;
    }


    /* Google Maps */

    .contact-map {
        width: 100%;
        height: 210px;
        border-radius: 8px;
    }

    .contact-map iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }


    /* Frase decorativa */

    .contact-cta {
        text-align: center;
        align-items: center;
        justify-content: center;
        padding-top: 5px;
    }

    .contact-cta p {
        max-width: 280px;
        font-size: 14px;
        line-height: 1.25;
    }

    .contact-cta::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   PSICOLOGO ONLINE - CARD VANTAGGI
   ========================================= */

.online-benefits {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 32px 0 10px !important;
}

.online-benefit {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 15px !important;
    row-gap: 8px !important;

    align-items: start !important;

    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    padding: 22px 20px !important;

    background: #ffffff !important;
    border-radius: 14px !important;

    box-shadow: 0 5px 20px rgba(50, 70, 60, 0.06) !important;
}


.online-benefit2 {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 15px !important;
    row-gap: 8px !important;

    align-items: start !important;

    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    padding: 22px 20px !important;

    background: #ffffff !important;
    border-radius: 14px !important;

    box-shadow: 0 5px 20px rgba(50, 70, 60, 0.06) !important;
}



/* =========================================
   ICONA
   ========================================= */

.online-benefit-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;

    background: #e8eee8 !important;
}


/* =========================================
   TITOLO
   ========================================= */

.online-benefit h4, .online-benefit h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    color: #315448 !important;

    font-family: "Playfair Display", serif !important;
    font-size: 21px !important;
    line-height: 1.2 !important;

    box-sizing: border-box !important;
}


.online-benefit2 h4, .online-benefit2 h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    color: #315448 !important;

    font-family: "Playfair Display", serif !important;
    font-size: 21px !important;
    line-height: 1.2 !important;

    box-sizing: border-box !important;
}


/* =========================================
   TESTO
   ========================================= */

.online-benefit p, .online-benefit2 p {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #4b5650 !important;

    font-family: "Lato", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;

    box-sizing: border-box !important;
}


/* =========================================
   QUINTA CARD
   ========================================= */

.online-benefit:last-child {
    grid-column: 1 / -1 !important;
    width: calc(50% - 9px) !important;
    justify-self: center !important;
}


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

@media (max-width: 768px) {

    .online-benefits {
        grid-template-columns: 1fr !important;
    }

    .online-benefit:last-child {
        grid-column: auto !important;
        width: 100% !important;
    }
}


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

@media (max-width: 480px) {

    .online-benefits {
        gap: 14px !important;
        margin-top: 26px !important;
    }

    .online-benefit {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        padding: 19px 17px !important;
        column-gap: 13px !important;
    }
 .online-benefit2 {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        padding: 19px 17px !important;
        column-gap: 13px !important;
    }

    

    .online-benefit-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .online-benefit h3,  .online-benefit h4, .online-benefit2 h3 {
        font-size: 19px !important;
    }

    .online-benefit p, .online-benefit2 p {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }
}



/* LISTA CON FOGLIA */
.liste-1 {
    list-style: none !important;
    margin: 22px 0 !important;
    padding: 0 !important;
}

.liste-1 li {
    position: relative;
    margin: 0 0 12px 0 !important;
    padding: 0 0 0 28px !important;
    color: #4b5650;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

/* Foglia */
.liste-1 li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 13px;
    height: 13px;
    background-color: #819184;
    
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C13.5 3.7 7.9 5.3 4.7 9.1c-2.5 3-2.2 6.6-.5 9.2 1.2-2.8 3.5-5.4 7-7.5-2.1 2-4 4.4-5.1 7.2 3.5.8 7-.2 9.5-2.8 2.7-2.8 4-6.7 4.9-11.7z'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C13.5 3.7 7.9 5.3 4.7 9.1c-2.5 3-2.2 6.6-.5 9.2 1.2-2.8 3.5-5.4 7-7.5-2.1 2-4 4.4-5.1 7.2 3.5.8 7-.2 9.5-2.8 2.7-2.8 4-6.7 4.9-11.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}




/* =========================================================
   SIDEBAR - GENERATEPRESS
   Dott.ssa Chiara Marchetti
   ========================================================= */

/* Contenitore */

#right-sidebar {
    position: relative;
}

#right-sidebar .inside-right-sidebar {
    padding: 0 !important;
}

/* Tutti i widget */
#right-sidebar .widget {
    margin-bottom: 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#right-sidebar .widget:last-child {
    margin-bottom: 0 !important;
}




/* =========================================================
   1. AREE DI INTERVENTO
   ========================================================= */

#right-sidebar .sidebar-areas {
    background: #ffffff !important;
    padding: 28px 26px !important;
    border: 1px solid #e5ebe5 !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 22px rgba(52,70,60,.05) !important;
}

#right-sidebar .sidebar-areas .widget-title {
    position: relative;
    margin: 0 0 20px !important;
    padding: 0 0 17px 38px !important;

    color: #315448 !important;
    font-family: "Playfair Display", serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


#right-sidebar .sidebar-areas .widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;

    width: 25px;
    height: 30px;

    background-color: #819184;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M53 8C34 10 17 19 11 34c-4 10 0 20 8 23 1-10 5-19 13-27 6-6 13-10 21-12-2 8-6 15-12 21-8 8-16 12-25 13' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 51C27 38 37 27 52 18' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M53 8C34 10 17 19 11 34c-4 10 0 20 8 23 1-10 5-19 13-27 6-6 13-10 21-12-2 8-6 15-12 21-8 8-16 12-25 13' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 51C27 38 37 27 52 18' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;

    transform: rotate(-8deg);
    transform-origin: center;
}



#right-sidebar .sidebar-areas .widget-title::after {
    content: "";
    position: absolute;
    left: 38px;
    bottom: 0;

    width: 42px;
    height: 1px;
    background: #a9b6ab;
}

#right-sidebar .sidebar-areas ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#right-sidebar .sidebar-areas li {
    margin: 0 !important;
    padding: 0 !important;
}

#right-sidebar .sidebar-areas li a {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 44px;
    padding: 8px 28px 8px 0 !important;

    color: #40534a !important;
    font-family: "Lato", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;

    text-decoration: none !important;
    border-bottom: 1px solid #edf1ed;

    transition: all .25s ease;
}

#right-sidebar .sidebar-areas li a::after {
    content: "›";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);

    color: #819184;
    font-size: 24px;
    line-height: 1;
}

#right-sidebar .sidebar-areas li a:hover {
    color: #315448 !important;
    padding-left: 5px !important;
}

#right-sidebar .sidebar-areas li:last-child a {
    border-bottom: 0 !important;
}

/* voce attiva */
#right-sidebar .sidebar-areas li.active > a,
#right-sidebar .sidebar-areas li.current-menu-item > a {
    margin-left: -26px;
    margin-right: -26px;

    padding-left: 26px !important;

    background: #e8eee8 !important;
    color: #315448 !important;
    font-weight: 700 !important;

    border-left: 3px solid #819184;
}


/* =========================================================
   PSICOLOGO ONLINE - SIDEBAR
   ========================================================= */

#right-sidebar .sidebar-online {
    position: relative;
    overflow: hidden;

    padding: 29px 26px 28px !important;

    background: #e8eee8 !important;
    border: 1px solid #dfe7df !important;
    border-radius: 16px !important;
}


/* ---------------------------------------------------------
   RAMO DECORATIVO SULLO SFONDO
   --------------------------------------------------------- */

#right-sidebar .sidebar-online::after {
    content: "";
    position: absolute;

    right: -2px;
    top: 18px;

    width: 105px;
    height: 160px;

    background: #8b9c8f;

    opacity: 0.28;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 180'%3E%3Cpath d='M96 174 C78 145 70 116 73 86 C76 57 89 29 108 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M78 113 C60 101 48 86 44 69 C60 72 72 82 78 98Z' fill='black'/%3E%3Cpath d='M75 91 C87 77 99 68 116 65 C108 80 95 91 77 96Z' fill='black'/%3E%3Cpath d='M70 67 C53 55 45 42 44 26 C60 33 70 45 73 61Z' fill='black'/%3E%3Cpath d='M86 48 C94 34 104 25 118 20 C114 35 103 46 88 53Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 180'%3E%3Cpath d='M96 174 C78 145 70 116 73 86 C76 57 89 29 108 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M78 113 C60 101 48 86 44 69 C60 72 72 82 78 98Z' fill='black'/%3E%3Cpath d='M75 91 C87 77 99 68 116 65 C108 80 95 91 77 96Z' fill='black'/%3E%3Cpath d='M70 67 C53 55 45 42 44 26 C60 33 70 45 73 61Z' fill='black'/%3E%3Cpath d='M86 48 C94 34 104 25 118 20 C114 35 103 46 88 53Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;

    pointer-events: none;
}


/* ---------------------------------------------------------
   TITOLO + ICONA COMPUTER
   --------------------------------------------------------- */

#right-sidebar .sidebar-online .widget-title {
    position: relative;
    z-index: 2;

    margin: 0 0 13px !important;
    padding-left: 48px !important;

    color: #315448 !important;
    font-family: "Playfair Display", serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


/* computer */
#right-sidebar .sidebar-online .widget-title::before {
    content: "";
    position: absolute;

    left: 0;
    top: 1px;

    width: 34px;
    height: 30px;

    background: #315448;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Crect x='8' y='6' width='48' height='31' rx='3' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M18 46h28' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M25 37l-5 9M39 37l5 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Crect x='8' y='6' width='48' height='31' rx='3' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M18 46h28' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M25 37l-5 9M39 37l5 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ---------------------------------------------------------
   TESTO
   --------------------------------------------------------- */

#right-sidebar .sidebar-online p {
    position: relative;
    z-index: 2;

    margin: 0 0 20px !important;

    color: #46554e !important;
    font-family: "Lato", sans-serif !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

#right-sidebar .sidebar-online a.sidebar-button {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 11px 20px !important;

    background: #315448 !important;
    color: #ffffff !important;

    border-radius: 25px !important;

    font-family: "Lato", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none !important;

    transition: all .25s ease;
}

#right-sidebar .sidebar-online a.sidebar-button::after {
    content: "→";
    margin-left: 10px;
    font-size: 17px;
}

#right-sidebar .sidebar-online a.sidebar-button:hover {
    background: #24463b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================================================
   CONTATTI / INIZIARE UN PERCORSO
   ========================================================= */

#right-sidebar .sidebar-contact {
    position: relative;
    overflow: hidden;

    padding: 29px 26px 28px !important;

    background: #f6e9e2 !important;
    border: 1px solid #f0ddd2 !important;
    border-radius: 16px !important;
}


/* =========================================================
   RAMO DECORATIVO
   ========================================================= */

#right-sidebar .sidebar-contact::after {
    content: "";
    position: absolute;

    right: -4px;
    bottom: -8px;

    width: 105px;
    height: 145px;

    background: #c97960;

    opacity: 0.22;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Cpath d='M104 168 C88 145 78 120 78 94 C78 67 88 38 108 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M82 121 C63 111 51 97 47 80 C63 84 76 95 82 111Z' fill='black'/%3E%3Cpath d='M78 102 C91 88 103 80 118 78 C111 93 98 104 80 109Z' fill='black'/%3E%3Cpath d='M78 76 C61 64 54 50 53 35 C68 41 77 53 80 69Z' fill='black'/%3E%3Cpath d='M90 53 C99 39 110 30 119 27 C116 41 106 52 92 58Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Cpath d='M104 168 C88 145 78 120 78 94 C78 67 88 38 108 8' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M82 121 C63 111 51 97 47 80 C63 84 76 95 82 111Z' fill='black'/%3E%3Cpath d='M78 102 C91 88 103 80 118 78 C111 93 98 104 80 109Z' fill='black'/%3E%3Cpath d='M78 76 C61 64 54 50 53 35 C68 41 77 53 80 69Z' fill='black'/%3E%3Cpath d='M90 53 C99 39 110 30 119 27 C116 41 106 52 92 58Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;

    pointer-events: none;
}


/* =========================================================
   TITOLO + CUORE
   ========================================================= */

#right-sidebar .sidebar-contact .widget-title {
    position: relative;
    z-index: 2;

    margin: 0 0 13px !important;
    padding-left: 48px !important;

    color: #315448 !important;
    font-family: "Playfair Display", serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


/* cuore lineare */
#right-sidebar .sidebar-contact .widget-title::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0;

    width: 32px;
    height: 31px;

    background: #c97960;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cpath d='M32 49S7 34 7 18C7 8 14 3 22 3c5 0 9 3 10 7 2-4 6-7 11-7 8 0 15 5 15 15 0 16-26 31-26 31Z' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cpath d='M32 49S7 34 7 18C7 8 14 3 22 3c5 0 9 3 10 7 2-4 6-7 11-7 8 0 15 5 15 15 0 16-26 31-26 31Z' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* =========================================================
   TESTO
   ========================================================= */

#right-sidebar .sidebar-contact p {
    position: relative;
    z-index: 2;

    margin: 0 0 20px !important;

    color: #4f5853 !important;
    font-family: "Lato", sans-serif !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
}


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

#right-sidebar .sidebar-contact a.sidebar-button {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 11px 22px !important;

    background: #c97960 !important;
    color: #ffffff !important;

    border-radius: 25px !important;

    font-family: "Lato", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none !important;

    transition: all .25s ease;
}

#right-sidebar .sidebar-contact a.sidebar-button::after {
    content: "→";
    margin-left: 10px;
    font-size: 17px;
}

#right-sidebar .sidebar-contact a.sidebar-button:hover {
    background: #b8664f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================================================
   4. RICERCA
   ========================================================= */

#right-sidebar .sidebar-search {
    padding: 24px !important;

    background: #ffffff !important;
    border: 1px solid #e5e9e5 !important;
    border-radius: 16px !important;
}

#right-sidebar .sidebar-search .widget-title {
    margin: 0 0 15px !important;

    color: #315448 !important;
    font-family: "Playfair Display", serif !important;
    font-size: 23px !important;
    font-weight: 500 !important;
}

#right-sidebar .sidebar-search .search-form {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
}

#right-sidebar .sidebar-search input[type="search"] {
    flex: 1;
    min-width: 0;

    height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;

    background: #fbfcfb !important;
    border: 1px solid #dfe5df !important;
    border-radius: 7px !important;

    color: #3f4d46 !important;
    font-family: "Lato", sans-serif !important;
    font-size: 14px !important;

    box-shadow: none !important;
}

#right-sidebar .sidebar-search input[type="submit"] {
    width: 47px !important;
    min-width: 47px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #315448 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 7px !important;

    font-size: 0 !important;
}

#right-sidebar .sidebar-search input[type="submit"]:hover {
    background: #24463b !important;
}


/* =========================================================
   5. STICKY SIDEBAR
   ========================================================= */


@media (min-width: 769px) {

    #right-sidebar {
        position: relative !important;
    }

    /*

    #right-sidebar .inside-right-sidebar {
        position: sticky !important;
        top: 25px !important;
    }*/

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #right-sidebar {
        position: static !important;
        margin-left:1em;
        margin-right:1em;
    }

    #right-sidebar .widget {
        margin-bottom: 16px !important;
    }

    #right-sidebar .sidebar-areas,
    #right-sidebar .sidebar-online,
    #right-sidebar .sidebar-contact,
    #right-sidebar .sidebar-search {
        border-radius: 14px !important;
    }

}

@media (max-width: 480px) {

    #right-sidebar .sidebar-areas {
        padding: 24px 21px !important;
    }

    #right-sidebar .sidebar-online,
    #right-sidebar .sidebar-contact {
        padding: 25px 21px !important;
    }

    #right-sidebar .sidebar-search {
        padding: 21px !important;
    }

    #right-sidebar .sidebar-areas .widget-title,
    #right-sidebar .sidebar-online .widget-title,
    #right-sidebar .sidebar-contact .widget-title {
        font-size: 23px !important;
    }

}

/* =========================================================
   LE PRINCIPALI TEMATICHE
   Pagina Lutto e separazione
   ========================================================= */

.lutto-tematiche {
    width: 100%;
    margin: 48px 0 50px;
}

.lutto-tematiche h2 {
    margin: 0 0 22px !important;

    color: #315448 !important;
    font-family: "Playfair Display", serif !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


/* =========================================================
   GRID
   ========================================================= */

.lutto-tematiche-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* =========================================================
   CARD
   ========================================================= */

.lutto-tematica {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    min-height: 205px;

    padding: 24px 17px 20px;

    border-radius: 10px;

    text-align: center;

    box-sizing: border-box;
}


/* Colori */

.lutto-tematica--verde {
    background: #edf2ed;
}

.lutto-tematica--terracotta {
    background: #f6e8e1;
}

.lutto-tematica--crema {
    background: #f5f0e5;
}


/* =========================================================
   ICONA
   ========================================================= */

.lutto-tematica-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 0 12px;

    color: #315448;
}

.lutto-tematica--terracotta .lutto-tematica-icon {
    color: #bd7059;
}

.lutto-tematica--crema .lutto-tematica-icon {
    color: #6f8173;
}

.lutto-tematica-icon svg {
    width: 48px;
    height: 48px;

    display: block;
}


/* =========================================================
   TITOLI
   ========================================================= */

.lutto-tematica h3 {
    margin: 0 0 9px !important;

    color: #315448 !important;

    font-family: "Playfair Display", serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;

    line-height: 1.2 !important;
}


/* =========================================================
   TESTO
   ========================================================= */

.lutto-tematica p {
    margin: 0 0 auto !important;

    color: #4c5851 !important;

    font-family: "Lato", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   LINK
   ========================================================= */

.lutto-tematica a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 17px;

    color: #315448 !important;

    font-family: "Lato", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;

    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: all .2s ease;
}

.lutto-tematica a span {
    text-decoration: none;
    transition: transform .2s ease;
}

.lutto-tematica a:hover {
    color: #24463b !important;
}

.lutto-tematica a:hover span {
    transform: translateX(3px);
}


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

@media (max-width: 850px) {

    .lutto-tematiche-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lutto-tematica:last-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 6px);
        margin-left: auto;
        margin-right: auto;
    }

}


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

@media (max-width: 600px) {

    .lutto-tematiche {
        margin: 40px 0 42px;
    }

    .lutto-tematiche h2 {
        font-size: 27px !important;
        margin-bottom: 19px !important;
    }

    .lutto-tematiche-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lutto-tematica:last-child {
        grid-column: auto;
        max-width: none;
    }

    .lutto-tematica {
        min-height: 0;
        padding: 23px 18px 21px;
    }

}


/* =========================================================
   CITAZIONI EDITORIALI
   Dott.ssa Chiara Marchetti
   ========================================================= */

.quote-editorial {
    position: relative;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;

    width: 100%;

    margin: 52px 0 58px !important;
    padding: 22px 0 24px !important;

    border: 0 !important;
    background: transparent !important;

    font-style: normal !important;
}


/* ---------------------------------------------------------
   LINEA SUPERIORE
   --------------------------------------------------------- */

.quote-editorial::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 195px;
    height: 1px;

    background: #c97960;
}


/* ---------------------------------------------------------
   VIRGOLETTE DECORATIVE
   --------------------------------------------------------- */

.quote-editorial-mark {
    position: relative;

    display: block;

    margin: -7px 0 0 0;

    color: #e9e4dc;

    font-family: Georgia, serif;
    font-size: 92px;
    font-weight: 400;
    line-height: .8;
}


/* ---------------------------------------------------------
   TESTO
   --------------------------------------------------------- */

.quote-editorial-content {
    position: relative;

    padding: 1px 10px 0 0;
}

.quote-editorial p {
    margin: 0 !important;

    color: #315448 !important;

    font-family: "Playfair Display", serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    font-style: italic !important;

    line-height: 1.42 !important;
}


/* ---------------------------------------------------------
   PICCOLA LINEA FINALE
   --------------------------------------------------------- */

.quote-editorial-content::after {
    content: "";

    display: block;

    width: 36px;
    height: 1px;

    margin-top: 22px;

    background: #c97960;
}


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

@media (max-width: 850px) {

    .quote-editorial {
        grid-template-columns: 48px minmax(0, 1fr);

        margin: 45px 0 50px !important;
        padding-top: 20px !important;
    }

    .quote-editorial-mark {
        font-size: 78px;
    }

    .quote-editorial p {
        font-size: 22px !important;
    }
}


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

@media (max-width: 600px) {

    .quote-editorial {
        grid-template-columns: 38px minmax(0, 1fr);

        margin: 38px 0 42px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .quote-editorial::before {
        width: 130px;
    }

    .quote-editorial-mark {
        margin-top: -5px;
        font-size: 62px;
    }

    .quote-editorial p {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .quote-editorial-content {
        padding-right: 0;
    }

    .quote-editorial-content::after {
        margin-top: 18px;
    }
}



/* =========================================================
   HOMEPAGE – ELIMINA LO SPAZIO PRIMA DEL FOOTER
   ========================================================= */

body.home .site-content, body.page-id-241 content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.home .site-main, body.page-id-241 .site-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.home .entry-content > :last-child {
    margin-bottom: 0 !important;
}

/* Nessuno spazio aggiuntivo sopra il footer */
body.home .site-footer, body.page-id-241 .site-footer {
    margin-top: 0 !important;
}

body.home .inside-article, body.page-id-241 .inside-article {
  padding-bottom: 0px !Important;
}


/* =========================================================
   FOOTER CHIARA MARCHETTI
   GeneratePress
   Variante aggiornata
   ========================================================= */


/* =========================================================
   1. FOOTER GENERALE
   ========================================================= */

.site-footer {
    margin: 0 !important;
    padding: 0 !important;

    background: #f8f5ef !important;
    color: #315448 !important;
}


/* =========================================================
   2. AREA FOOTER WIDGETS
   ========================================================= */

.site-footer .footer-widgets {
    position: relative !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #f8f5ef !important;

    border-top: 1px solid #d9dfd9;
}


/* Piccolo elemento botanico centrale
   che separa la sezione Contatti dal footer */

.site-footer .footer-widgets::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -10px;

    width: 23px;
    height: 23px;

    transform: translateX(-50%);

    background-color: #f8f5ef;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M9 31 C10 21 16 12 30 6 C28 19 21 28 9 31Z' fill='none' stroke='%23819384' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 31 C15 22 22 14 30 6' fill='none' stroke='%23819384' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");

    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;

    z-index: 10;

    pointer-events: none;
}


/* =========================================================
   3. CONTENITORE INTERNO
   ========================================================= */

.site-footer .inside-footer-widgets {
    display: grid !important;

    grid-template-columns:
        minmax(230px, 0.95fr)
        minmax(220px, 0.95fr)
        minmax(400px, 1.35fr);

    align-items: center;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto !important;

    padding: 52px 40px 46px !important;

    column-gap: 48px;

    box-sizing: border-box;
}


/* =========================================================
   4. RESET DEI WIDGET
   ========================================================= */

.site-footer .footer-widget-1,
.site-footer .footer-widget-2,
.site-footer .footer-widget-3 {
    min-width: 0 !important;

    margin: 0 !important;

    box-sizing: border-box;
}

.site-footer .footer-widget-1 .widget,
.site-footer .footer-widget-2 .widget,
.site-footer .footer-widget-3 .widget {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   5. PRIMA COLONNA – LOGO
   Lasciata volutamente semplice
   ========================================================= */

.site-footer .footer-widget-1 {
    display: flex !important;

    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;

    min-height: 190px;

    padding: 0 !important;
}

.site-footer .footer-widget-1 img {
    display: block !important;

    width: auto !important;
    max-width: 190px !important;
    height: auto !important;

    margin: 0 0 14px !important;
}

.site-footer .footer-widget-1 p {
    margin: 0 !important;

    color: #819184 !important;

    font-family: "Lato", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.5 !important;
}


/* =========================================================
   6. SECONDA COLONNA – MENU
   ========================================================= */

.site-footer .footer-widget-2 {
    display: flex !important;

    align-items: center !important;

    min-height: 190px;

    padding: 0 0 0 35px !important;

    border-left: 1px solid #dfe4df !important;

    box-sizing: border-box;
}

.site-footer .footer-widget-2 .widget {
    width: 100% !important;
}

.site-footer .footer-widget-2 .widget-title {
    display: none !important;
}

.site-footer .footer-widget-2 ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-footer .footer-widget-2 li {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-footer .footer-widget-2 li a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 4px 0 !important;

    color: #40534a !important;

    font-family: "Lato", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;

    line-height: 1.45 !important;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer .footer-widget-2 li a:hover {
    color: #315448 !important;

    transform: translateX(3px);
}


/* =========================================================
   7. TERZA COLONNA – BOX "INIZIA UN PERCORSO"
   ========================================================= */

.site-footer .footer-widget-3 {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 190px !important;

    margin: 0 !important;

    padding: 34px 150px 34px 42px !important;

    background: #f4eee5 !important;

    border: 0 !important;
    border-radius: 26px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* =========================================================
   8. RAMO BOTANICO
   ========================================================= */

.site-footer .footer-widget-3::after {
    content: "";

    position: absolute !important;

    right: -6px !important;
    bottom: -16px !important;

    width: 145px !important;
    height: 205px !important;

    background-image: url("https://www.chiaramarchetti.it/wp-content/uploads/2026/09/ramo-chiara.webp") !important;

    background-repeat: no-repeat !important;

    background-position: right bottom !important;

    background-size: contain !important;

    opacity: 0.34 !important;

    pointer-events: none !important;

    z-index: 1 !important;
}


/* =========================================================
   9. WIDGET INTERNO CTA
   ========================================================= */

.site-footer .footer-widget-3 .widget {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 3 !important;
}


/* =========================================================
   10. TITOLO "INIZIA UN PERCORSO"
   ========================================================= */

.site-footer .footer-widget-3 .widget-title,
.site-footer .footer-widget-3 h3 {
    display: block !important;

    width: auto !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #315448 !important;

    font-family: "Caveat", cursive !important;
    font-size: 38px !important;
    font-weight: 500 !important;

    line-height: 1.05 !important;

    text-align: left !important;

    white-space: normal !important;

    position: relative !important;
    z-index: 3 !important;
}


/* =========================================================
   11. TESTO CTA
   ========================================================= */

.site-footer .footer-widget-3 p {
    display: block !important;

    width: auto !important;
    max-width: 360px !important;

    margin: 0 0 20px !important;
    padding: 0 !important;

    color: #40534a !important;

    font-family: "Lato", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;

    line-height: 1.55 !important;

    text-align: left !important;

    position: relative !important;
    z-index: 3 !important;
}


/* =========================================================
   12. PULSANTE
   ========================================================= */

.site-footer .footer-widget-3 a,
.site-footer .footer-widget-3 a.footer-cta,
.site-footer .footer-widget-3 a.footer-cta:visited {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: max-content !important;

    min-height: 44px !important;

    margin: 0 !important;
    padding: 12px 23px !important;

    background: #66806f !important;
    background-color: #66806f !important;

    color: #ffffff !important;

    border: 0 !important;
    border-radius: 24px !important;

    box-shadow: none !important;

    font-family: "Lato", sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: 0.1px;

    text-transform: uppercase !important;
    text-decoration: none !important;

    position: relative !important;

    z-index: 4 !important;

    box-sizing: border-box !important;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


/* Freccia */

.site-footer .footer-widget-3 a::after {
    content: "→";

    display: inline-block !important;

    margin-left: 8px;

    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1 !important;
}


/* Hover */

.site-footer .footer-widget-3 a:hover,
.site-footer .footer-widget-3 a:focus {
    background: #315448 !important;
    background-color: #315448 !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    text-decoration: none !important;
}


/* =========================================================
   13. COPYRIGHT BAR
   ========================================================= */

.site-footer .site-info {
    margin: 0 !important;
    padding: 14px 30px !important;

    background: #9fbea9 !important;

    color: #ffffff !important;

    font-family: "Lato", sans-serif !important;
    font-size: 11px !important;
    line-height: 1.5 !important;

    box-sizing: border-box;
}

.site-footer .site-info .inside-site-info {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 100%;

    max-width: 1180px;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box;
}

.site-footer .site-info a {
    color: #ffffff !important;

    text-decoration: underline !important;

    text-underline-offset: 2px;
}

.site-footer .site-info a:hover {
    color: #315448 !important;
}


/* =========================================================
   14. TABLET 769–1100
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .site-footer .inside-footer-widgets {
        grid-template-columns:
            minmax(180px, 0.9fr)
            minmax(190px, 0.9fr)
            minmax(320px, 1.25fr);

        column-gap: 30px;

        padding: 44px 30px !important;
    }

    .site-footer .footer-widget-1,
    .site-footer .footer-widget-2 {
        min-height: 175px;
    }

    .site-footer .footer-widget-1 img {
        max-width: 170px !important;
    }

    .site-footer .footer-widget-2 {
        padding-left: 25px !important;
    }

    .site-footer .footer-widget-2 li a {
        font-size: 14px !important;
    }

    .site-footer .footer-widget-3 {
        min-height: 175px !important;

        padding:
            30px 115px 30px 30px !important;

        border-radius: 23px !important;
    }

    .site-footer .footer-widget-3::after {
        right: -8px !important;
        bottom: -12px !important;

        width: 120px !important;
        height: 170px !important;

        opacity: 0.28 !important;
    }

    .site-footer .footer-widget-3 .widget-title,
    .site-footer .footer-widget-3 h3 {
        font-size: 34px !important;
    }

    .site-footer .footer-widget-3 p {
        max-width: 290px !important;

        font-size: 14px !important;
    }
}


/* =========================================================
   15. TABLET 601–768
   ========================================================= */

@media (min-width: 601px) and (max-width: 768px) {

    .site-footer .inside-footer-widgets {
        grid-template-columns:
            minmax(145px, 0.8fr)
            minmax(165px, 0.9fr)
            minmax(245px, 1.2fr);

        column-gap: 18px;

        padding: 38px 22px !important;
    }

    .site-footer .footer-widget-1 {
        min-height: 160px;
    }

    .site-footer .footer-widget-1 img {
        max-width: 150px !important;
    }

    .site-footer .footer-widget-1 p {
        font-size: 13px !important;
    }

    .site-footer .footer-widget-2 {
        min-height: 160px;

        padding-left: 18px !important;
    }

    .site-footer .footer-widget-2 li a {
        padding: 3px 0 !important;

        font-size: 13px !important;
    }

    .site-footer .footer-widget-3 {
        min-height: 160px !important;

        padding:
            26px 85px 26px 24px !important;

        border-radius: 20px !important;
    }

    .site-footer .footer-widget-3::after {
        right: -8px !important;
        bottom: -10px !important;

        width: 95px !important;
        height: 140px !important;

        opacity: 0.25 !important;
    }

    .site-footer .footer-widget-3 .widget-title,
    .site-footer .footer-widget-3 h3 {
        font-size: 30px !important;
    }

    .site-footer .footer-widget-3 p {
        max-width: 230px !important;

        font-size: 13px !important;
    }

    .site-footer .footer-widget-3 a,
    .site-footer .footer-widget-3 a.footer-cta {
        min-height: 41px !important;

        padding: 10px 18px !important;

        font-size: 10px !important;
    }
}


/* =========================================================
   16. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-footer .inside-footer-widgets {
        display: flex !important;

        flex-direction: column !important;
        align-items: center !important;

        width: 100%;

        gap: 0 !important;

        padding: 36px 22px 30px !important;
    }


    /* Logo */

    .site-footer .footer-widget-1 {
        width: 100% !important;

        min-height: auto;

        align-items: center !important;

        padding: 0 0 26px !important;

        text-align: center !important;
    }

    .site-footer .footer-widget-1 img {
        max-width: 170px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* Menu */

    .site-footer .footer-widget-2 {
        width: 100% !important;

        min-height: auto;

        display: block !important;

        padding: 24px 0 !important;

        border-left: 0 !important;
        border-top: 1px solid #dfe4df !important;

        text-align: center !important;
    }

    .site-footer .footer-widget-2 ul {
        display: flex;

        flex-direction: column;

        align-items: center;

        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer .footer-widget-2 li a {
        padding: 4px 0 !important;

        font-size: 14px !important;
    }


    /* CTA */

    .site-footer .footer-widget-3 {
        width: 100% !important;

        min-height: 210px !important;

        margin: 0 !important;

        padding:
            28px 100px 28px 26px !important;

        border: 0 !important;
        border-radius: 21px !important;
    }

    .site-footer .footer-widget-3::after {
        right: -7px !important;
        bottom: -10px !important;

        width: 105px !important;
        height: 150px !important;

        opacity: 0.24 !important;
    }

    .site-footer .footer-widget-3 .widget-title,
    .site-footer .footer-widget-3 h3 {
        font-size: 32px !important;

        text-align: left !important;
    }

    .site-footer .footer-widget-3 p {
        max-width: 245px !important;

        font-size: 14px !important;

        text-align: left !important;
    }


    /* Copyright */

    .site-footer .site-info {
        padding: 13px 20px !important;

        text-align: center;
    }

    .site-footer .site-info .inside-site-info {
        flex-direction: column !important;

        gap: 5px;

        text-align: center;
    }
}


/* =========================================================
   17. MOBILE PICCOLO
   ========================================================= */

@media (max-width: 420px) {

    .site-footer .inside-footer-widgets {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .site-footer .footer-widget-1 img {
        max-width: 155px !important;
    }

    .site-footer .footer-widget-2 li a {
        font-size: 13.5px !important;
    }

    .site-footer .footer-widget-3 {
        min-height: 250px !important;

        padding:
            25px 82px 25px 22px !important;

        border-radius: 19px !important;
    }

    .site-footer .footer-widget-3::after {
        right: -9px !important;
        bottom: -8px !important;

        width: 88px !important;
        height: 128px !important;

        opacity: 0.22 !important;
    }

    .site-footer .footer-widget-3 .widget-title,
    .site-footer .footer-widget-3 h3 {
        font-size: 29px !important;
    }

    .site-footer .footer-widget-3 p {
        max-width: 225px !important;

        font-size: 13.5px !important;
    }
}