.mp-forecast{background:#eff7fa;color:#183c50}.forecast-shell{padding-top:32px;padding-bottom:64px}.forecast-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.forecast-heading h1{font-size:clamp(30px,4vw,53px);letter-spacing:-.045em;line-height:1.08;margin:10px 0}.forecast-heading p,.forecast-section-head p{color:#658496;line-height:1.55;margin:0}.forecast-model{border:1px solid #d2e8ee;background:#fff;border-radius:16px;padding:14px 19px;min-width:185px;display:grid;gap:5px}.forecast-model strong{color:#287a9f}.forecast-model span{font-size:12px;color:#6e8797}.forecast-error{padding:16px 20px;background:#fff5ee;border:1px solid #f3caa7;border-radius:15px;color:#965127;margin-bottom:18px}.forecast-hero{position:relative;isolation:isolate;overflow:hidden;min-height:330px;display:flex;align-items:center;border-radius:28px;padding:34px;background:linear-gradient(175deg,#398fc2 0%,#77c2e3 59%,#f2d1a6 100%);box-shadow:0 22px 48px rgba(26,92,125,.15);color:#fff}.forecast-hero[data-weather="sereno"],.forecast-hero[data-weather="poconuvoloso"]{background:linear-gradient(175deg,#238cc9 0%,#76c9ed 67%,#e5dec0 100%)}.forecast-hero[data-weather="coperto"],.forecast-hero[data-weather="nebbia"]{background:linear-gradient(175deg,#536d81 0%,#879dad 63%,#bac6cc 100%)}.forecast-hero[data-weather="pioggia"],.forecast-hero[data-weather="temporale"]{background:linear-gradient(175deg,#233b56 0%,#526e87 65%,#879daa 100%)}.forecast-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 74% 66%,rgba(255,255,255,.4),transparent 29%),radial-gradient(ellipse at 55% 21%,rgba(255,255,255,.19),transparent 38%);pointer-events:none}.forecast-sun{position:absolute;width:185px;height:185px;right:13%;top:12%;border-radius:50%;background:radial-gradient(circle,#fff9c9 0 15%,#ffde8b 20%,rgba(255,197,103,.3) 47%,transparent 72%);filter:blur(5px);opacity:.85}.forecast-hero[data-weather="coperto"] .forecast-sun,.forecast-hero[data-weather="pioggia"] .forecast-sun,.forecast-hero[data-weather="temporale"] .forecast-sun{opacity:0}.forecast-haze{position:absolute;width:62%;height:180px;right:-8%;bottom:-65px;border-radius:50%;background:rgba(255,255,255,.16);filter:blur(32px)}.forecast-hero-content{position:relative;z-index:1;width:100%;text-shadow:0 2px 12px rgba(12,44,65,.13)}.forecast-eyebrow{font-size:11px;letter-spacing:.17em;font-weight:850}.forecast-hero-line{display:flex;gap:20px;align-items:center;margin:20px 0 28px;max-width:780px}.forecast-big-icon{font-size:76px;line-height:1;filter:drop-shadow(0 5px 10px rgba(30,70,100,.13))}.forecast-hero h2{font-size:clamp(26px,3vw,39px);margin:0 0 9px;letter-spacing:-.035em}.forecast-hero p{font-size:15px;line-height:1.5;margin:0;max-width:620px}.forecast-hero-stats{display:flex;flex-wrap:wrap;gap:9px}.forecast-stat{background:rgba(8,40,63,.23);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.24);border-radius:13px;padding:12px 17px;min-width:113px}.forecast-stat small{display:block;opacity:.85;font-size:10px;letter-spacing:.04em}.forecast-stat strong{display:block;font-size:21px;margin-top:4px}.forecast-section{margin-top:39px}.forecast-section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:17px}.forecast-section-head h2,.forecast-story h2{font-size:clamp(23px,2.7vw,32px);letter-spacing:-.035em;margin:7px 0}.forecast-days-nav{display:flex;flex-wrap:wrap;gap:6px}.forecast-days-nav button{border:1px solid #d5e5ec;border-radius:11px;background:#fff;color:#426a80;padding:10px 14px;font:700 12px inherit;cursor:pointer;font-weight:800}.forecast-days-nav button.active{background:#267fa9;color:#fff;border-color:#267fa9}.forecast-chart-card{background:#fff;border:1px solid #d9eaf0;border-radius:24px;padding:22px;box-shadow:0 10px 25px rgba(30,83,108,.05)}.forecast-chart-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.forecast-chart-title strong{font-size:17px}.forecast-chart-title span{font-size:12px;color:#8095a3}.forecast-chart{min-height:205px}.forecast-chart svg{display:block;width:100%;height:205px;overflow:visible}.forecast-hours{display:flex;gap:8px;overflow-x:auto;padding:16px 0 3px;scrollbar-width:thin}.forecast-hour{flex:0 0 112px;border:1px solid #e2ecf0;border-radius:15px;padding:12px 9px;text-align:center;display:grid;gap:5px;background:#f9fcfe}.forecast-hour time{font-weight:800;color:#6a8798;font-size:12px}.forecast-hour .wx{font-size:29px}.forecast-hour strong{font-size:21px}.forecast-hour small{color:#688395;font-size:11px}.forecast-day-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.forecast-day-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e9f0;border-radius:19px;padding:18px 14px;display:grid;gap:11px;color:#183d50;box-shadow:0 7px 20px rgba(32,84,105,.04)}.forecast-day-card.active{border-color:#338eb8;box-shadow:0 0 0 2px rgba(49,145,184,.12)}.forecast-day-card .day{font-size:13px;font-weight:850;text-transform:capitalize}.forecast-day-card .icon{font-size:40px}.forecast-day-card .temps{font-size:21px;font-weight:900}.forecast-day-card .temps em{color:#89a4b3;font-style:normal;font-weight:700}.forecast-day-card .desc{font-size:12px;color:#7591a1;min-height:30px}.forecast-day-card .wind{font-size:11px;color:#45768e}.forecast-story{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr);gap:24px;background:linear-gradient(135deg,#fff,#e5f4f9);border:1px solid #daeaf0;border-radius:24px;padding:27px}.forecast-story>div>p{line-height:1.7;color:#506f80}.forecast-note{border-left:1px solid #d1e4ec;padding-left:22px}.forecast-note strong{color:#277ba0}.forecast-note p{font-size:12px}.forecast-svg-grid{stroke:#dce9ee;stroke-width:1}.forecast-svg-text{fill:#7491a1;font-size:11px}.forecast-svg-line{fill:none;stroke:#278fb6;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.forecast-svg-dot{fill:#278fb6;stroke:white;stroke-width:2}@media(max-width:750px){.forecast-shell{padding-top:22px}.forecast-heading,.forecast-section-head{display:block}.forecast-model{margin-top:17px;display:inline-grid}.forecast-days-nav{margin-top:15px}.forecast-hero{padding:23px;min-height:310px}.forecast-hero-line{gap:12px}.forecast-big-icon{font-size:54px}.forecast-hero-stats{gap:6px}.forecast-stat{min-width:calc(50% - 4px);padding:10px}.forecast-story{grid-template-columns:1fr}.forecast-note{border-left:none;border-top:1px solid #d1e4ec;padding:17px 0 0}.forecast-chart-card{padding:14px}.forecast-day-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.2 | Analisi illustrata, giorno e notte. Scoped: pagina Previsioni */
.forecast-analysis .forecast-story{grid-template-columns:minmax(0,1.6fr) minmax(230px,.55fr);background:linear-gradient(120deg,#fff 0%,#ecf8fc 55%,#d9edf8 100%);position:relative;overflow:hidden}
.forecast-analysis .forecast-story:after{content:'☀';position:absolute;right:24%;top:-80px;color:#f5c760;opacity:.13;font-size:240px;pointer-events:none}
.forecast-story-main{position:relative;z-index:1}.forecast-story-kicker{color:#3189a9;font-size:11px;font-weight:900;letter-spacing:.12em}.forecast-story h3{font-size:clamp(23px,2.8vw,34px);letter-spacing:-.035em;margin:9px 0}.forecast-story-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.forecast-story-tags span{font-size:12px;font-weight:750;color:#256582;border:1px solid #c6e6f0;border-radius:100px;background:#f6fcff;padding:8px 12px}
.forecast-phases{margin-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.forecast-phase{position:relative;overflow:hidden;border-radius:22px;min-height:254px;display:flex;flex-direction:column;padding:18px;color:#1c465a;box-shadow:0 10px 24px rgba(22,69,99,.08);border:1px solid rgba(255,255,255,.45)}.forecast-phase:before{content:'';position:absolute;width:125px;height:125px;right:-48px;top:-48px;background:rgba(255,255,255,.18);border-radius:50%}.forecast-phase.night{background:linear-gradient(150deg,#182c58,#345480);color:#eef5ff}.forecast-phase.morning{background:linear-gradient(145deg,#fbe0b4,#f6f3dc 68%,#d4eaf0)}.forecast-phase.afternoon{background:linear-gradient(145deg,#66bde0,#c8eaf7 68%,#f7edc8)}.forecast-phase.evening{background:linear-gradient(145deg,#d78b80,#ecc3aa 50%,#706e98);color:#fff}.forecast-phase-top{display:flex;align-items:center;gap:9px;position:relative}.forecast-phase-icon{font-size:31px}.forecast-phase-label{font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.forecast-phase-wx{font-size:17px;font-weight:850;margin:24px 0 8px;position:relative}.forecast-phase p{font-size:13px;line-height:1.55;margin:0 0 16px;flex:1;position:relative;color:inherit}.forecast-phase-meta{font-size:12px;font-weight:850;padding-top:10px;border-top:1px solid currentColor;opacity:.82;position:relative}
.forecast-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.forecast-insight{background:#fff;border:1px solid #d9e9f0;border-radius:16px;padding:16px;display:flex;gap:12px;align-items:flex-start}.forecast-insight-icon{font-size:26px}.forecast-insight strong{font-size:13px;color:#226887}.forecast-insight p{margin:5px 0 0;color:#5e7d8f;font-size:12px;line-height:1.45}.forecast-trend{background:linear-gradient(115deg,#214f72,#397a98);border-radius:21px;color:white;padding:23px 27px;margin-top:12px}.forecast-trend .eyebrow{color:#b8e7f4}.forecast-trend h3{font-size:23px;margin:8px 0}.forecast-trend p{font-size:14px;line-height:1.65;max-width:940px;margin:0;color:#effaff}
@media(max-width:1000px){.forecast-phases{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.forecast-analysis .forecast-story{grid-template-columns:1fr}.forecast-phases{gap:9px}.forecast-phase{padding:14px;min-height:260px}.forecast-phase-wx{font-size:15px}.forecast-phase p{font-size:12px}.forecast-insights{grid-template-columns:1fr}}@media(max-width:380px){.forecast-phases{grid-template-columns:1fr}.forecast-phase{min-height:0}}

/* V1.3: riempimento orizzontale automatico, anche con sole 1-3 fasce disponibili. */
.forecast-phases{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
@media(max-width:750px){.forecast-phases{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.forecast-phases{grid-template-columns:1fr}}

/* V1.4: data selezionata ben leggibile e navigazione più chiara */
.forecast-story-kicker{display:block;font-size:clamp(19px,2.25vw,27px);font-weight:900;letter-spacing:.015em;line-height:1.25;text-transform:capitalize;color:#247fa4;margin:0 0 8px}
.forecast-days-nav button{font-size:15px;padding:12px 17px;line-height:1.25}
.forecast-day-card .day{font-size:16px;line-height:1.3}
@media(max-width:750px){.forecast-story-kicker{font-size:21px}.forecast-days-nav button{font-size:14px;padding:10px 13px}.forecast-day-card .day{font-size:15px}}

/* V2.1: valori termici leggibili sui punti del grafico ICON */
.forecast-svg-value{fill:#176b91;font-size:13px;font-weight:900;paint-order:stroke fill;stroke:#fff;stroke-width:4px;stroke-linejoin:round}

/* Indicatore termico nelle sole card giornaliere ICON. */
.forecast-day-card .temp-trend{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.3;font-weight:800;color:#627f90}
.forecast-day-card .temp-trend-arrow{display:inline-flex;justify-content:center;align-items:center;min-width:22px;height:22px;border-radius:7px;background:#eef3f6;font-size:16px;line-height:1}
.forecast-day-card .temp-trend.up{color:#bd6133}.forecast-day-card .temp-trend.up .temp-trend-arrow{background:#fff0e7}
.forecast-day-card .temp-trend.down{color:#297aa7}.forecast-day-card .temp-trend.down .temp-trend-arrow{background:#e7f3fc}
.forecast-day-card .temp-trend.steady{color:#567789}.forecast-day-card .temp-trend.unavailable{color:#8a9aa4}
