/* srita-header.css | Header di Casa di Cura Santa Rita: CSS del modello di gruppo (header-nativo-megamenu.json,
   widget «00 · Stile header», verbatim) + delta di Santa Rita + eccezioni globali del drawer.
   GENERATO da tools/build-santa-rita-header-gruppo.py: NON si modifica qui, si rigenera. Fino al 05/11/2026 stava
   in un widget HTML dell'header (regola di gruppo del 20/10: il CSS vive nel tema figlio). */

/* ===== Header Redesign NefroCenter — fedele al mockup ===== */
/* topbar */
body .nc-topbar-wrap{padding:0}
body .nc-top{font:500 13px 'Inter',sans-serif}
body .nc-top .in{max-width:1280px;margin:0 auto;padding:8px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
body .nc-top a{color:#fff;text-decoration:none;opacity:.92}
body .nc-top a:hover{opacity:1}
body .nc-top .l,body .nc-top .r{display:flex;align-items:center;gap:18px}
body .nc-top .rs{font-weight:700}
body .nc-fz{background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:999px;padding:3px 10px;font:700 12px 'Inter',sans-serif;cursor:pointer}
/* barra */
body .nc-hdr-bar{padding:0 24px;min-height:60px;-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid rgba(20,32,46,.06);transition:min-height .35s ease}
body .nc-hdr-logo{padding:0;background:transparent;border:none}
body .nc-hdr-logo img{height:42px;width:auto;display:block;transition:height .35s ease}
body .elementor-sticky--effects .nc-hdr-logo img{height:36px}
body .elementor-sticky--effects.nc-hdr-bar{box-shadow:0 10px 30px -14px rgba(20,41,79,.16);min-height:52px}
/* menu a destra accanto alla CTA */
body .nc-hdr-bar .elementor-widget-n-menu{margin-left:auto;margin-right:8px;flex-grow:0}
body .nc-hdr-bar .e-n-menu-heading{gap:28px}
/* voci */
body .nc-hdr-bar .e-n-menu-title{padding:4px 0;position:relative;background:none}
body .nc-hdr-bar .e-n-menu-title-text{font:400 15px 'Inter',sans-serif;color:#38455A;letter-spacing:.01em}
body .nc-hdr-bar .e-n-menu-title:hover .e-n-menu-title-text,body .nc-hdr-bar .e-n-menu-title[aria-expanded=true] .e-n-menu-title-text{color:var(--blue,#1C4184)}
/* sottolineatura animata + caret ruotante (mockup .mi>a) */
body .nc-hdr-bar .e-n-menu-title::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--blue,#1C4184);transition:width .3s ease}
body .nc-hdr-bar .e-n-menu-title:hover::after,body .nc-hdr-bar .e-n-menu-title[aria-expanded=true]::after{width:100%}
body .nc-hdr-bar .e-n-menu-title-icon{margin-left:2px;transition:transform .3s ease}
body .nc-hdr-bar .e-n-menu-title-icon svg,body .nc-hdr-bar .e-n-menu-title-icon i{width:13px;height:13px;font-size:13px}
body .nc-hdr-bar .e-n-menu-title[aria-expanded=true] .e-n-menu-title-icon{transform:rotate(180deg)}
/* pannello */
body .nc-mm-panel{background:#fff;border-bottom:1px solid rgba(20,32,46,.06);border-top:none;box-shadow:0 34px 64px -34px rgba(20,41,79,.30);padding:0 24px}
body .nc-mm-panel>.e-con-inner{padding:38px 0 44px;gap:44px;align-items:flex-start}
body .nc-mm-panel .nc-mm-col{flex:1 1 0 !important;width:auto !important;min-width:180px}
/* intestazione colonna: icona + titolo + badge a fine riga + riga sotto */
body .nc-mm-title .elementor-heading-title{display:flex;align-items:center;gap:9px;font:700 11px 'Inter',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#4F79C4;padding-bottom:11px;margin-bottom:8px;border-bottom:1px solid rgba(20,32,46,.06)}
body .nc-mm-title .elementor-heading-title svg{width:16px;height:16px;color:var(--blue,#1C4184);flex:none}
body .nc-badge{margin-left:auto;display:inline-flex;background:#E7EEF8;color:var(--blue,#1C4184);border-radius:100px;font:700 11px 'Inter',sans-serif;letter-spacing:0;padding:2px 9px}
/* voci colonna: testo a sinistra, chevron piccolo a destra */
body .nc-mm-list .elementor-icon-list-items{display:flex;flex-direction:column}
body .nc-mm-list .elementor-icon-list-item{margin:0}
body .nc-mm-list .elementor-icon-list-item a{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;margin:0 -10px;border-radius:9px;transition:background .2s ease,padding-left .2s ease}
body .nc-mm-list .elementor-icon-list-text{font:500 14.5px 'Inter',sans-serif;color:#38455A;transition:color .2s ease}
body .nc-mm-list .elementor-icon-list-icon{color:#c3cbd8;font-size:13px;display:grid;place-items:center;transition:color .2s ease}
body .nc-mm-list .elementor-icon-list-icon svg{width:13px;height:13px}
body .nc-mm-list .elementor-icon-list-item a:hover{background:#E7EEF8;padding-left:16px}
body .nc-mm-list .elementor-icon-list-item a:hover .elementor-icon-list-text,body .nc-mm-list .elementor-icon-list-item a:hover .elementor-icon-list-icon{color:var(--blue,#1C4184)}
/* bottone Tutte le specialità */
body .nc-mm-all{margin-top:16px;width:100%}
body .nc-mm-all .elementor-button{width:100%;justify-content:center;gap:8px;background:var(--blue,#1C4184);color:#fff;border-radius:100px;font:600 15px 'Inter',sans-serif;padding:13px 24px}
body .nc-mm-all .elementor-button:hover{background:#16346A;color:#fff}
/* CTA */
body .nc-cta-btn .elementor-button{background:var(--blue,#1C4184);border-radius:100px;color:#fff;font:600 15px 'Inter',sans-serif;padding:13px 26px}
body .nc-cta-btn .elementor-button:hover{background:#16346A;color:#fff}

/* icone titoli gruppo via CSS mask (gli svg nel titolo vengono sanitizzati al salvataggio) */
body .nc-mm-title .elementor-heading-title::before{content:"";width:16px;height:16px;flex:none;background:var(--blue,#1C4184);-webkit-mask:var(--nc-ico) center/contain no-repeat;mask:var(--nc-ico) center/contain no-repeat}
body .nc-mm-cure .nc-mm-col:nth-of-type(1) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M12 3c-3 4-6 6-6 10a6 6 0 0 0 12 0c0-4-3-6-6-10Z'/%3E%3C/svg%3E")}
body .nc-mm-cure .nc-mm-col:nth-of-type(2) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M4 14a2 2 0 0 1 2-2h1l2-4 3 8 2-4h4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E")}
body .nc-mm-cure .nc-mm-col:nth-of-type(3) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2'/%3E%3C/svg%3E")}
body .nc-mm-sedi .nc-mm-col:nth-of-type(1) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
body .nc-mm-sedi .nc-mm-col:nth-of-type(2) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11Z'/%3E%3Cpath d='M9.5 10h5M12 7.5v5'/%3E%3C/svg%3E")}
body .nc-mm-sedi .nc-mm-col:nth-of-type(3) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4'/%3E%3C/svg%3E")}
body .nc-mm-sedi .nc-mm-col:nth-of-type(4) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
/* chevron grigio chiaro (il kit lo forza blu) */
body .nc-mm-list .elementor-icon-list-icon i{color:#c3cbd8 !important;font-size:13px !important}
body .nc-mm-list .elementor-icon-list-icon svg{fill:#c3cbd8 !important;width:13px !important;height:13px !important}
body .nc-mm-list .elementor-icon-list-item a:hover .elementor-icon-list-icon i{color:var(--blue,#1C4184) !important}
body .nc-mm-list .elementor-icon-list-item a:hover .elementor-icon-list-icon svg{fill:var(--blue,#1C4184) !important}


/* ===== delta Santa Rita sul modello di gruppo (tools/build-santa-rita-header-gruppo.py) ===== */
/* --- topbar NATIVA: la stessa struttura del modello (.nc-top > .in > .l / .r) fatta di container
   e icon-list, perché il testo resti editabile (decisione 5 del 09/09). `.in/.l/.r` si chiamano
   `.nc-top-in/-l/-r` (`.in` collide col foglio di gruppo delle schede) e prendono le regole del
   gruppo lette dal modello; poi solo quello che container e icon-list di Elementor aggiungono di loro. */
body .nc-top .nc-top-in{max-width:1280px;margin:0 auto;padding:8px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
body .nc-top .nc-top-l,body .nc-top .nc-top-r{display:flex;align-items:center;gap:18px}
body .nc-top{padding:0}
body .nc-top .nc-top-in{max-width:1200px}
/* (0,3,1): `.e-con:not(.e-grid)>.e-con{width:100%}` è (0,3,0) e allargherebbe le due metà a tutta riga */
body .nc-top .nc-top-in>.nc-top-l,body .nc-top .nc-top-in>.nc-top-r{width:auto;flex:0 1 auto;padding:0}
body .nc-top .elementor-icon-list-items{display:flex;margin:0;padding:0}
/* riga da 20px: nel modello la topbar è HTML con «☎», la cui riga è 20px, e la barra fa 36px (misurato su
   test2.rah.it il 06/10). Con testo e icona Font Awesome la riga sarebbe 16px e la topbar 32 */
body .nc-top .elementor-icon-list-item>a{display:inline-flex;align-items:center;gap:6px;min-height:20px}
/* area di tocco 44px (revisione 04/11: il telefono della topbar e' 20px di altezza): padding e margine negativo, la barra non cambia */
@media (max-width:1024px){body .nc-top .elementor-icon-list-item>a{padding-block:12px;margin-block:-12px}}
body .nc-top .elementor-icon-list-item .elementor-icon-list-text{font:500 0.8125rem 'Inter',sans-serif;color:#fff;padding:0}
body .nc-top .nc-tb-rs .elementor-icon-list-item .elementor-icon-list-text{font-weight:700}
/* l'icona del telefono: `i` nel banco (Font Awesome da CDN), `svg` sullo staging (Elementor 4) */
body .nc-top .elementor-icon-list-item .elementor-icon-list-icon{color:#fff;padding:0;margin:0}
body .nc-top .elementor-icon-list-item .elementor-icon-list-icon i{font-size:0.8125rem;color:#fff}
body .nc-top .elementor-icon-list-item .elementor-icon-list-icon svg{width:13px;height:13px;fill:#fff}
/* la CTA porta il numero: non va a capo */
body .nc-hdr-bar .nc-cta-btn .elementor-button{white-space:nowrap}
/* --- logo: il lockup di Santa Rita è 6:1, non deve comprimersi; è un link alla home */
body .nc-hdr-logo{flex:none}
/* inline-block: su telefono il widget prende tutta la riga, il link no (il suo anello di fuoco, e il tocco
   nello spazio vuoto a destra, restano sul logo) */
body .nc-hdr-logo a{display:inline-block;vertical-align:top;line-height:0}
/* fra 1025 e 1150 logo, quattro voci e CTA stanno in 977px: il logo scende a 32px (stesso delta di RAH).
   Anche da attaccato: `.elementor-sticky--effects .nc-hdr-logo img{height:36px}` del gruppo è (0,2,2) e
   lo farebbe CRESCERE allo scroll. Sotto i 1025 valgono le misure del gruppo (42, 36 attaccato). */
@media (min-width:1025px) and (max-width:1150px){
  body .nc-hdr-logo img,body .elementor-sticky--effects .nc-hdr-logo img{height:32px}
}
/* --- dimensioni del testo in rem (09/09): quelle del CSS di gruppo, stesso selettore, dopo di lui;
   quelle del drawer, con una classe in più */
body .nc-top{font-size:0.8125rem}
body .nc-fz{font-size:0.75rem}
body .nc-hdr-bar .e-n-menu-title-text{font-size:0.9375rem}
body .nc-hdr-bar .e-n-menu-title-icon svg,body .nc-hdr-bar .e-n-menu-title-icon i{font-size:0.8125rem}
body .nc-mm-title .elementor-heading-title{font-size:0.6875rem}
body .nc-badge{font-size:0.6875rem}
body .nc-mm-list .elementor-icon-list-text{font-size:0.90625rem}
body .nc-mm-list .elementor-icon-list-icon{font-size:0.8125rem}
body .nc-mm-all .elementor-button{font-size:0.9375rem}
body .nc-cta-btn .elementor-button{font-size:0.9375rem}
body .nc-mm-list .elementor-icon-list-icon i{font-size:0.8125rem !important}
.ncd-root .ncd-dbrand{font-size:1.125rem}
.ncd-root .ncd-dbrand small{font-size:0.5625rem}
body .ncd-root .ncd-close{font-size:1.5rem}
.ncd-root .ncd-eyebrow{font-size:0.625rem}
.ncd-root .ncd-area .ncd-nm{font-size:1rem}
.ncd-root .ncd-link .ncd-nm{font-size:0.875rem}
/* --- barra: 65px come RAH e come il gruppo misurato (test.nefrocenter.it, VAM: «65px»), ma senza il
   padding di default di 10px che Elementor mette sulla `.e-con-inner` di un container boxed. Con quel
   padding il menu non può arrivare al fondo della barra (sotto), e su telefono si sommava al nostro. */
body .nc-hdr-bar>.e-con-inner{padding-block:0}
body .nc-hdr-bar,body .elementor-sticky--effects.nc-hdr-bar{min-height:65px}
/* --- il pannello del Mega Menu nasce a `top:100%` del WIDGET, non della barra: con le voci centrate il
   widget è alto 32px e il pannello partiva 16px sopra il fondo, coprendo il fondo di logo e CTA e la
   sottolineatura dello stato aperto. Si allunga il widget quanto la barra e si centrano le voci dentro
   (rimedio di VDF, ricettario 30/09 punto 6): niente fascia morta fra voce e pannello. */
@media (min-width:1025px){
  body .nc-hdr-bar .elementor-widget-n-menu{align-self:stretch}
  body .nc-hdr-bar .elementor-widget-n-menu>.elementor-widget-container,
  body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu,
  body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-wrapper,
  body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-item{height:100%}
  body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-heading{height:100%;align-items:stretch}
  body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-title{height:100%;padding:0}
}
/* --- occhielli delle colonne: #4F79C4 del gruppo sul bianco fa 4,32:1, sotto la soglia AA per 11px.
   #3F66AC (5,7:1) è il valore UNICO proposto dal gruppo (ricettario 26/10, punto 5); fino al 05/11 qui c'era
   il blu di Villa dei Fiori: due valori per la stessa cosa */
body .nc-mm-title .elementor-heading-title{color:#3F66AC}
/* --- il «tastone» «Tutte le aree …» in fondo alle colonne (12/11/2026). Le colonne hanno 4, 5, 5 e 6 voci: col
   bottone subito sotto l'elenco i due «Tutte le aree» stavano 36px sfalsati (lo stesso difetto visto su RAH l'11/11).
   Il bottone scende sul fondo della colonna (`margin-top:auto`; le colonne sono container flex, alte uguali), e
   l'elenco tiene 16px di aria sotto di sé: nella colonna più alta il bottone non si attacca alle voci. */
@media (min-width:1025px){
  body .nc-mm-panel .nc-mm-col>.nc-mm-list{margin-bottom:16px}
  body .nc-mm-panel .nc-mm-col>.nc-mm-all{margin-top:auto}
  /* misurato sullo staging il 12/11: la colonna è 235px e «Tutte le aree chirurgiche» (186px a 15px) con 24px di
     padding e icona andava a capo, 62px contro 44 degli altri due. Padding 16px e testo 14px (174px): una riga. */
  body .nc-mm-panel .nc-mm-col>.nc-mm-all .elementor-button{padding-inline:16px;font-size:0.875rem}
}
/* fra 1025 e 1150 la colonna è 977px: con il gap di 44 «AREE CHIRURGICHE» andava a capo */
@media (min-width:1025px) and (max-width:1150px){body .nc-mm-panel>.e-con-inner{gap:28px}}
/* --- Mega Menu di Pro 4.2: colori, caret e sottolineatura con le custom property del widget, non contro
   le sue regole (ricettario di gruppo, VDF 30/09, punto 6). `.e-n-menu-title-text{color}` di Pro vale
   (0,6,0) e batte il #38455A del gruppo (0,2,1): resterebbe #1f2124. Il divisorio fra le voci usa lo
   stesso `::after` a (0,4,1) su tutte tranne l'ultima: la sottolineatura del gruppo (0,2,2) comparirebbe
   solo su «Contatti». E lo stato aperto Pro lo mette su `.e-n-menu-content.e-active`, non sul titolo. */
body .nc-hdr-bar .elementor-widget-n-menu{--n-menu-title-color-normal:#38455A;--n-menu-title-color-hover:#1C4184;
  --n-menu-title-color-active:#1C4184;--n-menu-dropdown-indicator-size:13px;
  --n-menu-dropdown-indicator-color-normal:#38455A;--n-menu-dropdown-indicator-color-hover:#1C4184}
body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-item:has(.e-n-menu-content.e-active){
  --n-menu-title-color-normal:#1C4184;--n-menu-dropdown-indicator-color-normal:#1C4184}
/* la voce ora è alta quanto la barra: la sottolineatura sta 16px sotto il centro, dove stava sotto la voce */
body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-item .e-n-menu-title::after{content:"";position:absolute;
  left:0;top:calc(50% + 16px);bottom:auto;inset-inline-end:auto;height:2px;width:0;border:0;align-self:auto;
  background:var(--blue,#1C4184);transition:width .3s ease}
body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-item .e-n-menu-title:hover::after{width:100%}
/* regola a parte: dove `:has()` non c'è, invaliderebbe anche quella dell'hover */
body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-item:has(.e-n-menu-content.e-active) .e-n-menu-title::after{width:100%}
/* --- fuoco da tastiera: il CSS di gruppo dà solo l'hover. `:focus-visible` di nefrocenter-ds.css arriva
   solo su schede e informative: qui vale su tutte le pagine */
body .nc-mm-list .elementor-icon-list-item a:focus-visible{background:#E7EEF8;outline:2px solid #1C4184;outline-offset:2px}
body .nc-hdr-bar .elementor-widget-n-menu .e-n-menu-title :focus-visible{outline:2px solid #1C4184;outline-offset:3px}
body .nc-hdr-bar .elementor-button:focus-visible,body .nc-hdr-logo a:focus-visible{outline:2px solid #1C4184;outline-offset:3px}
body .nc-top .elementor-icon-list-item a:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* l'icon-list «inline» ha `overflow:hidden` sul wrapper (0,3,0): l'anello qui sopra veniva tagliato tutto */
body .nc-top .elementor-widget-icon-list,body .nc-top .elementor-widget-icon-list>.elementor-widget-container{overflow:visible}
/* --- icone delle colonne. Il CSS di gruppo le definisce per .nc-mm-cure (quelle della nefrologia)
   e .nc-mm-sedi: qui le colonne di Santa Rita, con le icone del mockup approvato, e il secondo
   pannello con le icone di RAH. Senza, una colonna senza icona esce come un quadrato blu pieno. */
body .nc-mm-cure .nc-mm-col:nth-of-type(1) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M5 3v6a4 4 0 0 0 8 0V3M9 13v3a5 5 0 0 0 10 0v-2'/%3E%3Ccircle cx='19' cy='11' r='2'/%3E%3C/svg%3E")}
body .nc-mm-cure .nc-mm-col:nth-of-type(2) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M14 4l6 6-9 9H5v-6l9-9Z'/%3E%3Cpath d='M11 7l6 6'/%3E%3C/svg%3E")}
body .nc-mm-cure .nc-mm-col:nth-of-type(3) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M8 5v14'/%3E%3C/svg%3E")}
body .nc-mm-cure .nc-mm-col:nth-of-type(4) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M12 3l2.4 5.1 5.6.7-4.1 3.9 1.1 5.5L12 15.5 6.9 18.2 8 12.7 3.9 8.8l5.6-.7L12 3Z'/%3E%3C/svg%3E")}
body .nc-mm-struttura .nc-mm-col:nth-of-type(1) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4'/%3E%3C/svg%3E")}
body .nc-mm-struttura .nc-mm-col:nth-of-type(2) .nc-mm-title .elementor-heading-title{--nc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E")}
/* --- il drawer del gruppo sotto i 1024: la soglia è quella del widget 04 del modello */
@media (max-width:1024px){body .nc-hdr-bar .elementor-widget-n-menu{display:none !important}}
@media (min-width:1025px){body .nc-hdr-bar .nc-hdr-drawer{display:none}}
@media (max-width:1024px){
  /* il drawer sta DENTRO la barra: un backdrop-filter la rende il riferimento dei `fixed` e il drawer
     resterebbe chiuso nei 60px della barra (misurato su VDF) */
  body .nc-hdr-bar{-webkit-backdrop-filter:none;backdrop-filter:none}
  /* senza sfocatura il fondo all'85% lascerebbe vedere il contenuto sotto la barra attaccata. Lo sfondo
     per-elemento di Elementor ha (0,4,0): serve !important */
  body .nc-hdr-bar{background-color:#F3F6FB !important}
  body .nc-hdr-bar .nc-cta-btn{margin-left:auto}
  body .nc-hdr-bar .nc-cta-btn .elementor-button{min-height:44px;display:inline-flex;align-items:center}
}
/* il telefono (375px), dal componente: la topbar resta col solo telefono; riga 1 il logo, riga 2 la
   CTA a sinistra e il burger a destra */
@media (max-width:767px){
  body .nc-top .nc-top-r{display:none}
  body .nc-hdr-bar{padding:10px 24px}
  /* 320px: CTA col numero + gap + burger non entravano in una riga */
  body .nc-hdr-bar>.e-con-inner{column-gap:12px}
  body .nc-hdr-bar>.e-con-inner{flex-wrap:wrap;row-gap:10px}
  body .nc-hdr-bar .nc-hdr-logo{flex:1 0 100%;text-align:left}
  body .nc-hdr-bar .nc-cta-btn{margin-left:0}
  body .nc-hdr-bar .nc-hdr-drawer{margin-left:auto}
}
@media (max-width:359px){body .nc-hdr-bar .nc-cta-btn .elementor-button{padding:13px 18px}}
/* lo spazio che Elementor lascia al posto della barra quando si attacca è un CLONE della barra:
   senza questa riga i burger sarebbero due */
.elementor-sticky__spacer .ncd-root{display:none !important}
/* il nome nella testata del drawer: `a:hover` del tema (0,1,1) batte `.ncd-dbrand{color:#fff}`
   del componente (0,1,0), blu su blu (VDF, 30/09). Più classi, e il componente resta verbatim. */
.ncd-root .ncd-drawer a.ncd-dbrand,.ncd-root .ncd-drawer a.ncd-dbrand:hover,
.ncd-root .ncd-drawer a.ncd-dbrand:focus{color:#fff}

/* il drawer chiuso, fuori schermo, allarga la pagina su Chrome mobile (390 → 780px): il componente
   prescrive `clip`, non `hidden`, e il ricettario il blocco dello scroll a drawer aperto */
html,body{overflow-x:clip}
html:has(body.ncd-lock){overflow:hidden}
/* utente loggato: la barra admin copre la testata del drawer, dove sta la X (VDF, 30/09) */
body.admin-bar .ncd-drawer{top:32px;height:auto}
@media (max-width:782px){body.admin-bar .ncd-drawer{top:46px}}
/* sotto i 600px WordPress rende la barra admin `absolute`: a drawer aperto la si tiene ferma */
@media (max-width:600px){body.admin-bar.ncd-lock #wpadminbar{position:fixed}}
