.top-bar,
.top-bar a,
.site-footer,
.footer-widgets-wrapper,
.footer-widgets-wrapper a,
.footer-widgets-wrapper .widget-title {
  color: #000000 !important;
}
/* 1. Assegna il font Figtree a titoli e pulsanti */
h1, h2, h3, h4, h5, h6, .wp-block-heading,
.wp-block-button__link, button, input[type="submit"], .button { 
    font-family: 'Figtree', sans-serif !important; 
}

/* 2. Imposta l'altezza linea per i paragrafi */
p, .wp-block-paragraph {
    line-height: 1.3 !important;
}

/* 3. FIX MOBILE: Rende H1, H2 e H3 responsive sui telefoni */
@media screen and (max-width: 767px) {
    h1, .wp-block-heading h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
    }
    h2, .wp-block-heading h2 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        word-wrap: break-word;
    }
    h3, .wp-block-heading h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
    }
}
/* Nasconde il titolo di pagina predefinito del tema (Page Header) */
.page .entry-title, 
.page-header, 
.page-title-section,
.page-title-bar,
h1.page-title { 
    display: none !important; 
}
/* Elimina le due testimonianze automatiche sopra il footer */
.karuna-testimonials, 
.front-testimonials, 
#front-page-testimonials {
    display: none !important;
}
/* Personalizza il testo della testimonianza (Il Messaggio) */
.testimonial-entry-content p {
    font-family: 'Lato', sans-serif !important; /* Il font che abbiamo scelto per i testi */
    font-size: 16px !important;                 /* Modifica i pixel per farlo più grande o piccolo */
    line-height: 1.4 !important;                /* Dà respiro alle righe del testo */
    font-style: italic;                         /* Opzionale: rende il testo in corsivo, tipico dei feedback */
}

/* Personalizza il nome dell'autore (Chi ha scritto la recensione) */
.testimonial-entry-title {
    font-family: 'Figtree', sans-serif !important; /* Usa il font dei tuoi titoli per coerenza */
    font-size: 18px !important;                    /* Dimensione del nome */
    font-weight: 700 !important;                   /* Lo rende in grassetto */
    margin-top: 10px;                              /* Distanzia il nome dal testo soprastante */
}
/* Trasforma le recensioni in uno slider a scorrimento solo su Mobile */
@media (max-width: 768px) {
    .jetpack-testimonial-shortcode {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important; /* Abilita lo scorrimento orizzontale */
        scroll-snap-type: x mandatory !important; /* Blocca la recensione al centro dello schermo dello swipe */
        -webkit-overflow-scrolling: touch !important; /* Rende lo scorrimento fluido su iPhone/iOS */
        padding-bottom: 20px !important;
        gap: 20px !important; /* Spazio tra una recensione e l'altra */
    }

    .jetpack-testimonial-shortcode .testimonial-entry {
        flex: 0 0 85% !important; /* Ogni recensione occupa l'85% della larghezza dello schermo, così si capisce che ce n'è un'altra dopo */
        scroll-snap-align: center !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
}
