/* SPUN Zone — skin spun-web-design v1 (2026-11-15)
   Tutto sotto html.spun-skin: senza la classe il sito non cambia.
   Campo Zone #AAFFB8 · inchiostro #250C75 (DESIGN_SYSTEM §4, D-039) · Manrope (200-800, leggero dal 15/11 su richiesta di Eugenio) + Space Mono. */

@font-face{font-family:"Manrope";font-weight:200 800;font-style:normal;font-display:swap;src:url(fonts/Manrope-latin-variable.woff2) format("woff2")}
@font-face{font-family:"Space Mono";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/SpaceMono-Regular.woff2) format("woff2")}

html.spun-skin{
  --accent:#250C75;                 /* bottoni e icone del tema */
  --sx-paper:#FAFAF4;
  --sx-paper-2:#F5F4EF;
  --sx-ink:#101013;
  --sx-muted:#6D6D78;
  --sx-line:#E4E3DE;
  --zone-field:#AAFFB8;
  --zone-ink:#250C75;
  --sx-font:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --sx-mono:"Space Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* ───── fondo e testo ───── */
html.spun-skin body,
html.spun-skin #c27-site-wrapper{background-color:var(--sx-paper)}
html.spun-skin body{color:var(--sx-ink);letter-spacing:0;font-weight:400}

/* ───── tipografia: Instrument Sans su tutto il testo, icone escluse ───── */
html.spun-skin body,
html.spun-skin p,html.spun-skin li,html.spun-skin a,html.spun-skin label,
html.spun-skin input,html.spun-skin select,html.spun-skin textarea,html.spun-skin button,
html.spun-skin th,html.spun-skin td,html.spun-skin blockquote,
html.spun-skin .elementor-widget-container,html.spun-skin .elementor-button,html.spun-skin .buttons,
html.spun-skin .cts-marker-cluster,
html.spun-skin span:not(.mi):not(.fa):not(.fas):not(.far):not(.fab):not(.material-icons):not([class*="icon"]):not([class*="fa-"]){
  font-family:var(--sx-font)!important;
}
html.spun-skin h1,html.spun-skin h2,html.spun-skin h3,html.spun-skin h4,html.spun-skin h5,html.spun-skin h6,
html.spun-skin .elementor-heading-title{
  font-family:var(--sx-font)!important;font-weight:300!important;letter-spacing:-.02em!important;
}

/* ───── occhielli: Space Mono maiuscolo ───── */
html.spun-skin .md-group label,
html.spun-skin .title-style-1 h5,
html.spun-skin .title-style-1 h3,
html.spun-skin .instant-results-list .ir-cat,
html.spun-skin .elementor-element-35f5c62 .elementor-heading-title,
html.spun-skin .elementor-element-0d899a1 .elementor-heading-title,
html.spun-skin .elementor-element-5ca3f18 .elementor-heading-title{
  font-family:var(--sx-mono)!important;font-weight:400!important;font-size:12px!important;
  text-transform:uppercase;letter-spacing:.06em!important;
}

/* ───── bottoni: raggio 6, il primario a 48 px ───── */
html.spun-skin .buttons,
html.spun-skin .quick-listing-actions a,
html.spun-skin .elementor-button{border-radius:6px!important}
html.spun-skin .buttons.button-2,
html.spun-skin .elementor-button{min-height:48px;font-weight:500!important}
html.spun-skin strong,html.spun-skin b{font-weight:600}
html.spun-skin .elementor-button{background-color:var(--zone-ink)!important;color:#fff!important}
html.spun-skin .elementor-button:hover,html.spun-skin .elementor-button:focus{background-color:#3a1ca0!important}

/* ───── celle a filetto: niente ombre, raggio 0 ───── */
html.spun-skin .lf-item-container,
html.spun-skin .lf-item,
html.spun-skin .element.content-block,
html.spun-skin .elementor-column,
html.spun-skin .elementor-column>.elementor-element-populated,
html.spun-skin .elementor-background-overlay{border-radius:0!important;box-shadow:none!important}
html.spun-skin .lf-item-container,
html.spun-skin .element.content-block{border:1px solid var(--sx-line)}

/* ───── riquadri viola di Elementor → inchiostro Zone ───── */
html.spun-skin .elementor-element-2a2b376 .elementor-background-overlay,
html.spun-skin .elementor-element-7a9a234 .elementor-background-overlay{background-color:var(--zone-ink)!important}

/* ───── banda «Vuoi inserire una tappa»: campo pieno menta con inchiostro violetto ───── */
html.spun-skin .elementor-element-5f0bda0{background-color:var(--zone-field)!important;background-image:none!important}
html.spun-skin .elementor-element-5f0bda0 .elementor-heading-title{color:var(--zone-ink)!important}

/* ───── slide della home: velo scuro, le foto casuali possono essere chiare ───── */
html.spun-skin .elementor-element-1e479af>.elementor-background-slideshow::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(16,16,19,.58) 0%,rgba(16,16,19,.42) 55%,rgba(16,16,19,.5) 100%)}
html.spun-skin .elementor-element-1e479af .elementor-heading-title{text-shadow:0 1px 18px rgba(16,16,19,.45)}

/* ───── schede senza foto di copertina: fondo inchiostro al posto del grigio ───── */
html.spun-skin .lf-item:not(:has(.lf-background)){background:linear-gradient(135deg,var(--zone-ink) 0%,#3a1ca0 100%)}
html.spun-skin .lf-item:not(:has(.lf-background)) .overlay{background-color:transparent!important}

/* ───── caricamento ───── */
html.spun-skin .loader-bg.main-loader{background-color:var(--zone-ink)}

/* ───── footer della home ───── */
html.spun-skin .elementor-element-8d8c279{border-top:1px solid var(--sx-line)}
html.spun-skin .elementor-element-8d8c279 .elementor-icon-list-text,
html.spun-skin .elementor-element-8d8c279 p{color:var(--sx-muted)}

/* ───── accessibilità ───── */
html.spun-skin :focus-visible{outline:2px solid var(--zone-ink);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  html.spun-skin *,html.spun-skin *::before,html.spun-skin *::after{scroll-behavior:auto!important}
}
