/* RadioMeteo — pagina «Meteo locale» (/it/meteo-cellino-attanasio/, /en/meteo-local/) nello stile delle pagine strumento
   (come Meteo Radioamatori): tutta larghezza, nessun widget a destra, blocco scuro «adesso», sezioni con titolo colorato,
   riquadri bilanciati, misure compatte (−10%). Contenuti e dati invariati: cambia solo l'impaginazione. */
body.page-template-page-weather{--lw-navy:#071b32;--lw-navy2:#0d2f52;--lw-line:#c8e3f0;--lw-muted:#4f6a80;--lw-ink:#0c2541}
/* tutta larghezza, senza colonna destra */
body.page-template-page-weather .content-layout{grid-template-columns:minmax(0,1fr)!important;display:block!important}
body.page-template-page-weather .content-layout>aside.sidebar{display:none!important}
body.page-template-page-weather .content-layout>div{width:100%!important;max-width:none!important}
/* intestazione della pagina più bassa */
body.page-template-page-weather .page-heading{padding-top:18px!important;padding-bottom:18px!important;min-height:0!important}
body.page-template-page-weather .page-heading h1{font-size:clamp(24px,2.4vw,30px)!important;margin:4px 0!important}
body.page-template-page-weather .page-heading p{font-size:14px!important;margin:0!important}
body.page-template-page-weather .article-content{padding:18px clamp(12px,2vw,24px)!important;max-width:none!important}
/* griglia: blocco «adesso» a tutta larghezza, poi webcam e andamento affiancati */
body.page-template-page-weather .rm-weather{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 18px;align-items:stretch;max-width:none!important;width:100%!important;margin:0!important}
body.page-template-page-weather .rm-weather>*{grid-column:1/-1;margin:0!important;min-width:0}
body.page-template-page-weather .rm-weather>.wx-panel{grid-column:auto}
/* blocco scuro «adesso»: stato + 6 misure */
body.page-template-page-weather .wx-intro{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.page-template-page-weather .wx-intro p{font-size:14px!important;margin:0!important;color:var(--lw-muted)}
body.page-template-page-weather .wx-refresh{font-size:14px!important;min-height:38px!important;padding:6px 14px!important}
body.page-template-page-weather .wx-status{background:linear-gradient(160deg,var(--lw-navy),var(--lw-navy2))!important;color:#e8f3fb!important;border:0!important;border-radius:14px 14px 0 0!important;padding:14px 18px 6px!important;margin-bottom:-16px!important;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
body.page-template-page-weather .wx-status strong{color:#fff!important;font-size:16px!important}
body.page-template-page-weather .wx-status small{color:#a9c6dc!important;font-size:13px!important}
body.page-template-page-weather .wx-stats{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;background:linear-gradient(160deg,var(--lw-navy2),var(--lw-navy))!important;border-radius:0 0 14px 14px!important;padding:12px 18px 18px!important}
body.page-template-page-weather .wx-stat{background:#ffffff0f!important;border:1px solid #ffffff1f!important;border-left:4px solid var(--lw-a,#5f86a6)!important;border-radius:10px!important;padding:10px 12px!important;color:#e8f3fb!important;box-shadow:none!important;min-height:0!important}
body.page-template-page-weather .wx-stat:nth-child(1){--lw-a:#ef4444}body.page-template-page-weather .wx-stat:nth-child(2){--lw-a:#22d3ee}
body.page-template-page-weather .wx-stat:nth-child(3){--lw-a:#a78bfa}body.page-template-page-weather .wx-stat:nth-child(4){--lw-a:#22c55e}
body.page-template-page-weather .wx-stat:nth-child(5),body.page-template-page-weather .wx-stat:nth-child(6){--lw-a:#3b82f6}
body.page-template-page-weather .wx-stat .wx-label{font-size:12px!important;color:#a9c6dc!important;letter-spacing:.04em;line-height:1.3!important;min-height:0!important}
body.page-template-page-weather .wx-stat .wx-value{margin:4px 0!important;line-height:1.1!important}
body.page-template-page-weather .wx-stat .wx-value span{font-size:clamp(20px,1.8vw,24px)!important;color:#fff!important}
body.page-template-page-weather .wx-stat .wx-value .wx-unit{font-size:13px!important;color:#a9c6dc!important}
body.page-template-page-weather .wx-stat .wx-detail{font-size:13px!important;color:#cfe3f1!important;line-height:1.45!important}
body.page-template-page-weather .wx-stat .wx-detail b{color:#fff!important}
/* sezioni con titolo colorato (come le sezioni di Meteo Radioamatori) */
body.page-template-page-weather .wx-panel{border:1px solid var(--lw-line)!important;border-radius:14px!important;overflow:hidden;display:flex;flex-direction:column;background:#fff!important}
body.page-template-page-weather .wx-panel-head{padding:12px 18px!important;min-height:0!important;display:flex;align-items:center;justify-content:space-between;gap:10px}
body.page-template-page-weather .wx-panel:nth-of-type(1) .wx-panel-head{background:linear-gradient(120deg,#006d8f,#0099bd)!important}
body.page-template-page-weather .wx-panel:nth-of-type(2) .wx-panel-head{background:linear-gradient(120deg,#5b2a86,#7c3aed)!important}
body.page-template-page-weather .wx-panel-head h2{font-size:clamp(17px,1.6vw,20px)!important;margin:0!important;color:#fff!important}
body.page-template-page-weather .wx-panel-head p,body.page-template-page-weather .wx-panel-head .eyebrow{font-size:13px!important;margin:0!important;color:#ffffffd9!important}
body.page-template-page-weather .wx-panel-head a{color:#fff!important;font-size:14px!important;white-space:nowrap}
body.page-template-page-weather .wx-webcam-wrap{aspect-ratio:16/9;height:auto!important;min-height:0!important}
body.page-template-page-weather .wx-webcam{width:100%!important;height:100%!important;object-fit:cover}
body.page-template-page-weather .wx-camera-note,body.page-template-page-weather .wx-chart-summary,body.page-template-page-weather .wx-history-note{font-size:13px!important;margin:6px 16px!important;line-height:1.5!important}
body.page-template-page-weather .wx-chart-controls{padding:10px 16px 0!important;gap:6px!important;flex-wrap:wrap}
body.page-template-page-weather .wx-chart-controls button{font-size:13px!important;min-height:34px!important;padding:5px 11px!important}
body.page-template-page-weather .wx-period-label,body.page-template-page-weather .wx-period-label select{font-size:13px!important}
body.page-template-page-weather .wx-chart{padding:0 8px!important}
body.page-template-page-weather .wx-table-toggle{margin:4px 16px 12px!important;font-size:14px!important}
/* altre misure e informazioni */
body.page-template-page-weather .wx-extras{border:1px solid var(--lw-line)!important;border-radius:14px!important;padding:12px 18px!important}
body.page-template-page-weather .wx-extras summary{font-size:15px!important;font-weight:700}
body.page-template-page-weather .wx-extras dl{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0 24px!important}
body.page-template-page-weather .wx-extras dl>div{font-size:14px!important;padding:8px 0!important}
body.page-template-page-weather .wx-disclaimer{border-radius:14px!important;padding:14px 18px!important;font-size:14px!important}
body.page-template-page-weather .wx-disclaimer h2{font-size:16px!important;padding:8px 12px!important;margin:0 0 8px!important;background:linear-gradient(120deg,#13643a,#16a34a)!important;border-radius:8px}
body.page-template-page-weather .wx-disclaimer p{font-size:14px!important;margin:0 0 6px!important}
body.page-template-page-weather .wx-source-note{font-size:13px!important}
/* previsioni: sezione con titolo arancio, a tutta larghezza */
body.page-template-page-weather .rm-page-forecast{margin:18px clamp(12px,2vw,24px) 0!important;border-radius:14px!important;overflow:hidden;max-width:none!important}
body.page-template-page-weather .rm-fc-head{background:linear-gradient(120deg,#9a4a00,#d97706)!important;padding:12px 18px!important;min-height:0!important}
body.page-template-page-weather .rm-fc-head h2{font-size:clamp(17px,1.6vw,20px)!important;margin:0!important}
body.page-template-page-weather .rm-fc-head p{font-size:13px!important;margin:0!important}
body.page-template-page-weather .rm-fc-grid{gap:12px!important;padding:14px 18px!important}
body.page-template-page-weather .rm-fc-foot{font-size:13px!important;padding:10px 18px!important}
/* tablet e telefono */
@media (max-width:1100px){
 body.page-template-page-weather .wx-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.page-template-page-weather .wx-extras dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:860px){
 body.page-template-page-weather .rm-weather{grid-template-columns:minmax(0,1fr)}
 body.page-template-page-weather .rm-weather>.wx-panel{grid-column:1/-1}
}
@media (max-width:560px){
 body.page-template-page-weather .wx-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px 12px 14px!important}
 body.page-template-page-weather .wx-status{padding:12px 12px 6px!important}
 body.page-template-page-weather .wx-intro{flex-direction:column;align-items:flex-start}
 body.page-template-page-weather .wx-extras dl{grid-template-columns:minmax(0,1fr)!important}
 body.page-template-page-weather .rm-page-forecast{margin:14px 0 0!important}
}
/* previsioni 3 / 7 / 14 giorni (14 = due righe da 7) */
body.page-template-page-weather .rmsm-fc-seg{display:inline-flex;flex:0 0 auto;border:1px solid #ffffff59;border-radius:999px;overflow:hidden;background:#ffffff1f}
body.page-template-page-weather .rmsm-fc-seg button{border:0;background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:700;padding:6px 12px;min-height:34px;cursor:pointer}
body.page-template-page-weather .rmsm-fc-seg button[aria-pressed="true"]{background:#fff;color:#9a4a00}
body.page-template-page-weather .rmsm-fc-seg button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
body.page-template-page-weather .rm-fc-grid.rmsm-fc-long{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important}
body.page-template-page-weather .rmsm-fc-mini{background:#fff;border:1px solid #dce5e8;border-radius:11px;padding:10px 8px;text-align:center;min-width:0}
body.page-template-page-weather .rmsm-fc-mini p{margin:0!important;line-height:1.35}
body.page-template-page-weather .rmsm-fc-d{font-size:13px;color:#4f6a80;text-transform:capitalize}
body.page-template-page-weather .rmsm-fc-d b{color:#0c2541}
body.page-template-page-weather .rmsm-fc-ic{width:40px;height:40px;display:block;margin:4px auto}
body.page-template-page-weather .rmsm-fc-t{font-size:14px;color:#4f6a80}
body.page-template-page-weather .rmsm-fc-t b{font-size:16px;color:#0c2541}
body.page-template-page-weather .rmsm-fc-r,body.page-template-page-weather .rmsm-fc-w{font-size:12px;color:#4f6a80}
body.page-template-page-weather .rmsm-fc-msg{grid-column:1/-1;font-size:14px;color:#4f6a80;margin:6px 0!important}
body.page-template-page-weather .rmsm-fc-note{font-size:13px;color:#4f6a80;margin:0!important;padding:0 18px 10px;background:#f7fafb}
@media (max-width:1100px){body.page-template-page-weather .rm-fc-grid.rmsm-fc-long{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (max-width:640px){
 body.page-template-page-weather .rm-fc-grid.rmsm-fc-long{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:10px!important}
 body.page-template-page-weather .rm-fc-grid.rmsm-fc-long .rmsm-fc-mini{flex:0 0 112px;scroll-snap-align:start}
 body.page-template-page-weather .rm-fc-head{flex-wrap:wrap;gap:8px}
}
/* stato della webcam */
body.page-template-page-weather .rmsm-cam-st{margin:2px 0 0!important;font-size:13px!important;color:#ffffffe6!important;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.page-template-page-weather .rmsm-cam-dot{width:9px;height:9px;border-radius:50%;background:#9ca3af;flex:0 0 9px}
body.page-template-page-weather .rmsm-cam-st.is-on .rmsm-cam-dot{background:#22c55e;box-shadow:0 0 0 3px #22c55e55}
body.page-template-page-weather .rmsm-cam-st.is-off .rmsm-cam-dot{background:#ef4444;box-shadow:0 0 0 3px #ef444455}
body.page-template-page-weather .rmsm-cam-st b{color:#fff}
