.elementor-kit-4{--e-global-color-primary:#8E2DE2;--e-global-color-secondary:#4A00E0;--e-global-color-text:#CCCCCC;--e-global-color-accent:#4CFF4C;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1px;--e-global-typography-accent-font-weight:500;}.elementor-kit-4 e-page-transition{background-color:#FFBC7D;}.elementor-kit-4 p{margin-block-end:35px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================
   CLS FIX PACK (Elementor)
   ========================= */

/* 1) Forza font system (evita flash/shift font) */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
  Roboto, Helvetica, Arial, sans-serif !important;
  text-rendering: optimizeLegibility;
}

/* 2) HERO: blocca altezza e overflow (NO layout jump) */
#hero-light,
#hero-heavy,
.elementor-element[id*="hero"] {
  min-height: 100vh;
  overflow: hidden;
}

/* 3) Riserva spazio ai titoli sopra la piega (anti-shift) */
h1, h2, h3 {
  line-height: 1.15;
}

/* Se il tuo H1 hero è il problema, puoi rendere più specifico:
   sostituisci .hero-title con la tua classe o lascia generico. */
#hero-light h1,
#hero-light h2,
#hero-light h3,
#hero-heavy h1,
#hero-heavy h2,
#hero-heavy h3 {
  min-height: 2.6em; /* riserva spazio per il render del font */
}

/* 4) Immagini: evita shift (width/height non definiti o lazy) */
img {
  height: auto;
  max-width: 100%;
}

/* 5) Video/iframe: riserva spazio (anti CLS su embed) */
video, iframe {
  display: block;
  max-width: 100%;
}

/* 6) Elementor containers: evita micro-jump su caricamento */
.e-con, .elementor-section, .elementor-container {
  will-change: auto;
}

/* 7) Se hai sticky header che “spinge” il layout */
.elementor-sticky--effects {
  transform: translateZ(0);
}/* End custom CSS */