.top-bar,
.top-bar a,
.site-footer,
.footer-widgets-wrapper,
.footer-widgets-wrapper a,
.footer-widgets-wrapper .widget-title {
  color: #000000 !important;
}

/* 1. Un solo carattere per tutto il sito: Figtree */
body, button, input, select, textarea,
p, li, blockquote, cite,
h1, h2, h3, h4, h5, h6, .wp-block-heading,
.site-title, .site-description,
.main-navigation, .main-navigation a,
.top-bar, .top-bar a,
.wp-block-button__link, input[type="submit"], .button {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}
body {
  font-size: 20.8px;
}
.site-title {
  font-size: 30px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}
.main-navigation a,
.top-bar {
  font-size: 18px;
  font-weight: 700;
}

/* 2. Testo dei paragrafi piu leggibile */
p, .wp-block-paragraph, .entry-content li {
  line-height: 1.55 !important;
}

/* 3. Titoli 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;
  }
}

/* 4. Quarta colonna del footer visibile anche nelle pagine interne */
.site-footer .footer-widget-area:nth-of-type(4),
#footer-widget-4,
.footer-widgets .footer-widget-area:last-child {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 5. Footer a 4 colonne su tutte le pagine */
@media screen and (min-width: 48em) {
  .footer-widgets .footer-widget-area {
    width: 25% !important;
    float: left !important;
    box-sizing: border-box;
    padding: 0 15px;
  }
}

/* 6. Tabelle comparative (blocco Tabella con classe tcm-table) */
.wp-block-table.tcm-table {
  margin: 24px 0;
  overflow-x: auto;
}
.wp-block-table.tcm-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}
.wp-block-table.tcm-table th,
.wp-block-table.tcm-table td {
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.wp-block-table.tcm-table thead {
  border-bottom: 2px solid #ddd;
}
.wp-block-table.tcm-table thead th {
  background-color: #f2f2f2;
  font-weight: 700;
  color: #333;
}
.wp-block-table.tcm-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.wp-block-table.tcm-table tbody td:first-child {
  font-weight: 700;
  color: #000;
}
@media screen and (max-width: 767px) {
  .wp-block-table.tcm-table table {
    min-width: 560px;
    font-size: 15px;
  }
}

/* 7. Box delle domande frequenti (gruppo con classe tcm-faq) */
.wp-block-group.tcm-faq {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
}
.wp-block-group.tcm-faq h2 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}
.wp-block-group.tcm-faq h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 19px !important;
  font-weight: 700;
  color: #000;
  margin: 24px 0 6px;
}
.wp-block-group.tcm-faq p {
  margin-top: 0;
  color: #444;
}
@media screen and (max-width: 767px) {
  .wp-block-group.tcm-faq { padding: 20px; }
  .wp-block-group.tcm-faq h3 { font-size: 17px !important; }
}


/* ===== RITMO E DIMENSIONI (ottobre 2026) ===== */
/* Testo: una sola dimensione per tutti i paragrafi */
.entry-content p, .entry-content li {
  font-size: 21px !important;
  line-height: 1.6 !important;
}
.entry-content p { margin-top: 0 !important; margin-bottom: 1em !important; }
.entry-content p:last-child { margin-bottom: 0 !important; }

/* Titoli: gerarchia chiara H2 > H3 > H4, titolo vicino al suo testo */
.entry-content h2 { font-size: 36px !important; line-height: 1.2 !important; margin-top: 0 !important; margin-bottom: 20px !important; }
.entry-content h3 { font-size: 24px !important; line-height: 1.3 !important; margin-top: 0 !important; margin-bottom: 14px !important; }
.entry-content h4 { font-size: 20px !important; line-height: 1.35 !important; margin-top: 0 !important; margin-bottom: 12px !important; }

/* Pulsanti: piu grandi e leggibili, stessa distanza dal testo */
.entry-content .wp-block-buttons { gap: 14px !important; margin-top: 28px !important; margin-bottom: 28px !important; }
.entry-content .wp-block-button__link {
  font-size: 15px !important;
  padding: 15px 30px !important;
  letter-spacing: 1.5px !important;
  line-height: 1.2 !important;
  transition: background-color .2s, color .2s;
}
.entry-content .is-style-outline .wp-block-button__link:hover {
  background-color: #333 !important;
  color: #fff !important;
}

/* Spaziatori: solo 3 misure regolari */
.entry-content .wp-block-spacer[style*="height:20px"],
.entry-content .wp-block-spacer[style*="height:25px"] { height: 24px !important; }
.entry-content .wp-block-spacer[style*="height:50px"] { height: 40px !important; }
.entry-content .wp-block-spacer[style*="height:75px"],
.entry-content .wp-block-spacer[style*="height:100px"] { height: 64px !important; }

/* FAQ: le domande restano piu piccole dei titoli */
.entry-content .tcm-faq h3 { font-size: 22px !important; margin: 22px 0 8px !important; text-transform: none !important; }
.entry-content .tcm-faq h3:first-of-type { margin-top: 0 !important; }

/* Tabelle */
.entry-content .tcm-table td, .entry-content .tcm-table th { font-size: 18px !important; line-height: 1.45 !important; }

/* Titolo pagina H1: nero e sottile */
.entry-title, h1.entry-title, .page-title { color: #111 !important; font-weight: 300 !important; letter-spacing: 0 !important; text-align: center !important; margin-bottom: 10px !important; }

/* Telefono */
@media screen and (max-width: 767px) {
  .entry-content p, .entry-content li { font-size: 18px !important; }
  .entry-content h2 { font-size: 26px !important; }
  .entry-content h3 { font-size: 21px !important; }
  .entry-content h4 { font-size: 19px !important; }
  .entry-content .tcm-faq h3 { font-size: 19px !important; }
  .entry-content .tcm-table td, .entry-content .tcm-table th { font-size: 16px !important; }
  .entry-content .wp-block-button__link { font-size: 14px !important; padding: 14px 22px !important; }
  .entry-content .wp-block-spacer[style*="height:50px"] { height: 28px !important; }
  .entry-content .wp-block-spacer[style*="height:75px"],
  .entry-content .wp-block-spacer[style*="height:100px"] { height: 40px !important; }
}


/* Tripadvisor nella barra in alto: scritta al posto dell'icona generica */
.jetpack-social-navigation a[href*="tripadvisor"] svg { display: none !important; }
.jetpack-social-navigation a[href*="tripadvisor"] .screen-reader-text {
  position: static !important; clip: auto !important; clip-path: none !important;
  width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important;
  font-size: 14px !important; font-weight: 700 !important; letter-spacing: .5px; color: #000 !important;
}
