/* ================================================================
   PattiOnLine — pol.css  (HOME, Fase A)
   Stile del contenuto home, tutto scopato sotto .pol-home.
   Caricato come foglio esterno da /api-proxy/ (mai theme.css).
   Indice:
     1. PALETTE & TOKENS + reset (.pol-home)
     2. TICKER ULTIME NOTIZIE
     3. SERVIZI AL CITTADINO
     4. CONTENUTO
     5. RESPONSIVE
   La chrome (topbar/masthead/navbar/footer) e' in pol-chrome.css (Fase B).
   ================================================================ */

/* ===== 1. PALETTE & TOKENS + reset ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Poppins:wght@400;500;600;700&display=swap');
.pol-home {
  /* --- palette brand (dal logo, identità costiera) --- */
  --blu:#0C2E7A;        /* blu mare profondo, primario */
  --blu-2:#16408f;      /* blu hover, mai saturo pieno */
  --verde:#0E9E8E;      /* verde mare */
  --verde-d:#0a7d70;
  --sabbia:#F4EAD6;     /* sabbia */
  --oro:#DDA65A;        /* oro / sole */
  --terra:#C15A3C;      /* terracotta, accento vivo (live/breaking) */
  --ink:#14202B;        /* testo, quasi-nero bluastro */
  --grigio:#5b6674;
  --paper:#ffffff;
  --mist:#F7F5F0;       /* fondo sezioni, bianco caldo */
  --line:#E7E1D4;       /* filetti caldi */
  --radius:14px;
  --shadow:0 10px 30px rgba(12,46,122,.09);
  --shadow-sm:0 4px 14px rgba(12,46,122,.07);
}
.pol-home * {box-sizing:border-box;margin:0;padding:0}
.pol-home {scroll-behavior:smooth}
.pol-home {
  font-family:"Poppins",system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
.pol-home a {color:inherit;text-decoration:none}
.pol-home img {max-width:100%;display:block}
.pol-home .ph {background-size:cover;background-position:center;background-repeat:no-repeat}
.pol-home .wrap {width:100%;max-width:1760px;margin:0 auto;padding:0 40px}

/* ===== 1b. FULL-WIDTH BREAKOUT =====
   .pol-home puo' essere montata dentro un container YOOtheme (.uk-container ~1270px).
   Questo breakout la porta a larghezza viewport: le fasce (ticker/servizi/band) vanno
   edge-to-edge come nel mockup; il contenuto resta centrato dal .wrap interno.
   Se .pol-home e' gia' full-width, margin=0 → innocuo. */
.pol-home { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); overflow-x: clip; }

/* ===== 2. TICKER ===== */
/* ============ TICKER ULTIME NOTIZIE ============ */
.pol-home .ticker {display:flex;align-items:stretch;background:linear-gradient(90deg,#0f8a7c,#0a6b60);
  color:#fff;overflow:hidden;font-size:15px}
.pol-home .ticker .label {flex:none;display:flex;align-items:center;gap:10px;
  background:var(--terra);padding:0 26px;font-weight:800;font-size:14px;
  letter-spacing:.05em;text-transform:uppercase;position:relative;z-index:2}
.pol-home .ticker .label .dot {width:10px;height:10px;border-radius:50%;background:#fff;animation:polh-pulse2 1.4s infinite}
@keyframes polh-pulse2 {0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,255,255,.6)}50%{opacity:.4;box-shadow:0 0 0 6px rgba(255,255,255,0)}}
.pol-home .ticker .label::after {content:"";position:absolute;right:-16px;top:0;bottom:0;width:32px;
  background:var(--terra);transform:skewX(-16deg);z-index:-1}
.pol-home .ticker .track-wrap {overflow:hidden;flex:1;position:relative;
  -webkit-mask:linear-gradient(90deg,transparent,#000 44px,#000 calc(100% - 44px),transparent);
          mask:linear-gradient(90deg,transparent,#000 44px,#000 calc(100% - 44px),transparent)}
.pol-home .ticker .track {display:flex;align-items:center;white-space:nowrap;
  animation:polh-marquee 52s linear infinite;padding-left:30px}
.pol-home .ticker .track-wrap:hover .track {animation-play-state:paused}
@keyframes polh-marquee {from{transform:translateX(0)}to{transform:translateX(-50%)}}
.pol-home .ticker .item {display:inline-flex;align-items:center;gap:11px;padding:15px 30px 15px 0}
.pol-home .ticker .item .time {font-variant-numeric:tabular-nums;font-weight:700;font-size:13px;color:#c2f1ea}
.pol-home .ticker .item .chip {font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  padding:4px 10px;border-radius:6px;color:#fff}
.pol-home .ticker .item span.t {font-weight:500}
.pol-home .ticker .item:hover span.t {text-decoration:underline}
.pol-home .ticker .item::after {content:"";width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.5);margin-left:20px}

/* chip / eyebrow colori per sezione */
.pol-home .c-cronaca {background:var(--blu)} .pol-home .c-politica {background:var(--verde-d)}
.pol-home .c-sport {background:var(--oro);color:#3a2b06 !important} .pol-home .c-attualita {background:var(--terra)}
.pol-home .c-cultura {background:#6a4b8a}

/* ===== 3. SERVIZI ===== */
/* ============ SERVIZI AL CITTADINO ============ */
.pol-home .servizi {position:relative;isolation:isolate;overflow:hidden;
  background:#0b2a5e url('/templates/yootheme_child/images/pol/patti_servizi.jpg') center 40%/cover no-repeat}
.pol-home .servizi::before {content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(115deg,rgba(9,32,86,.90) 0%,rgba(12,46,122,.70) 44%,rgba(14,158,142,.52) 100%)}
.pol-home .servizi .wrap {position:relative;z-index:1;padding:26px 40px 30px}
.pol-home .serv-head {display:flex;align-items:center;gap:14px;margin-bottom:16px;color:#fff}
.pol-home .serv-head .st {font-family:"Fraunces",serif;font-size:21px;font-weight:700;text-shadow:0 1px 10px rgba(0,0,0,.25)}
.pol-home .serv-head .sl {height:1px;flex:1;background:linear-gradient(90deg,rgba(255,255,255,.55),transparent)}
.pol-home .serv-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pol-home .serv {display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.5);border-radius:var(--radius);padding:14px 16px;
  transition:.2s;box-shadow:0 8px 22px rgba(6,20,50,.28)}
.pol-home .serv:hover {transform:translateY(-4px);box-shadow:0 14px 32px rgba(6,20,50,.42)}
.pol-home .serv .ic {width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;color:#fff}
.pol-home .serv .ic svg {width:23px;height:23px}
.pol-home .serv:nth-child(1) .ic {background:var(--terra)}
.pol-home .serv:nth-child(2) .ic {background:var(--verde)}
.pol-home .serv:nth-child(3) .ic {background:var(--blu)}
.pol-home .serv:nth-child(4) .ic {background:var(--oro);color:#3a2b06}
.pol-home .serv .txt b {display:block;font-size:14px;font-weight:600;line-height:1.2}
.pol-home .serv .txt small {font-size:12px;color:var(--grigio)}

/* ===== 4. CONTENUTO (hero · newsletter · colonna centrale · più letti · meteo · dalle sezioni) ===== */
/* ============ CONTENUTO ============ */
.pol-home main {padding:34px 0 10px}
.pol-home .grid {display:grid;grid-template-columns:1.6fr 1fr .9fr;gap:28px}
.pol-home .grid>* {min-width:0}
.pol-home .mini>div {min-width:0}
.pol-home .eyebrow {display:inline-block;font-size:11px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:#fff;padding:4px 10px;border-radius:5px;margin-bottom:12px}
.pol-home .headline {font-family:"Fraunces",serif;font-weight:700;color:var(--ink);letter-spacing:-.01em}

/* hero */
.pol-home .hero {position:relative;border-radius:0;overflow:hidden;box-shadow:var(--shadow);display:block}
.pol-home .hero .ph {aspect-ratio:16/10;min-height:440px;background:#0b2a5e}
.pol-home .hero .cap {position:absolute;left:0;right:0;bottom:0;padding:30px 28px 26px;
  background:linear-gradient(to top,rgba(6,17,45,.94),rgba(6,17,45,.5) 55%,transparent);color:#fff}
.pol-home .hero .headline {color:#fff;font-size:33px;line-height:1.1;max-width:92%}
.pol-home .hero .cap .summary {font-size:14.5px;color:#dbe3f2;margin-top:12px;max-width:78%}
.pol-home .hero .cap .meta {font-size:12.5px;color:#aebbd8;margin-top:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.pol-home .hero .eyebrow {background:var(--terra)}
.pol-home .hero .flag {position:absolute;top:18px;left:18px;z-index:2;display:inline-flex;align-items:center;gap:7px;
  background:var(--oro);color:#3a2b06;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  padding:7px 13px;border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.pol-home .hero .flag::before {content:"";width:7px;height:7px;border-radius:50%;background:#3a2b06}
.pol-home .hero:hover .ph {transform:scale(1.03)}
.pol-home .hero .ph {transition:transform .5s ease}

.pol-home .altre {margin-top:20px;border-top:2px solid var(--line);padding-top:14px}
.pol-home .altre h4 {font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--grigio);margin-bottom:6px}
.pol-home .altre a {display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);
  font-weight:500;font-size:15px;align-items:baseline;transition:.15s}
.pol-home .altre a:hover {color:var(--verde-d);padding-left:4px}
.pol-home .altre a::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--oro);flex:none;transform:translateY(6px)}

/* box newsletter (riempie colonna sinistra) */
.pol-home .nl {margin-top:24px;background:linear-gradient(135deg,var(--verde),var(--verde-d));color:#fff;
  border-radius:var(--radius);padding:22px;display:flex;gap:16px;align-items:flex-start;box-shadow:var(--shadow-sm)}
.pol-home .nl-ic {width:46px;height:46px;border-radius:12px;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.pol-home .nl-ic svg {width:23px;height:23px;color:#fff}
.pol-home .nl-body {flex:1}
.pol-home .nl-t {font-family:"Fraunces",serif;font-size:21px;font-weight:700;line-height:1.1}
.pol-home .nl-body p {font-size:13px;color:#e6f5f2;margin:5px 0 13px}
.pol-home .nl-form {display:flex;gap:8px;flex-wrap:wrap}
.pol-home .nl-form input {flex:1 1 150px;min-width:0;border:0;border-radius:9px;padding:11px 13px;font-family:inherit;font-size:13px;outline:0;color:var(--ink)}
.pol-home .nl-form button {background:var(--oro);color:#3a2b06;border:0;border-radius:9px;padding:11px 20px;
  font-family:inherit;font-weight:600;font-size:13px;cursor:pointer;transition:.15s;white-space:nowrap}
.pol-home .nl-form button:hover {background:#e8b76a}

/* colonna centrale */
.pol-home .col-mid .card-lead {border-radius:0;overflow:hidden;box-shadow:var(--shadow-sm);display:block}
.pol-home .col-mid .card-lead .ph {aspect-ratio:16/10;position:relative}
.pol-home .col-mid .card-lead .ph::after {content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--blu)}
.pol-home .col-mid .card-lead:hover .headline {color:var(--blu)}
.pol-home .col-mid .card-lead .body {padding:16px}
.pol-home .col-mid .card-lead .headline {font-size:21px;line-height:1.18;margin-bottom:8px}
.pol-home .col-mid .card-lead p {font-size:13.5px;color:var(--grigio)}
.pol-home .mini-list {margin-top:20px}
.pol-home .mini {display:flex;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}
.pol-home .mini .ph {width:96px;height:70px;border-radius:0;flex:none;background:#e9eef4}
.pol-home .mini .headline {font-size:15px;line-height:1.25}
.pol-home .mini .mt {font-size:11px;color:var(--grigio);margin-top:6px;font-weight:500;text-transform:uppercase;letter-spacing:.04em}

/* colonna destra: più letti — stile editoriale (niente card piena) */
.pol-home .rail {background:transparent;border:0;padding:0}
.pol-home .rail h3 {font-family:"Fraunces",serif;font-size:23px;color:var(--blu);margin-bottom:4px;position:relative;padding-bottom:12px}
.pol-home .rail h3::after {content:"";position:absolute;left:0;bottom:0;width:48px;height:3px;background:var(--oro);border-radius:2px}
.pol-home .rail .sub {font-size:12px;color:var(--grigio);margin-bottom:4px}
.pol-home .rank {display:flex;gap:15px;padding:15px 0;border-top:1px solid var(--line);align-items:flex-start}
.pol-home .rank:hover .headline {color:var(--verde-d)}
.pol-home .rank .n {font-family:"Fraunces",serif;font-weight:900;font-size:30px;color:var(--oro);line-height:.9;flex:none;width:30px;text-align:center}
.pol-home .rank .headline {font-size:15px;line-height:1.28;transition:.15s}
.pol-home .rank small {display:block;font-size:11px;color:var(--grigio);margin-top:6px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}

/* widget rail (meteo, social) — squadrati con accento superiore */
.pol-home .widget {margin-top:28px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--blu);border-radius:6px;padding:18px}
.pol-home .widget-h {font-family:"Fraunces",serif;font-size:19px;color:var(--blu);margin-bottom:14px}
/* ===== METEO — widget stile app mobile ===== */
.pol-home .meteo-card {margin-top:28px;border-radius:18px;overflow:hidden;position:relative;color:#fff;
  box-shadow:0 16px 38px rgba(12,46,122,.30);isolation:isolate;
  --sky1:#0C2E7A;--sky2:#2f86d8;--sky3:#f2ca7e}
.pol-home .meteo-card::before {content:"";position:absolute;inset:0;z-index:-2;
  background:linear-gradient(165deg,var(--sky1) 0%,var(--sky2) 56%,var(--sky3) 118%);
  transition:background .6s ease}
.pol-home .meteo-card.cond-partly {--sky1:#123f7c;--sky2:#3f8ed6;--sky3:#dbe6f0}
.pol-home .meteo-card.cond-cloudy {--sky1:#2b3d5c;--sky2:#556f92;--sky3:#9aabc0}
.pol-home .meteo-card.cond-rainy {--sky1:#141f36;--sky2:#324965;--sky3:#5c7288}
.pol-home .meteo-card.cond-foggy {--sky1:#414e5e;--sky2:#6d7a89;--sky3:#9aa6b3}
.pol-home .meteo-sky {position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
/* SOLE realistico: disco + corona rotante + alone pulsante */
.pol-home .wx-sun {position:absolute;top:-30px;right:-30px;width:132px;height:132px;border-radius:50%;opacity:0;transition:opacity .6s;
  background:radial-gradient(circle,#ffffff 8%,#fff2c2 24%,#ffd257 46%,rgba(255,190,70,.32) 62%,transparent 72%)}
.pol-home .wx-sun::before {content:"";position:absolute;inset:-28px;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,rgba(255,236,170,.5) 0deg 3deg,transparent 3deg 20deg);
  -webkit-mask:radial-gradient(circle,transparent 56px,#000 58px,#000 92px,transparent 96px);
          mask:radial-gradient(circle,transparent 56px,#000 58px,#000 92px,transparent 96px);
  animation:polh-spin 52s linear infinite}
.pol-home .wx-sun::after {content:"";position:absolute;inset:20px;border-radius:50%;
  background:radial-gradient(circle,#fff,#ffe28a 55%,rgba(255,200,80,0));animation:polh-sunpulse 4.6s ease-in-out infinite}
.pol-home .cond-sunny .wx-sun {opacity:1}.pol-home .cond-partly .wx-sun {opacity:.92}
@keyframes polh-sunpulse {0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.08);opacity:1}}
@keyframes polh-spin {to{transform:rotate(360deg)}}

/* NUVOLE 3D che scorrono */
.pol-home .wx-clouds {position:absolute;inset:0;opacity:0;transition:opacity .6s}
.pol-home .cond-partly .wx-clouds,.pol-home .cond-cloudy .wx-clouds,.pol-home .cond-rainy .wx-clouds {opacity:1}
.pol-home .wx-cloud {position:absolute;height:20px;width:64px;background:#fff;border-radius:40px;filter:blur(1px)}
.pol-home .wx-cloud::before {content:"";position:absolute;width:30px;height:30px;background:#fff;border-radius:50%;top:-14px;left:9px}
.pol-home .wx-cloud::after {content:"";position:absolute;width:24px;height:24px;background:#fff;border-radius:50%;top:-9px;left:33px}
.pol-home .wx-cloud.a {top:22px;animation:polh-drift 30s linear infinite}
.pol-home .wx-cloud.b {top:56px;width:48px;opacity:.82;animation:polh-drift 46s linear infinite 6s}
.pol-home .wx-cloud.c {top:10px;width:82px;opacity:.6;animation:polh-drift 58s linear infinite 15s}
.pol-home .cond-cloudy .wx-cloud,.pol-home .cond-rainy .wx-cloud {background:#e9eef4;filter:blur(1px) brightness(.95)}
.pol-home .cond-cloudy .wx-cloud::before,.pol-home .cond-cloudy .wx-cloud::after,.pol-home .cond-rainy .wx-cloud::before,.pol-home .cond-rainy .wx-cloud::after {background:#e9eef4}
@keyframes polh-drift {from{transform:translateX(-130px)}to{transform:translateX(380px)}}

/* STRATO DI SUPERFICIE (pioggia + nebbia sopra tutto il box) */
.pol-home .wx-front {position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden}
.pol-home .wx-rain {position:absolute;inset:0;opacity:0;transition:opacity .35s}
.pol-home .cond-rainy .wx-rain {opacity:1}
.pol-home .cond-rainy .wx-front {background:radial-gradient(120% 85% at 50% 0,rgba(15,28,50,0),rgba(15,28,50,.22))}
.pol-home .wx-rain i {position:absolute;top:-16%;width:1.4px;border-radius:2px;
  background:linear-gradient(transparent,rgba(206,229,255,.92));animation:polh-fall linear infinite}
@keyframes polh-fall {to{transform:translateY(330px)}}
.pol-home .wx-fog {position:absolute;inset:0;opacity:0;transition:opacity .6s}
.pol-home .cond-foggy .wx-fog {opacity:1}
.pol-home .cond-foggy .wx-front {background:rgba(223,230,237,.18)}
.pol-home .wx-fog span {position:absolute;left:-40%;width:180%;height:52px;filter:blur(7px);
  background:linear-gradient(90deg,transparent,rgba(238,242,246,.82),transparent)}
.pol-home .wx-fog span:nth-child(1) {top:15%;animation:polh-fog 15s ease-in-out infinite}
.pol-home .wx-fog span:nth-child(2) {top:43%;height:66px;animation:polh-fog 21s ease-in-out infinite reverse}
.pol-home .wx-fog span:nth-child(3) {top:71%;animation:polh-fog 18s ease-in-out infinite 2s}
@keyframes polh-fog {0%,100%{transform:translateX(-10%)}50%{transform:translateX(10%)}}

.pol-home .meteo-top {padding:18px 18px 15px;position:relative}
.pol-home .meteo-loc {display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}
.pol-home .meteo-loc svg {width:14px;height:14px}
.pol-home .meteo-loc small {opacity:.78;font-weight:500}
.pol-home .meteo-main {display:flex;align-items:center;gap:12px;margin:8px 0 16px}
.pol-home .m-ico {width:64px;height:64px;flex:none}
.pol-home .m-ico svg {width:100%;height:100%;display:block}
.pol-home .m-temp {font-family:"Fraunces",serif;font-size:52px;font-weight:700;line-height:.9;letter-spacing:-.02em}
.pol-home .m-cond {font-size:14px;font-weight:600;margin-top:5px;opacity:.96}
.pol-home .meteo-main.animate .m-ico,.pol-home .meteo-main.animate .m-temp,.pol-home .meteo-main.animate .m-cond {animation:polh-fadeup .38s ease}
@keyframes polh-fadeup {from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.pol-home .meteo-stats {display:flex;gap:8px}
.pol-home .meteo-stats>div {flex:1;background:rgba(255,255,255,.16);border-radius:12px;padding:9px 6px;
  text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}
.pol-home .meteo-stats svg {width:16px;height:16px}
.pol-home .meteo-stats span {font-size:12px;font-weight:700;line-height:1.1}
.pol-home .meteo-stats small {font-size:9px;opacity:.82;text-transform:uppercase;letter-spacing:.04em}
.pol-home .meteo-week {display:flex;background:rgba(0,0,0,.17);padding:6px;gap:2px}
.pol-home .mday {flex:1;background:transparent;border:0;color:#fff;cursor:pointer;border-radius:11px;
  padding:10px 2px;display:flex;flex-direction:column;align-items:center;gap:5px;transition:.18s;font-family:inherit}
.pol-home .mday:hover {background:rgba(255,255,255,.15)}
.pol-home .mday.active {background:rgba(255,255,255,.26)}
.pol-home .mday .wd {font-size:11px;font-weight:600;opacity:.92}
.pol-home .mday .di {width:24px;height:24px}
.pol-home .mday .di svg {width:100%;height:100%}
.pol-home .mday .mx {font-size:13px;font-weight:700}
.pol-home .mday .mn {font-size:11px;opacity:.7}
.pol-home .spin-slow {animation:polh-spin 20s linear infinite}
.pol-home .rain-drop {animation:polh-raindrop 1.15s linear infinite}
.pol-home .rain-drop:nth-of-type(2) {animation-delay:.38s}
.pol-home .rain-drop:nth-of-type(3) {animation-delay:.76s}
@keyframes polh-raindrop {0%{transform:translateY(-2px);opacity:0}30%{opacity:1}100%{transform:translateY(7px);opacity:0}}
@media (prefers-reduced-motion:reduce) {.pol-home .wx-sun::before,.pol-home .wx-sun::after,.pol-home .wx-cloud,.pol-home .wx-rain i,.pol-home .wx-fog span,.pol-home .spin-slow,.pol-home .rain-drop,.pol-home .meteo-main.animate .m-ico,.pol-home .meteo-main.animate .m-temp,.pol-home .meteo-main.animate .m-cond {animation:none!important}}
.pol-home .widget.social {border-top-color:var(--verde)}
.pol-home .wtxt {font-size:13px;color:var(--grigio);margin-bottom:13px}
.pol-home .wsoc {display:flex;flex-direction:column;gap:9px}
.pol-home .wsoc a {display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:8px;font-weight:600;font-size:13.5px;
  color:var(--blu);background:var(--mist);border:1px solid var(--line);transition:.16s}
.pol-home .wsoc a:hover {background:var(--blu);color:#fff;border-color:transparent}
.pol-home .wsoc svg {width:17px;height:17px;flex:none}

/* fascia sezioni — versione chiara, editoriale */
.pol-home .band {background:var(--mist);border-top:1px solid var(--line);margin-top:40px;padding:42px 0}
.pol-home .band-head {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.pol-home .band-head .ttl {font-family:"Fraunces",serif;font-size:29px;color:var(--blu);position:relative;padding-bottom:12px;line-height:1}
.pol-home .band-head .ttl::after {content:"";position:absolute;left:0;bottom:0;width:56px;height:3px;background:var(--oro);border-radius:2px}
.pol-home .band-head .sub {color:var(--grigio);font-size:13px;margin-top:8px;font-weight:500}
.pol-home .band-head .all {display:inline-flex;align-items:center;gap:6px;color:var(--verde-d);font-weight:600;
  font-size:14px;white-space:nowrap;padding-bottom:2px;transition:.18s}
.pol-home .band-head .all:hover {gap:10px;color:var(--verde)}
.pol-home .band-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pol-home .scard {background:#fff;border:0;border-radius:0;overflow:hidden;transition:.2s;
  box-shadow:0 6px 18px rgba(12,46,122,.08)}
.pol-home .scard:hover {transform:translateY(-4px);box-shadow:0 16px 34px rgba(12,46,122,.16)}
.pol-home .scard:hover .headline {color:var(--blu)}
.pol-home .scard .ph {aspect-ratio:16/10;position:relative;background:#e9eef4}
.pol-home .scard .ph::after {content:"";position:absolute;left:0;right:0;bottom:0;height:3px}
.pol-home .scard:nth-child(1) .ph::after {background:var(--oro)}
.pol-home .scard:nth-child(2) .ph::after {background:var(--verde-d)}
.pol-home .scard:nth-child(3) .ph::after {background:var(--terra)}
.pol-home .scard:nth-child(4) .ph::after {background:#6a4b8a}
.pol-home .scard .body {padding:15px 15px 17px}
.pol-home .scard .headline {transition:color .15s}
.pol-home .scard .eyebrow {margin-bottom:10px}
.pol-home .scard .headline {color:var(--ink);font-size:16px;line-height:1.24}
.pol-home .scard .smeta {font-size:11px;color:var(--grigio);margin-top:9px;text-transform:uppercase;letter-spacing:.04em;font-weight:600}

/* ===== 5. RESPONSIVE ===== */
/* ============ RESPONSIVE ============ */
@media(max-width:980px) {
  .pol-home .grid {grid-template-columns:1fr}
  .pol-home .serv-grid {grid-template-columns:repeat(2,1fr)}
  .pol-home .band-grid {grid-template-columns:repeat(2,1fr)}
  .pol-home .foot-grid {grid-template-columns:1fr 1fr}
}
/* tablet / stack masthead */
@media(max-width:820px) {
  .pol-home .masthead .wrap {flex-wrap:wrap;justify-content:center;text-align:center}
  .pol-home .brand {justify-content:center}
  .pol-home .mast-search {order:3;flex-basis:100%;max-width:none;margin:12px 0 0}
  .pol-home .nav-cta {display:none}
  .pol-home .servizi .wrap {padding:22px 20px 26px}
  /* menu hamburger */
  .pol-home .nav-toggle {display:flex}
  .pol-home .main .wrap {position:relative}
  .pol-home .nav-links {position:absolute;top:100%;left:0;right:0;flex-direction:column;overflow:hidden;
    background:var(--blu);max-height:0;transition:max-height .32s ease;box-shadow:0 14px 26px rgba(0,0,0,.28)}
  .pol-home .main.open .nav-links {max-height:380px}
  .pol-home .nav-links a {padding:15px 22px;border-bottom:1px solid rgba(255,255,255,.09)}
  .pol-home .nav-links a::after {display:none}
}
/* telefono */
@media(max-width:600px) {
  .pol-home .wrap {padding:0 18px}
  .pol-home .topbar .wrap {flex-wrap:wrap;gap:8px 14px;font-size:12px;min-height:0;padding-top:8px;padding-bottom:8px}
  .pol-home .topbar .follow {display:none}
  .pol-home .masthead {padding:16px 0 14px}
  .pol-home .masthead .estd {display:none}
  .pol-home .brand {gap:12px}
  .pol-home .brand .logo {height:66px}
  .pol-home .brand .brand-sep,.pol-home .brand .tag {display:none}
  .pol-home .nav-links a {padding:14px 14px;font-size:14px}
  .pol-home .serv-grid {grid-template-columns:1fr}
  .pol-home .band-grid {grid-template-columns:1fr}
  .pol-home .foot-grid {grid-template-columns:1fr}
  .pol-home .hero .headline {font-size:23px}
  .pol-home .hero .ph {min-height:280px}
  .pol-home .hero .cap {padding:22px 18px 18px}
  .pol-home .col-mid,.pol-home .col-rail {margin-top:26px}
  .pol-home .ticker .label {padding:0 16px;font-size:12px}
}
