/* ENEA HYDRA — testata e piè di pagina (13/10/2026). Rosso del sito, testo bianco, Montserrat. */
:root{--sgx-r:#b71c1c;--sgx-r2:#971515}
.sgx-flag{display:block;width:22px;height:15px;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.55)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- computer: la striscia sopra la testata ---- */
.sgx-util{display:none;background:var(--sgx-r2);color:#fff;font:600 13px/1 Montserrat,sans-serif;position:relative;z-index:1}
@media (min-width:1025px){.sgx-util{display:block}}
.sgx-util-in{max-width:1240px;margin:0 auto;padding:0 24px;height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sgx-util-l{opacity:.88}
.sgx-util-r{display:flex;align-items:center;gap:22px}
.sgx-util a{color:#fff!important;text-decoration:none;opacity:.92}
.sgx-util a:hover,.sgx-util a:focus-visible{opacity:1;text-decoration:underline;text-underline-offset:3px}
.sgx-lingue{display:inline-flex;align-items:center;gap:8px}
.sgx-lingua{display:inline-flex;align-items:center;gap:7px;color:#fff!important;text-decoration:none}
.sgx-util .sgx-lingua{padding:3px;border-radius:5px}
.sgx-util .sgx-lingua:not(.sgx-qui){opacity:.62}
.sgx-util .sgx-lingua:not(.sgx-qui):hover{opacity:1}
.sgx-util .sgx-qui .sgx-flag{box-shadow:0 0 0 2px #fff}

/* ---- telefono e tablet: la bandiera accanto all'hamburger, testata su una riga ---- */
.sgx-lang-m{display:none}
@media (max-width:1024px){
  .elementor-element-e9bdd60,.elementor-element-e9bdd60 > .elementor-widget-container{display:flex!important;align-items:center!important}
  .sgx-lang-m{display:inline-flex;align-items:center;justify-content:center;height:36px;flex:none;margin-right:22px!important}
  /* rettangolare con cornice bianca e ombra (scelta dell'utente, variante A del 13/10) */
  .sgx-lang-m .sgx-flag{width:34px;height:auto;aspect-ratio:32/22;border-radius:4px;box-shadow:0 0 0 2px #fff,0 3px 8px rgba(0,0,0,.3)}
  /* hamburger centrato sullo stesso asse della bandiera, qualunque sia la misura: pulsante
     alto quanto la bandiera, e le tre righe (traslate di 6 e 12 px dal CSS di WordPress)
     riportate al centro: il loro disegno sta 6 px sotto il centro della loro scatola */
  .lytbox-button{display:flex!important;align-items:center;height:36px!important}
  .lytbox-button .hamburguer{top:-6px}
  .elementor-element-e6adaad{flex:1 1 auto!important;width:auto!important;justify-content:flex-end!important;align-items:center!important;margin-left:auto!important}
  .elementor-element-1f18fed{flex:0 1 auto!important;width:auto!important;min-width:0!important}
  .elementor-element-8f93429{flex-wrap:nowrap!important;align-items:center!important;padding-right:12px!important}
}
/* Telefono in verticale: tutto in scala con la larghezza dello schermo (utente 13/10:
   «mantenere le dimensioni in scala tra loro», mai schiacciato sui telefoni piccoli).
   Ogni misura cresce col telefono tra un minimo (280 px, i pieghevoli chiusi) e un massimo
   (i telefoni grandi), e le proporzioni fra logo, titolo, bandiera e menu restano quelle. */
@media (max-width:767px){
  .elementor-element-8f93429{padding-left:clamp(4px,1.5vw,8px)!important;padding-right:clamp(8px,3vw,14px)!important}
  .elementor-element-e20ac48{width:auto!important;flex:0 0 auto!important}
  .elementor-element-1a9b1f9 img{width:clamp(50px,17vw,84px)!important;max-width:none!important;height:auto!important}
  .elementor-element-89a9ca3{padding-left:clamp(4px,1.6vw,8px)!important;padding-right:0!important}
  .elementor-element-89a9ca3 .elementor-heading-title{font-size:clamp(18px,6.4vw,30px)!important;line-height:1.1!important;white-space:nowrap}
  .elementor-element-89a9ca3 .elementor-widget:last-child .elementor-heading-title{font-size:clamp(8.5px,2.95vw,14px)!important;white-space:nowrap}
  .sgx-lang-m{margin-right:clamp(14px,5.6vw,26px)!important}
  .sgx-lang-m .sgx-flag{width:clamp(25px,7.8vw,34px)}
  .lytbox-button .hamburguer span{width:clamp(27px,8.8vw,36px)!important}
}

/* ---- telefono in orizzontale: testata bassa, barra in basso piu' piccola, niente fumetto ---- */
@media (orientation:landscape) and (max-height:600px){
  .elementor-element-979aa0d,.elementor-element-979aa0d > .e-con-inner,.elementor-element-8f93429{min-height:0!important;padding-top:3px!important;padding-bottom:3px!important;height:auto!important}
  .elementor-element-1a9b1f9 img{max-height:44px!important;width:auto!important}
  .elementor-element-e20ac48{width:auto!important}
  .elementor-element-89a9ca3{padding-top:0!important;padding-bottom:0!important}
  .elementor-element-89a9ca3 .elementor-heading-title{font-size:22px!important;line-height:1.1!important}
  .elementor-element-89a9ca3 .elementor-widget:last-child .elementor-heading-title{font-size:12px!important}
  #sg-dock-v23{transform:scale(.8)!important;transform-origin:bottom center!important}
  #sg-enea-bubble{display:none!important}
}

/* ---- piè di pagina: il nuovo prende il posto del vecchio (la barra in basso resta: e' fissa) ---- */
.sgx-piede-on .elementor-element:not(:has(#sg-dock-v23)){display:none!important}
.sgx-piede-on .elementor-element:has(#sg-dock-v23),.sgx-piede-on .e-con-inner:has(#sg-dock-v23){display:contents!important}
.sgx-foot{background:var(--sgx-r);color:#fff;font-family:Montserrat,sans-serif}
.sgx-foot-in{max-width:1240px;margin:0 auto;padding:56px 24px 22px}
.sgx-grid{display:grid;grid-template-columns:1.35fr repeat(4,1fr);gap:36px}
.sgx-logo img{width:150px;height:auto;display:block}
.sgx-brand > p{margin:16px 0 18px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.88);max-width:32ch}
.sgx-soc{display:flex;gap:10px}
.sgx-soc a{width:40px;height:40px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center}
.sgx-soc svg{width:19px;height:19px;fill:var(--sgx-r)}
.sgx-foot .sgx-h{margin:4px 0 14px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.sgx-col ul{list-style:none;margin:0;padding:0}
.sgx-col li{margin:0}
.sgx-col a{display:block;padding:5px 0;color:#fff!important;font-size:15px;font-weight:600;text-decoration:none;line-height:1.35}
.sgx-col a:hover,.sgx-col a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.sgx-app{margin-top:22px}
.sgx-app .sgx-h{margin-bottom:10px}
/* la scheda dell'app come sugli store: bianca, icona, nome; pulsanti nel rosso del sito */
.sgx-app-card{background:#fff;color:#1f1f1f;border-radius:14px;padding:14px;max-width:330px;box-sizing:border-box}
.sgx-app-top{display:flex;align-items:center;gap:12px}
.sgx-app-ico{width:56px;height:56px;border-radius:13px;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex:none;object-fit:cover}
.sgx-app-tx{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}
.sgx-app-tx b{font-size:15.5px;font-weight:800;line-height:1.2;color:#1f1f1f}
.sgx-app-tx small{font-size:12.5px;color:#5f5f5f;line-height:1.35}
.sgx-stores{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sgx-store{display:inline-flex;align-items:center;gap:8px;padding:7px 12px 7px 10px;border-radius:9px;background:var(--sgx-r);color:#fff!important;text-decoration:none}
.sgx-store:hover,.sgx-store:focus-visible{background:var(--sgx-r2)}
.sgx-store svg{width:17px;height:19px;fill:#fff;flex:none}
.sgx-store span{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.sgx-store small{font-size:10px;font-weight:500;opacity:.9}
.sgx-store b{font-size:14px;font-weight:700}
html.sgx-ios .sgx-store-android,html.sgx-android .sgx-store-ios{display:none}
html.sgx-ios .sgx-store,html.sgx-android .sgx-store{flex:1;justify-content:center}
.sgx-bot{margin-top:40px;padding-top:18px;border-top:1px solid rgba(255,255,255,.25);display:flex;justify-content:space-between;align-items:center;gap:14px 28px;flex-wrap:wrap;font-size:12.5px;color:rgba(255,255,255,.82);line-height:1.6}
.sgx-bot p{margin:0}
.sgx-bot a{color:#fff!important;text-decoration:none;font-weight:600}
.sgx-bot a:hover{text-decoration:underline}
.sgx-bot nav{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.sgx-bot .sgx-lingue{gap:10px}
.sgx-bot .sgx-lingue i{font-style:normal;opacity:.5}
.sgx-bot .sgx-lingua{gap:6px;font-weight:600}
.sgx-bot .sgx-lingua.sgx-qui span{font-weight:800}
.sgx-bot .sgx-flag{width:20px;height:14px}
@media (max-width:1024px){.sgx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}.sgx-brand{grid-column:1/-1}}
@media (max-width:767px){
  .sgx-foot-in{padding:40px 20px calc(110px + env(safe-area-inset-bottom,0px))}
  .sgx-brand{text-align:center}.sgx-logo img{margin:0 auto}.sgx-brand > p{margin:14px auto 16px}
  .sgx-soc{justify-content:center}
  .sgx-app-card{margin:0 auto}
  .sgx-bot{flex-direction:column;text-align:center}.sgx-bot nav{justify-content:center}
}
@media (max-width:360px){.sgx-grid{gap:26px 14px}.sgx-col a{font-size:14px}.sgx-foot-in{padding-left:16px;padding-right:16px}}
@media (orientation:landscape) and (max-height:600px){
  .sgx-foot-in{padding:30px 28px 92px}
  .sgx-grid{grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:20px}
  .sgx-brand{grid-column:auto;text-align:left}.sgx-logo img{width:104px;margin:0}
  .sgx-brand > p{font-size:12.5px;margin:10px 0 12px}
  .sgx-soc{justify-content:flex-start}.sgx-soc a{width:32px;height:32px}.sgx-soc svg{width:16px;height:16px}
  .sgx-app-card{margin:0;padding:10px}.sgx-app-ico{width:44px;height:44px;border-radius:10px}.sgx-app-tx b{font-size:13.5px}.sgx-app-tx small{font-size:11px}
  .sgx-col a{font-size:13px;padding:3px 0}.sgx-foot .sgx-h{font-size:11px;margin-bottom:8px}
  .sgx-store{padding:5px 10px 5px 8px}.sgx-store b{font-size:13px}
  .sgx-bot{flex-direction:row;text-align:left;margin-top:24px}
}
