/* Header e footer della home (home_v2/_header, home_v2/_footer) nelle pagine col layout vecchio (shared/_header_form, shared/_footer).
   Stesse regole di home_v2.css, tutte dentro #ftv2 e con i valori espliciti per non ereditare bootstrap e i CSS vecchi. */
#ftv2{--foot:#14243a;--brand:#1498d5;--mute:#5d6b7d;clear:both;width:100%;font:400 16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
#ftv2 *,#ftv2 *:before,#ftv2 *:after{box-sizing:border-box}
#ftv2 footer{display:block;position:static;float:none;width:auto;height:auto;border:0;background:var(--foot);color:#b9c6d6;padding:48px 0 24px;margin:56px 0 0;text-align:left}
#ftv2 .wrap{max-width:1120px;margin:0 auto;padding:0 20px}
#ftv2 .fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
#ftv2 h4{color:#fff;margin:0 0 10px;padding:0;font:700 16px/1.2 Inter,system-ui,sans-serif;letter-spacing:normal;text-transform:none;border:0}
#ftv2 a{display:block;padding:3px 0;margin:0;color:inherit;background:none;text-decoration:none;font-size:16px;line-height:1.55;transition:color .15s,background .15s,opacity .15s}
#ftv2 a:hover,#ftv2 a:focus{color:#fff;text-decoration:none}
#ftv2 p{margin:10px 0 0;padding:0;color:#b9c6d6;font-size:16px;line-height:1.55}
#ftv2 .logo{display:flex;align-items:center;gap:10px;color:#fff;font:800 20px/1.1 Inter,sans-serif;letter-spacing:-.03em;padding:0}
#ftv2 .logo:hover{opacity:.8;color:#fff}
#ftv2 .logo b{color:var(--brand);font-weight:inherit}
#ftv2 .mk{width:40px;height:40px;flex:none}
#ftv2 .lt{display:flex;flex-direction:column;line-height:1.05}
#ftv2 .lt>span{white-space:nowrap}
#ftv2 .lt small{font:500 11px Inter,sans-serif;letter-spacing:.02em;color:#9fb0c3;margin-top:3px}
#ftv2 .soc{display:flex;gap:10px;margin-top:4px}
#ftv2 .soc a{width:40px;height:40px;border:1px solid #2a3d56;border-radius:50%;display:grid;place-items:center;padding:0}
#ftv2 .soc a:hover{background:#2a3d56}
#ftv2 .soc svg{width:18px;height:18px;fill:currentColor}
#ftv2 .copy{border-top:1px solid #2a3d56;margin-top:32px;padding-top:16px;font-size:13px}
#ftv2 .copy a{display:inline;font-size:13px;padding:0}
@media (max-width:1000px){#ftv2 .fg{grid-template-columns:1fr 1fr}}
@media (max-width:520px){#ftv2 .lt>span{font-size:16px}#ftv2 .lt small{display:none}}
/* Alcuni layout vecchi centrano il testo e colorano i link (anche con !important): qui si forzano allineamento e colori */
#ftv2 footer,#ftv2 footer div,#ftv2 footer p,#ftv2 footer h4,#ftv2 footer a,#ftv2 footer span,#ftv2 footer small{text-align:left !important}
#ftv2 footer a,#ftv2 footer a:link,#ftv2 footer a:visited{color:#b9c6d6 !important;text-decoration:none !important}
#ftv2 footer a:hover,#ftv2 footer a:focus{color:#fff !important}
#ftv2 footer .logo,#ftv2 footer .logo:link,#ftv2 footer .logo:visited,#ftv2 footer .logo:hover{color:#fff !important}
#ftv2 footer h4{color:#fff !important}
#ftv2 footer .logo .lt small{color:#9fb0c3 !important}
#ftv2 footer .logo b{color:var(--brand) !important}
#ftv2 footer .soc a{display:grid !important;place-items:center}
#ftv2 footer .copy{color:#b9c6d6 !important}

/* Header della home nelle pagine col layout vecchio (#hdv2): stesse regole di home_v2.css, valori espliciti */
#hdv2{--ink:#14243a;--mute:#5d6b7d;--line:#e2e8ee;--brand:#1498d5;--brand-d:#0d7fb6;--cta:#6fae12;--cta-d:#5c9410;--card:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:50;width:100%;clear:both;font:400 16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-align:left}
#hdv2 *,#hdv2 *:before,#hdv2 *:after{box-sizing:border-box}
#hdv2 header{display:block;position:static;float:none;width:auto;height:auto;margin:0;padding:0;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:0;border-bottom:1px solid var(--line);box-shadow:none}
#hdv2 .wrap{max-width:1120px;margin:0 auto;padding:0 20px}
#hdv2 .nav{display:flex;align-items:center;gap:24px;height:64px;max-width:1120px;margin:0 auto !important;padding:0 20px !important;background:none;border:0;min-height:0;list-style:none}
#hdv2 a{text-decoration:none !important}
#hdv2 .logo,#hdv2 .logo:link,#hdv2 .logo:visited{display:flex;align-items:center;gap:10px;color:var(--ink) !important;font:800 20px/1.1 Inter,sans-serif;letter-spacing:-.03em;padding:0;margin:0;float:none;background:none}
#hdv2 .logo:hover{opacity:.8}
#hdv2 .logo b{color:var(--brand) !important;font-weight:inherit}
#hdv2 .mk{width:40px;height:40px;flex:none}
#hdv2 .lt{display:flex;flex-direction:column;line-height:1.05;text-align:left}
#hdv2 .lt>span{white-space:nowrap}
#hdv2 .lt small{font:500 11px Inter,sans-serif;letter-spacing:.02em;color:var(--mute) !important;margin-top:3px}
#hdv2 .since{display:flex;align-items:center;gap:10px;margin-left:8px;padding:5px 14px 5px 5px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13.5px;font-weight:500;color:var(--mute);white-space:nowrap;line-height:1.3}
#hdv2 .since b{background:#4f8a10;color:#fff;padding:4px 10px;border-radius:999px;font-weight:700;font-size:12.5px}
#hdv2 .btn{display:inline-block;border:0;border-radius:10px;padding:12px 20px;margin:0;font:600 15px/1.2 Inter,sans-serif;text-align:center;text-shadow:none;background-image:none;box-shadow:none;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s,border-color .2s,color .2s;width:auto;height:auto;float:none}
#hdv2 .btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(20,36,58,.18)}
#hdv2 .btn-line,#hdv2 .btn-line:link,#hdv2 .btn-line:visited{border:1.5px solid var(--line);background:#fff;color:var(--ink) !important}
#hdv2 .btn-line:hover{border-color:var(--brand);color:var(--brand-d) !important}
#hdv2 .btn-cta,#hdv2 .btn-cta:link,#hdv2 .btn-cta:visited{background:var(--cta);color:#fff !important}
#hdv2 .btn-cta:hover{background:var(--cta-d)}
#hdv2 #hdrCta,#hdv2 #hdrLogin{display:none}
#hdv2 #hdrCta.on,#hdv2 #hdrLogin.on{display:inline-block}
.nd_crumbs{clear:both}
@media (max-width:1000px){#hdv2 .since{display:none}}
@media (max-width:520px){#hdv2 .lt>span{font-size:16px}#hdv2 .lt small{display:none}#hdv2 .nav .btn-line{display:none}}
#hdv2 .logo .lt>span{color:var(--ink) !important}
#hdv2 .since,#hdv2 .since span{color:var(--mute) !important}
#hdv2 .since b{color:#fff !important}
#hdv2 #hdrCta{text-align:center}
/* telefono: niente "Accesso imprese" (anche quello della pagina imprese), pulsante principale sempre visibile */
@media (max-width:520px){#hdv2 .nav .btn-line:not(#hdrCta),#hdv2 #hdrLogin{display:none !important}#hdv2 .nav{gap:10px}#hdv2 .lt>span{font-size:15px !important}#hdv2 #hdrCta{display:inline-block !important;flex:0 0 auto;margin-left:auto !important;width:128px !important;max-width:none !important;padding:7px 10px !important;font-size:12.5px !important;line-height:1.2 !important;white-space:normal !important;height:auto !important}}
