:root {
  --body_font_family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --headings_font_family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body, .sppb-addon-text-block, .sppb-addon-title {
  font-family: var(--body_font_family) !important;
}

h1, h2, h3, h4, h5, h6, .sppb-addon-title, .sppb-title-heading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

@font-face { font-family: 'Font Awesome 6 Free'; font-style: normal; font-weight: 900; font-display: swap; src: url('/components/com_sppagebuilder/assets/webfonts/fa-solid-900-6.woff2') format('woff2'); }
@font-face { font-family: 'Font Awesome 6 Free'; font-style: normal; font-weight: 400; font-display: swap; src: url('/components/com_sppagebuilder/assets/webfonts/fa-regular-400-6.woff2') format('woff2'); }
@font-face { font-family: 'Font Awesome 6 Brands'; font-style: normal; font-weight: 400; font-display: swap; src: url('/components/com_sppagebuilder/assets/webfonts/fa-brands-400-6.woff2') format('woff2'); }
@font-face { font-family: 'bootstrap-icons'; font-style: normal; font-weight: normal; font-display: swap; src: url('/media/com_sppagebuilder/assets/iconfont/bootstrap-icons/font/bootstrap-icons.woff2') format('woff2'); }

.sp-megamenu-parent > li > a, 
.sp-megamenu-parent > li > span {
  font-size: 16px !important; /* Inserisci la dimensione desiderata */
}
/* Margine superiore per il logo solo su Smartphone (sotto i 768px) */
@media (max-width: 767.98px) {
  
}
/* Sottomenu mobile (Off-Canvas): aumenta font e spaziatura */
.offcanvas-inner .sp-module ul.menu li li a,
.offcanvas-inner .sp-module ul.menu li li span {
  font-size: 15px !important;       /* Dimensione font visibile e proporzionata */
  line-height: 1.5 !important;       /* Distanzia le righe verticalmente */
  padding-top: 8px !important;       /* Spazio sopra ogni singola voce */
  padding-bottom: 8px !important;    /* Spazio sotto ogni singola voce */
  display: block !important;
}