/* =========================================================================
   GSF chrome — header, menu popup e footer di gsfnetwork.it (WordPress/Elementor)
   Retroingegnerizzati il 21/10/2026 dai template Elementor:
   header 3326, popup menu 3362, footer 3458, kit colori 3300.
   Usato dalla pagina della Call e dal form (cgf26/). Classi con prefisso gsf-.
   ========================================================================= */
/* Archivo (titoli del footer) e Roboto 300/500: stessi font Google del sito WordPress */
/* Font sul nostro server (v14): nessuna chiamata a Google Fonts */
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/archivo-latin-var.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Roboto";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/roboto-latin-var.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Roboto;font-weight:400;font-display:swap;src:url(/fonts/roboto-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Roboto;font-weight:700;font-display:swap;src:url(/fonts/roboto-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:Roboto;font-weight:800;font-display:swap;src:url(/fonts/roboto-latin-800-normal.woff2) format("woff2")}

:root{
  --gsf-red:#EB442C;      /* e-global-color-463c430 */
  --gsf-blue:#0C94CC;     /* e-global-color-5bbc9fe */
  --gsf-blue-dark:#0D6488;
  --gsf-orange:#EC6729;   /* e-global-color-1dd769d */
  --gsf-grey:#7A7A7A;     /* e-global-color-text */
  --gsf-line:#DEDEDE;
}

/* ---------- HEADER (sticky, sfumatura bianca come su WordPress) ---------- */
.gsf-h{position:sticky;top:1px;z-index:99;padding:46px;background:linear-gradient(180deg,#fff 30%,rgba(255,255,255,0) 100%);font-family:Roboto,-apple-system,"Segoe UI",Arial,sans-serif}
.gsf-h *{box-sizing:border-box}
.gsf-h__pill{position:relative;z-index:3;width:96%;max-width:1140px;margin:0 auto;background:#fff;border-radius:20em;box-shadow:0 0 14px rgba(177,177,177,.5);display:flex;align-items:center;justify-content:space-around;min-height:112px;padding:10px;transition:transform 1s}
.gsf-h__pill:hover{transform:scale(1.002)}
.gsf-h__logo{flex:0 0 160px;align-self:flex-start;display:block;margin:-28px 0 -34px 0;padding-left:23px;line-height:0}
.gsf-h__logo img{width:115px;height:auto;display:block}

/* Menu orizzontale: pointer "framed" con animazione "fade", inclinazione -5° all'hover */
.gsf-nav{flex:1 1 auto;display:flex;justify-content:center;transition:transform .3s}
.gsf-nav:hover{transform:skewX(-5deg)}
.gsf-nav ul{list-style:none;margin:0;padding:0}
.gsf-nav__menu{display:flex;flex-wrap:wrap;justify-content:center}
.gsf-nav__menu>li{position:relative}
.gsf-nav__item{position:relative;display:flex;align-items:center;gap:0;padding:13px 20px;color:var(--gsf-red);font-weight:600;font-size:16px;text-transform:uppercase;text-decoration:none;line-height:20px;transition:color .3s}
.gsf-nav__item::before{content:"";position:absolute;inset:0;border:3px solid var(--gsf-blue);opacity:0;transition:opacity .3s}
.gsf-nav__menu>li:hover>.gsf-nav__item,.gsf-nav__item:focus-visible{color:var(--gsf-blue)}
.gsf-nav__menu>li:hover>.gsf-nav__item::before,.gsf-nav__item:focus-visible::before{opacity:1}
.gsf-nav__item svg{width:16px;height:16px;margin-left:10px;fill:currentColor}   /* come la freccia di Elementor: 16 px in uno spazio di 26 */
.gsf-nav__sub{position:absolute;left:0;top:100%;margin-top:6px!important;min-width:240px;background:#fff;border-radius:6px;box-shadow:0 0 10px 5px rgba(231,231,231,.5);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .2s,transform .2s,visibility .2s;z-index:10}
.gsf-nav__menu>li:hover>.gsf-nav__sub,.gsf-nav__menu>li:focus-within>.gsf-nav__sub{opacity:1;visibility:visible;transform:none}
.gsf-nav__sub li:not(:last-child){border-bottom:1px solid var(--gsf-line)}
.gsf-nav__sub a{display:block;padding:11px 20px;color:#33373d;font-weight:500;font-size:15px;text-transform:uppercase;text-decoration:none;transition:background .2s,color .2s}
.gsf-nav__sub li:first-child a{border-radius:6px 6px 0 0}
.gsf-nav__sub li:last-child a{border-radius:0 0 6px 6px}
.gsf-nav__sub a:hover,.gsf-nav__sub a:focus-visible{background:var(--gsf-blue);color:#fff}

/* Icone social: cerchi rossi, blu all'hover */
.gsf-social{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px}
.gsf-social a{width:24px;height:24px;border-radius:50%;background:var(--gsf-red);display:flex;align-items:center;justify-content:center;transition:background .3s}
.gsf-social a:hover{background:var(--gsf-blue)}
.gsf-social svg{width:12px;height:12px;fill:#fff}
.gsf-h__social{flex:0 0 156px;margin:0}
.gsf-h__social.gsf-social{gap:0 18px}   /* 4 icone sopra e 1 sotto, senza spazio tra le righe, come su WordPress */

/* Linguetta blu "Sostienici" sotto la capsula (desktop e tablet) */
.gsf-h__tab{position:relative;z-index:2;width:50%;max-width:600px;margin:0 auto;border-radius:0 0 2em 2em;box-shadow:0 0 14px rgba(177,177,177,.5);background:var(--gsf-blue);display:flex;justify-content:center;transition:background 1.6s,transform 1s}
.gsf-h__tab:hover{background:var(--gsf-red);transform:scale(.99)}
.gsf-h__tab--donate a{display:block;width:100%;text-align:center;color:#fff;font-weight:800;font-size:16px;text-transform:uppercase;text-decoration:none;padding:12px 24px;line-height:16px;border-radius:33px;transition:transform .3s}
.gsf-h__tab--donate a:hover{transform:scale(.9)}
.gsf-h__tab--social{display:none;background:var(--gsf-red);justify-content:center}
.gsf-h__tab--social:hover{background:var(--gsf-red)}
.gsf-h__tab--social .gsf-social{gap:0;justify-content:center;width:100%;padding:2px}   /* icone affiancate e centrate, come su WordPress */
.gsf-h__tab--social .gsf-social a{width:38px;height:38px}
.gsf-h__tab--social .gsf-social svg{width:19px;height:19px}

/* Pulsanti visibili solo su tablet/mobile */
.gsf-h__donate,.gsf-h__burger{display:none}
.gsf-h__donate{background:var(--gsf-blue);color:#fff;font-weight:800;font-size:16px;line-height:16px;text-transform:uppercase;text-decoration:none;border:2px solid #fff;border-radius:33px;padding:10px 15px;transition:all 1.1s}
.gsf-h__donate:hover{background:transparent;color:var(--gsf-blue)}
.gsf-h__burger{flex:0 0 auto;width:48px;height:48px;border:0;border-radius:50%;background:var(--gsf-red);color:#fff;cursor:pointer;align-items:center;justify-content:center;padding:0}
.gsf-h__burger svg{width:24px;height:24px;fill:#fff}

@media (max-width:1024px){
  .gsf-nav{display:none}
  .gsf-h__pill{justify-content:space-between;gap:33px;padding:14px 41px 7px 0;min-height:0}
  .gsf-h__logo{flex:0 0 auto;align-self:center;padding-left:0;margin:-28px 0 -33px 13px}
  .gsf-h__social{flex:1 1 auto;margin:0}
  .gsf-h__social svg{width:15px;height:15px}.gsf-h__social a{width:30px;height:30px}
  .gsf-h__social.gsf-social{gap:8px 28px}
  .gsf-h__burger{display:flex}
}
@media (max-width:767px){
  .gsf-h{padding:19px}
  .gsf-h__pill{width:100%;border-radius:8em;padding:5px 9px 4px;gap:3px}
  .gsf-h__logo{margin:-11px 0 -17px 0}
  .gsf-h__logo{flex:0 0 auto;padding-left:0}
  .gsf-h__logo img{width:82px}
  .gsf-h__social{display:none}
  .gsf-h__donate{display:inline-block;margin-left:-8px}
  .gsf-h__burger{width:44px;height:44px;margin-top:-6px}.gsf-h__burger svg{width:22px;height:22px}
  .gsf-h__tab--donate{display:none}
  .gsf-h__tab--social{display:flex;width:68%;border-radius:0 0 1em 1em}
}

/* ---------- MENU POPUP (template 3362) ---------- */
.gsf-popup{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.8);display:flex;justify-content:flex-end;align-items:stretch;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;font-family:Roboto,-apple-system,"Segoe UI",Arial,sans-serif}
.gsf-popup.is-open{opacity:1;visibility:visible}
.gsf-popup__panel{width:78vw;max-width:640px;min-height:100vh;max-height:100vh;overflow-y:auto;background:#fff;border-radius:22px;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);padding:30px;display:flex;flex-direction:column;transform:translateX(24px);transition:transform .3s}
.gsf-popup.is-open .gsf-popup__panel{transform:none}
.gsf-popup__close{align-self:flex-end;border:0;background:none;color:var(--gsf-red);cursor:pointer;padding:10px;line-height:0;transition:transform .2s}
.gsf-popup__close:hover{transform:scale(.9)}
.gsf-popup__close svg{width:29px;height:29px;fill:currentColor}
.gsf-pmenu{list-style:none;margin:0;padding:0;width:100%}
.gsf-pmenu li{border-bottom:2px solid var(--gsf-line)}
.gsf-pmenu li:last-child{border-bottom:0}
.gsf-pmenu .row{display:flex;align-items:stretch}
.gsf-pmenu a{flex:1;display:block;padding:39px 17px;color:var(--gsf-red);font-weight:700;font-size:23px;text-transform:uppercase;text-decoration:none;transition:background .2s}
.gsf-pmenu a:hover,.gsf-pmenu a:focus-visible{background:#FFE9DF}
.gsf-pmenu .tog{flex:0 0 auto;width:64px;border:0;background:none;color:var(--gsf-red);cursor:pointer}
.gsf-pmenu .tog svg{width:16px;height:22px;fill:currentColor;transition:transform .3s}
.gsf-pmenu .tog[aria-expanded="true"] svg{transform:rotate(180deg)}
.gsf-pmenu ul{list-style:none;margin:0;padding:0;overflow:hidden;max-height:0;transition:max-height .35s ease}
.gsf-pmenu ul li{border-bottom:0;border-top:2px solid var(--gsf-line)}
.gsf-pmenu ul a{padding-left:40px;font-size:.85em}
@media (max-width:767px){
  .gsf-popup{align-items:flex-start}
  .gsf-popup__panel{width:100vw;max-width:none;border-radius:0}
  .gsf-popup__close svg{width:17px;height:17px}
  .gsf-pmenu a{font-size:18px;padding:29px 3vw}
  .gsf-pmenu ul a{padding-left:8vw}
}
body.gsf-noscroll{overflow:hidden}

/* ---------- FOOTER (template 3458) — misure prese dal sito il 21/10/2026 ---------- */
.gsf-f{position:relative;color:#fff;font-family:Archivo,Roboto,-apple-system,"Segoe UI",Arial,sans-serif;background:linear-gradient(180deg,var(--gsf-blue) 13%,var(--gsf-blue-dark) 100%);margin-top:0}
.gsf-f *{box-sizing:border-box}
.gsf-f__shape{position:absolute;top:-1px;left:0;width:100%;overflow:hidden;line-height:0;direction:ltr}
/* forma "triangle-asymmetrical" negativa: Elementor la ruota di 180° quando è in alto */
.gsf-f__shape svg{display:block;position:relative;left:50%;transform:translateX(-50%) rotate(180deg);width:calc(162% + 1.3px);height:54px}
.gsf-f__shape path{fill:var(--gsf-footer-shape,#fff)}
.gsf-f__in{position:relative;max-width:1180px;min-height:556px;margin:0 auto;padding:56px 20px;display:flex;flex-direction:column;justify-content:center;gap:50px}
.gsf-f__top{display:flex;align-items:flex-start;gap:20px}
.gsf-f__logo{flex:0 0 173px}
.gsf-f__logo img{width:133px;height:auto;display:block}
.gsf-f__org{flex:0 0 567px;max-width:50%;padding:10px}
.gsf-f__org h2{font-size:33px;font-weight:600;line-height:1;margin:0 0 20px;color:#fff}
.gsf-f__org p{font-size:16px;line-height:24px;margin:0;max-width:499px}
.gsf-f__soc{flex:1;padding:10px;display:flex;flex-direction:column;align-items:flex-start;gap:26px}
.gsf-f__soc h2{font-size:29px;font-weight:600;line-height:1;margin:0;color:#fff}
.gsf-f__soc .gsf-social{gap:18px}
.gsf-f__soc .gsf-social a{width:42px;height:42px}
.gsf-f__soc .gsf-social svg{width:21px;height:21px}
.gsf-f__news{display:flex;align-items:center;gap:20px;border:.8px solid #fff;padding:26px}
.gsf-f__news h2{flex:0 0 559px;max-width:52%;font-size:26px;font-weight:800;line-height:34px;margin:0;color:#fff}
.gsf-f__news .div{flex:0 0 46px;height:32px;display:flex;align-items:center;justify-content:center}
.gsf-f__news .div span{display:block;width:1.6px;height:46px;background:#fff}
.gsf-f__news .act{flex:1;display:flex;flex-direction:column;margin:0}
.gsf-f__news input{width:100%;height:59px;border:0;border-radius:5px 5px 0 0;background:#fff;color:#7a7a7a;padding:7px 20px;font:400 18px/1.4 Roboto,sans-serif;margin:0}
.gsf-f__news input::placeholder{color:#7a7a7a;opacity:1}
.gsf-f__news button{height:40px;border:0;border-radius:0 0 5px 5px;background:var(--gsf-orange);color:#fff;font:500 15px/1 Roboto,sans-serif;cursor:pointer;padding:0 24px;transition:filter .3s}
.gsf-f__news button:hover{filter:brightness(1.08)}
.gsf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gsf-f__bottom{display:flex;align-items:center;gap:20px}
.gsf-f__links{flex:none;display:flex;gap:31px}
.gsf-f__links a{display:block;padding:13px 0;color:#fff;font:500 15px/20px Roboto,sans-serif;text-decoration:none}
.gsf-f__links a:hover{text-decoration:underline}
.gsf-f__copy{flex:1;margin:0;font:300 13px/1 Roboto,sans-serif;text-align:right;color:#fff}
.gsf-f__fund{background:var(--gsf-grey);color:#fff;text-align:center;font:600 13px/13px Roboto,sans-serif;padding:10px;margin:0}
@media (max-width:1024px){
  .gsf-f__org{flex:1 1 auto;max-width:none}
  .gsf-f__soc{flex:0 0 auto}
  .gsf-f__news h2{flex:1 1 50%;max-width:none}
}
@media (max-width:767px){
  .gsf-f__in{min-height:0;padding:25px 20px 30px;gap:40px}
  .gsf-f__top{flex-direction:column;align-items:stretch;gap:20px}
  .gsf-f__logo{flex:none;align-self:center}
  .gsf-f__logo img{width:41px}
  .gsf-f__org{flex:none;max-width:none}
  .gsf-f__soc{flex:none}
  .gsf-f__news{flex-direction:column;align-items:stretch;gap:27px}
  .gsf-f__news h2{flex:none;width:100%}
  .gsf-f__news .div{flex:none;width:32px;height:18px}
  .gsf-f__news .div span{height:18px;width:2px}
  .gsf-f__bottom{flex-direction:column;align-items:stretch;gap:20px}
  .gsf-f__links a{font-size:13px}
  .gsf-f__copy{text-align:center;line-height:19px}
  .gsf-f__fund{line-height:19px}
}
