/* ================================================================
   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;width:max-content;
  animation:polh-marquee 52s linear infinite;padding-left:30px}
/* pausa solo su dispositivi con puntatore reale: su touch il :hover resta "appiccicato" e bloccherebbe il marquee */
@media (hover:hover){.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:0;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:0;padding:14px 16px;
  transition:.2s;box-shadow:none}
.pol-home .serv:hover {transform:translateY(-4px)}
.pol-home .serv .ic {width:46px;height:46px;border-radius:0;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:0;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:0;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:0;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:0;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:0;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:0;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:0}
.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:0;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:0;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:0;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:0;
  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:0;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:0;
  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:0;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:0}
.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}
  /* servizi compatti su telefono: 2x2, solo icona + titolo (niente descrizione) */
  .pol-home .serv-grid {grid-template-columns:repeat(2,1fr);gap:9px}
  .pol-home .serv {gap:10px;padding:10px 12px}
  .pol-home .serv .ic {width:34px;height:34px}
  .pol-home .serv .ic svg {width:18px;height:18px}
  .pol-home .serv .txt b {font-size:13px}
  .pol-home .serv .txt small {display:none}
  .pol-home .serv-head {margin-bottom:12px}
  .pol-home .serv-head .st {font-size:18px}
  .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}
  /* newsletter: stack icona sopra, form a piena larghezza */
  .pol-home .nl {flex-direction:column;gap:12px;padding:20px}
  .pol-home .nl-t {font-size:19px}
  .pol-home .nl-form input {flex:1 1 100%}
  .pol-home .nl-form button {flex:1 1 100%;padding:12px 20px}
}

/* ===== BLOCCO "IL CIELO SOPRA PATTI" — Vangelo · Luna · Radio Tindari ===== */
.pol-home .cielo{background:radial-gradient(130% 110% at 50% -20%,#1a4aa0 0%,#0C2E7A 44%,#06153a 100%);border-top:1px solid rgba(255,255,255,.08);margin-top:40px;padding:46px 0 54px;color:#eaf0fb}
.pol-home .cielo-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px}
.pol-home .cielo-head .ttl{font-family:"Fraunces",serif;font-size:29px;color:#fff;position:relative;padding-bottom:12px;line-height:1}
.pol-home .cielo-head .ttl::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:3px;background:var(--oro);border-radius:0}
.pol-home .cielo-head .sub{color:#b9c6e6;font-size:13px;margin-top:8px;font-weight:500}
.pol-home .cielo-rn{font-family:"Fraunces",serif;font-size:24px;color:var(--oro);opacity:.85}
.pol-home .cielo-grid{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:22px;align-items:stretch}
.pol-home .ccard{position:relative;padding:22px 22px 24px;display:flex;flex-direction:column}
.pol-home .ccard .ck{display:flex;align-items:center;gap:14px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin-bottom:16px}
.pol-home .ccard .ck i{flex:1;height:1px}
/* Vangelo */
.pol-home .cvangelo{background:var(--sabbia);color:var(--ink)}
.pol-home .cvangelo .ck{color:var(--terra)} .pol-home .cvangelo .ck i{background:rgba(193,90,60,.25)}
.pol-home .cv-date{font-size:11.5px;color:var(--grigio);text-transform:uppercase;letter-spacing:.04em}
.pol-home .cv-saint{display:flex;align-items:center;gap:10px;margin:9px 0 2px;padding:7px 11px;background:rgba(221,166,90,.12);border-left:3px solid var(--oro)}
.pol-home .cv-saint-img{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none;background:#e8e2d4;box-shadow:0 0 0 2px rgba(221,166,90,.55),0 2px 6px rgba(0,0,0,.22)}
.pol-home .cv-saint-tx{display:flex;flex-direction:column;min-width:0}
.pol-home .cv-saint-k{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--verde-d);font-weight:700;white-space:nowrap}
.pol-home .cv-saint-n{font-family:"Fraunces",serif;font-size:15.5px;color:var(--blu);line-height:1.15}
.pol-home .cv-rif{font-family:"Fraunces",serif;font-size:24px;color:var(--blu);margin:3px 0 12px;line-height:1.05}
.pol-home .cv-text{max-height:224px;overflow-y:auto;padding-right:10px;font-size:14.5px;line-height:1.62;color:#33404b}
.pol-home .cv-text::-webkit-scrollbar{width:6px}.pol-home .cv-text::-webkit-scrollbar-thumb{background:rgba(193,90,60,.35)}
.pol-home .cv-text p{margin:0 0 10px}
.pol-home .cv-text p:first-child::first-letter{font-family:"Fraunces",serif;font-size:44px;float:left;line-height:.78;padding:6px 10px 0 0;color:var(--oro)}
.pol-home .cv-comm{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.pol-home .cv-comm .cc-k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--verde-d);font-weight:700;margin-bottom:6px}
.pol-home .cv-comm p{font-size:13.5px;line-height:1.56;color:#3a4650;margin:0}
.pol-home .cv-comm .cc-a{font-size:12px;color:var(--grigio);margin-top:7px;font-style:italic}
.pol-home .cv-load{color:var(--grigio);font-size:14px;padding:34px 0;text-align:center}
/* Luna */
.pol-home .cluna{background:transparent;border:0;align-items:center;text-align:center}
.pol-home .cluna .ck{color:#bcd0ff;width:100%} .pol-home .cluna .ck i{background:rgba(188,208,255,.22)}
.pol-home .moon-stage{position:relative;width:100%;max-width:300px;margin:8px auto 4px;aspect-ratio:1/1}
.pol-home .moon-stage::before{content:"";position:absolute;inset:-16%;z-index:0;border-radius:50%;background:radial-gradient(circle,rgba(198,218,255,.30),transparent 62%);animation:moonglow 6.5s ease-in-out infinite}
.pol-home .moon-stage canvas{width:100%;height:auto;display:block;position:relative;z-index:2;animation:moonfloat 9s ease-in-out infinite;filter:drop-shadow(0 10px 26px rgba(0,0,0,.35))}
.pol-home .moon-stars{position:absolute;inset:-16%;z-index:1;background-image:radial-gradient(1px 1px at 18% 28%,#fff,transparent),radial-gradient(1px 1px at 72% 18%,#fff,transparent),radial-gradient(1.4px 1.4px at 42% 72%,#fff,transparent),radial-gradient(1.4px 1.4px at 86% 58%,#fff,transparent),radial-gradient(1px 1px at 10% 78%,#fff,transparent),radial-gradient(1px 1px at 62% 88%,#fff,transparent),radial-gradient(1px 1px at 30% 12%,#fff,transparent),radial-gradient(1px 1px at 90% 30%,#fff,transparent),radial-gradient(1px 1px at 6% 46%,#fff,transparent);opacity:.55;animation:twinkle 5s ease-in-out infinite}
.pol-home .moon-info{margin-top:10px}
.pol-home .moon-info .mi-name{font-family:"Fraunces",serif;font-size:26px;color:#fff}
.pol-home .moon-info .mi-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:8px;font-size:13px;color:#aebbd8}
.pol-home .moon-info .mi-row b{color:var(--oro);font-weight:700}
.pol-home .moon-info .mi-next{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#93a3c6}
.pol-home .moon-info .mi-next b{color:#dfe7f7;font-weight:600}
@keyframes moonfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes moonglow{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}
@keyframes twinkle{0%,100%{opacity:.4}50%{opacity:.72}}
/* Radio */
.pol-home .cradio{background:transparent;border:0}
.pol-home .cradio .ck{color:#bcd0ff} .pol-home .cradio .ck i{background:rgba(188,208,255,.22)}
.pol-home .radio-cover{display:flex;justify-content:center;align-items:center;flex:1;padding:8px 0 16px}
/* GIRADISCHI REALE (foto) */
.pol-home .gira-deck{position:relative;width:100%;max-width:520px;aspect-ratio:1200/800;margin:0 auto;background:center/cover no-repeat;
  -webkit-mask-image:radial-gradient(105% 108% at 50% 47%,#000 55%,transparent 92%);mask-image:radial-gradient(105% 108% at 50% 47%,#000 55%,transparent 92%)}
/* etichetta del vinile che gira in prospettiva (allineata al cerchio grigio della foto) */
.pol-home .gira-lbl{--cx:50.5%;--cy:47.6%;--d:35%;--tilt:64deg;--rot:-12deg;position:absolute;left:var(--cx);top:var(--cy);width:var(--d);aspect-ratio:1;transform:translate(-50%,-50%);perspective:600px;pointer-events:none;z-index:2}
.pol-home .gira-disc{position:absolute;inset:0;border-radius:50%;transform:rotateZ(var(--rot)) rotateX(var(--tilt));background:radial-gradient(circle,#fff 0 70%,#efe9dd 100%);box-shadow:0 2px 6px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.18)}
.pol-home .gira-disc::after{content:"";position:absolute;inset:11%;border-radius:50%;background:url('/pol/radio-amore-logo.png') center/86% no-repeat}
.pol-home .cradio.playing .gira-disc{animation:giraspin var(--rpm,2s) linear infinite}
@keyframes giraspin{from{transform:rotateZ(var(--rot)) rotateX(var(--tilt)) rotateZ(0)}to{transform:rotateZ(var(--rot)) rotateX(var(--tilt)) rotateZ(360deg)}}
/* gruppo testina ritagliato dalla foto, SOPRA l'etichetta */
.pol-home .gira-arm{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
/* pomelli interattivi (volume + velocità) */
.pol-home .gira-knob{position:absolute;transform:translate(-50%,-50%);width:14%;aspect-ratio:1;cursor:grab;touch-action:none;z-index:4}
.pol-home .gira-knob:active{cursor:grabbing}
.pol-home .gira-knob::before{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px rgba(221,166,90,0);transition:box-shadow .15s}
.pol-home .gira-knob:hover::before{box-shadow:0 0 0 2px rgba(221,166,90,.7)}
.pol-home .gk-dot{position:absolute;left:50%;top:50%;width:11%;height:11%;border-radius:50%;background:var(--oro);box-shadow:0 0 6px rgba(221,166,90,.9);transform-origin:0 0}
.pol-home .gk-lab{position:absolute;left:50%;bottom:118%;transform:translateX(-50%);white-space:nowrap;font-size:10.5px;font-weight:600;background:rgba(8,18,40,.9);color:#fff;padding:2px 7px;border:1px solid rgba(221,166,90,.5);opacity:0;transition:opacity .15s;pointer-events:none}
.pol-home .gk-lab b{color:var(--oro)}
.pol-home .gira-knob:hover .gk-lab,.pol-home .gira-knob.drag .gk-lab{opacity:1}
.pol-home .gk-spd .gk-lab{bottom:auto;top:118%}
.pol-home .radio-body{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:auto;padding-top:10px}
.pol-home .rplay{flex:none;width:62px;height:62px;border-radius:50%;border:0;cursor:pointer;background:var(--oro);color:#2a1e06;display:grid;place-items:center;transition:transform .25s,box-shadow .25s;box-shadow:0 8px 22px rgba(221,166,90,.35)}
.pol-home .rplay:hover{transform:scale(1.06)} .pol-home .rplay svg{width:26px;height:26px;margin-left:2px}
.pol-home .cradio.playing .rplay svg{margin-left:0}
.pol-home .rmeta{flex:1;min-width:0}
.pol-home .rlive{display:inline-flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.16em;font-weight:800;color:#d98a6f;text-transform:uppercase}
.pol-home .rdot{width:8px;height:8px;border-radius:50%;background:var(--terra);box-shadow:0 0 0 0 rgba(193,90,60,.6);animation:polpulse 2.2s infinite}
.pol-home .cradio.playing .rdot{animation:polpulse 1s infinite}
.pol-home .rname{font-family:"Fraunces",serif;font-size:23px;color:#fff;line-height:1.1;margin-top:3px}
.pol-home .rfreq{font-size:12px;color:#aebbd8;margin-top:3px}
/* VU METER analogici (reagiscono alla musica via Web Audio) */
.pol-home .gira-vu{display:flex;gap:8px;width:100%;margin-top:2px}
.pol-home .gira-vu .vu{flex:1;position:relative;padding:5px;border:1px solid #6f5a2e;background:linear-gradient(#f6eccd,#e4d3a8 68%,#d6c088);box-shadow:inset 0 2px 5px rgba(255,255,255,.65),inset 0 -7px 13px rgba(120,90,40,.28),0 2px 6px rgba(0,0,0,.45)}
.pol-home .gira-vu .vu::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(118deg,rgba(255,255,255,.4),rgba(255,255,255,0) 42%)}
.pol-home .cradio.playing .gira-vu .vu{background:linear-gradient(#fff4d2,#f1dda6 68%,#e4cd90)}
.pol-home .gira-vu svg{display:block;width:100%;height:62px;position:relative;z-index:1}
.pol-home .gvu-needle{transition:transform .05s linear}
@keyframes polpulse{0%{box-shadow:0 0 0 0 rgba(193,90,60,.55)}70%{box-shadow:0 0 0 11px rgba(193,90,60,0)}100%{box-shadow:0 0 0 0 rgba(193,90,60,0)}}
@media(max-width:900px){.pol-home .cielo-grid{grid-template-columns:1fr;gap:16px}.pol-home .cluna{order:-1}.pol-home .moon-stage{max-width:240px}}

/* ---- Promo Etna (home) ---- */
.pol-home .etna-promo{position:relative;display:block;width:100vw;max-width:none;margin:40px 0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0;overflow:hidden;min-height:380px;background-size:cover;background-position:center 38%;text-decoration:none;isolation:isolate}
.pol-home .etna-promo .ep-veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,10,12,.86) 0%,rgba(13,10,12,.62) 42%,rgba(13,10,12,.12) 100%),radial-gradient(1200px 300px at 12% 120%,rgba(255,61,0,.28),transparent 60%);z-index:1}
.pol-home .etna-promo .ep-in{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;width:100%;max-width:1200px;min-height:380px;margin:0 auto;padding:48px 40px;box-sizing:border-box}
.pol-home .etna-promo .ep-p{max-width:560px}
.pol-home .etna-promo .ep-k{font:600 12px/1 'Poppins',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#ffb066}
.pol-home .etna-promo .ep-h{font:700 clamp(30px,4.2vw,46px)/1.02 'Fraunces',serif;color:#fff;letter-spacing:.2px}
.pol-home .etna-promo .ep-p{font:400 16px/1.5 'Poppins',sans-serif;color:rgba(255,255,255,.86);margin:0}
.pol-home .etna-promo .ep-cta{display:inline-flex;align-items:center;gap:9px;margin-top:6px;padding:12px 22px;border-radius:0;background:linear-gradient(135deg,#ff6a1a,#ff3d00);color:#fff;font:600 14px/1 'Poppins',sans-serif;letter-spacing:.02em;transition:transform .25s ease,box-shadow .25s ease;box-shadow:0 8px 22px rgba(255,61,0,.4)}
.pol-home .etna-promo .ep-cta i{font-style:normal;transition:transform .25s ease}
.pol-home .etna-promo:hover .ep-cta{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,61,0,.55)}
.pol-home .etna-promo:hover .ep-cta i{transform:translateX(4px)}
@media(max-width:900px){.pol-home .etna-promo{margin:24px 0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);min-height:300px;background-position:center}.pol-home .etna-promo .ep-veil{background:linear-gradient(180deg,rgba(13,10,12,.35) 0%,rgba(13,10,12,.82) 70%),radial-gradient(600px 220px at 20% 120%,rgba(255,61,0,.3),transparent 60%)}.pol-home .etna-promo .ep-in{padding:28px 22px;justify-content:flex-end;min-height:300px}}
