/* RadioMeteo METEO 20261013.1 */
.rm-embedded .site-top .rm-brand{display:none!important}
.rm-embedded .site-top{grid-template-columns:1fr auto!important;max-width:1220px!important;margin:auto!important;gap:12px;padding:12px!important}
.rm-embedded .station-title{text-align:left!important;justify-self:start}
html,body{min-height:0!important;height:auto!important}
.gf-top{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
.gf-top>.gf-gauge,.gf-top>.gf-gauge:nth-child(3){grid-column:auto!important;width:100%!important;justify-self:stretch!important;box-sizing:border-box}
.gf-gauge{display:flex;flex-direction:column;align-items:center}
.gf-gauge h2{align-self:stretch;min-height:40px;display:flex;align-items:center;justify-content:center}
.gf-gauge svg{width:100%!important;max-width:250px!important;height:auto!important;max-height:none!important;aspect-ratio:1}
.gf-gauge .gf-reading{margin-top:auto}
#gf-moon-icon{width:88px!important;height:88px!important;flex:0 0 88px!important}
#page-agro #ag-moon-disc{width:96px!important;height:96px!important;flex:0 0 96px!important}
.gf-moon-sequence canvas{width:44px!important;height:44px!important}
#gf-dashboard .gf-feature-row .gf-moon-sequence{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.gf-moon-current{gap:14px;padding:10px 14px!important}
.gf-moon-current strong,.ag-moon-copy strong{font-size:19px!important}
.gf-moon-sequence small,.gf-moon-sequence time{font-size:12px!important}
.gf-date-controls,.gf-controls,.gf-history-controls{flex-wrap:wrap;min-width:0}
.gf-date-controls label,.gf-controls select{max-width:100%;box-sizing:border-box}
.tabs{display:flex;flex-wrap:wrap}
.tabs .tab{flex:1 1 120px;min-width:0}
@media(max-width:760px){
 .gf-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .gf-top>.gf-gauge:nth-child(3){grid-column:1/-1!important;width:calc((100% - 8px)/2)!important;justify-self:center!important}
 .gf-gauge svg{max-width:220px!important}
 .gf-stats{grid-column:1/-1!important}
}
@media(max-width:480px){
 .gf-gauge h2{font-size:14px!important;min-height:34px}
 .gf-gauge .gf-reading{font-size:12px!important}
 .rm-embedded .site-top{grid-template-columns:1fr!important}
 .header-right{justify-self:start!important}
 .station-title strong{font-size:16px!important}
 .gf-date-controls input[type=date]{width:145px;max-width:100%}
 .gf-toolbar{padding:10px!important}
 .gf-controls{width:100%;gap:6px}
 .gf-controls select{flex:1;min-width:0;padding:8px 4px}
 #gf-moon-icon{width:72px!important;height:72px!important;flex-basis:72px!important}
 #page-agro #ag-moon-disc{width:80px!important;height:80px!important;flex-basis:80px!important}
 .gf-moon-current p{font-size:15px!important}
 .gf-moon-current small{font-size:12px!important}
 .gf-moon-sequence{padding:0 8px!important;gap:5px}
 .gf-moon-sequence canvas{width:38px!important;height:38px!important}
}

/* 20261013.2: allineamento della barra con titolo e contenuti. */
.rm-embedded .site-top,.tabs,body>main{box-sizing:border-box!important;width:100%!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important}
.tabs{position:static!important;top:auto!important;overflow:visible!important;gap:0}
.tabs .tab{flex:1 1 0!important;padding:12px 8px!important;white-space:normal}
html:not(.rm-embedded) .site-top{position:static!important}
.rm-windy-credit{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;padding:10px;font-size:13px;line-height:1.5;border-top:1px solid #345563;color:#d4e8eb}
.rm-windy-credit a{color:#9de0ed;text-decoration:underline}
.rm-source-footer{max-width:1220px;margin:12px auto;padding:12px 16px;box-sizing:border-box;font-size:13px;line-height:1.6;color:#d4e8eb}
.rm-source-footer a{color:#9de0ed;text-decoration:underline}
@media(max-width:600px){.tabs .tab{flex:1 1 33%!important;padding:11px 6px!important;min-height:42px}}

/* 20261014.1: layout fluido, senza zoom globale o larghezze scalate. */
html{width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;min-width:0;margin:0}
body>main,.page,.gf-toolbar,.rm-days-grid,.rm-day-card,.rm-day-head,.rm-day-metrics{min-width:0;max-width:100%;box-sizing:border-box}
.rm-day-card>*{min-width:0;overflow-wrap:break-word}
.gf-history-controls{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.gf-history-controls select,.gf-history-controls button{max-width:100%;min-height:44px}
.rm-hour-wrap{max-width:100%;overflow-x:auto}
@media(max-width:600px){
 .tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%!important}
 .tabs .tab{width:100%;min-width:0;min-height:44px;font-size:14px!important;padding:10px 4px!important}
 .rm-day-card{padding:12px!important;gap:12px!important;grid-template-columns:minmax(0,1fr)!important}
 .rm-day-head h2{font-size:18px!important;line-height:1.3}
 .rm-day-head p,.rm-day-description{font-size:15px!important;line-height:1.55!important}
 .rm-day-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
 .rm-day-metrics>div{min-width:0}
 .rm-day-metrics span{font-size:13px!important}
 .rm-day-metrics b{font-size:clamp(17px,5vw,22px)!important;white-space:normal!important}
 .gf-toolbar h1{font-size:20px!important}
 .gf-history-controls{width:100%}
 .gf-history-controls select{font-size:16px!important;min-width:0;flex:1}
 .gf-history-controls button{font-size:14px!important}
}
@media(max-width:360px){.tabs .tab{font-size:12px!important}.rm-day-metrics{gap:8px!important}}


/* RadioMeteo METEO 20261014.2 - mirati: min/max, gauge vento e filtri. */
.rm-top-minmax{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px;padding-top:7px;border-top:1px solid #45484a;color:#b9c0c3;font-size:12px}
.rm-top-minmax b{color:#eef2f3;font-weight:600;margin-left:5px}
.console-panel.panel-wind{height:390px;min-height:390px;overflow:visible}
.rm-wind-gauge{position:relative;width:min(220px,100%);height:96px;margin:7px auto 15px;color:#c9ced0}
.rm-wind-gauge svg{display:block;width:100%;height:96px;overflow:visible}
.rm-wind-track,.rm-wind-fill{fill:none;stroke-width:10;stroke-linecap:round}
.rm-wind-track{stroke:#45484a}
.rm-wind-fill{stroke:#9dc13b;stroke-dasharray:0 308;transition:stroke-dasharray .35s ease}
.rm-wind-tick{fill:#aeb6ba;font-size:12px;font-family:inherit}
.rm-wind-reading{position:absolute;left:0;right:0;top:28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:0}
.rm-wind-reading strong{font-size:26px;line-height:1.1;font-weight:600;color:#e8edf0}
.rm-wind-reading span{font-size:11px;color:#c3cacf}
.rm-chart-filterbar{border:1px solid #3a3e41;background:#252629;border-radius:6px;padding:14px 16px;margin-bottom:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;color:#c9ced0}
.rm-chart-filter-title{font-size:15px;font-weight:600;flex-shrink:0}
.rm-chart-filter-title span{font-size:12px;font-weight:400;color:#b2b9bd}
.rm-chart-filterbar .period-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.rm-chart-filterbar label{color:#d2d9db}
.rm-chart-filterbar input[type=date]{min-height:42px;max-width:100%;font-size:15px}
.rm-chart-filterbar button{min-height:42px;padding:8px 14px}
.rm-chart-filterbar .stat-period{overflow-wrap:anywhere}
/* Il sottotitolo incorporato replica quello gia presente nell'header WordPress. */
.rm-embedded .site-top .station-title{display:none!important}
.rm-embedded .site-top{display:flex!important;justify-content:flex-end!important;padding:6px 12px!important;min-height:0!important}
.rm-embedded .site-top .header-right{min-width:0!important;flex-wrap:wrap}
@media(max-width:760px){.console-panel.panel-wind{height:400px;min-height:400px}}
@media(max-width:570px){.console-panel.panel-wind{height:420px;min-height:420px}.rm-wind-gauge{margin-top:6px}}
@media(max-width:480px){.rm-chart-filterbar{padding:12px 10px}.rm-chart-filterbar .period-bar{width:100%}.rm-chart-filterbar input[type=date]{min-width:0;flex:1 1 140px}.rm-chart-filterbar button{width:100%}.rm-top-minmax{font-size:11px}}
@media(max-width:360px){.rm-chart-filter-title span{display:block}.rm-wind-gauge{width:200px}}

/* 20261014.3 - Soltanto il quarto gauge e il testo Min/Max nei pannelli già esistenti.
   Nessuna modifica a colori, caratteri, sfondi o disegno dei quadranti. */
.gf-top{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.gf-top>.gf-gauge:nth-child(3){grid-column:auto!important;width:100%!important;justify-self:stretch!important}
.gf-stats{grid-column:1/-1!important}
.gf-extrema{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin-top:7px;padding:6px 10px 2px;font:12px/1.35 Arial,sans-serif;color:#d4d5d8;border-top:1px solid var(--border,#34363a)}
.gf-extrema>span{min-width:0;white-space:nowrap}
.gf-extrema b{font-weight:500;color:inherit}
.gf-stat>.gf-extrema{margin-top:4px;padding:5px 9px 7px;font-size:11px}
@media(max-width:760px){
 .gf-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .gf-top>.gf-gauge:nth-child(3){grid-column:auto!important;width:100%!important;justify-self:stretch!important}
}
@media(max-width:480px){
 .gf-extrema{font-size:11px;gap:4px;padding:5px 6px 2px}
 .gf-stat>.gf-extrema{font-size:11px;padding:4px 5px 7px;gap:4px}
}

/* 20261014.4: solo riequilibrio degli 11 riquadri dopo la rimozione di
   Base nubi, senza alterare colori, font, bordi o altri moduli. */
@media(min-width:641px){
 .gf-stats{grid-template-columns:repeat(12,minmax(0,1fr))!important}
 .gf-stats>.gf-stat{grid-column:span 3}
 .gf-stats>.gf-stat:nth-last-child(-n+3){grid-column:span 4}
}
@media(max-width:640px){
 .gf-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .gf-stats>.gf-stat{grid-column:auto}
 .gf-stats>.gf-stat:last-child{grid-column:1/-1}
}


/* 20261014.6: contrasto menu, filtro unico sopra i grafici,
   titolo ridotto e Min/Max leggibili, senza cambiare la grafica di base. */
.tabs{background:#0f3144!important;border:1px solid #2b5367!important;border-bottom-color:#335e74!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.04)}
.tabs .tab{background:#16394d!important;color:#d8e7ee!important;border-right:1px solid #2b5367!important;border-bottom:2px solid transparent!important;transition:background .15s,color .15s,border-color .15s}
.tabs .tab:last-child{border-right:none!important}
.tabs .tab:hover{background:#21485f!important;color:#ffffff!important}
.tabs .tab.active{background:#29546d!important;color:#ffffff!important;border-color:#7fc8da!important;box-shadow:inset 0 -2px 0 #7fc8da!important}

.gf-toolbar{padding:8px 0 10px!important;margin-bottom:4px!important}
.gf-toolbar h1{font-size:18px!important;line-height:1.25!important;font-weight:700!important;margin:0!important;padding:0 0 2px!important}

.gf-filter-panel{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;padding:10px 12px;margin-bottom:10px;background:#173244;border:1px solid #36576a;border-radius:6px;box-sizing:border-box}
.gf-filter-panel .gf-controls,.gf-filter-panel .gf-date-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.gf-filter-panel .gf-controls{flex:1 1 320px}
.gf-filter-panel .gf-date-controls{flex:2 1 560px}
.gf-filter-panel label{color:#eef6f8;font-size:13px}
.gf-filter-panel select,.gf-filter-panel input[type=date],.gf-filter-panel button{min-height:38px;border-radius:4px}
.gf-filter-panel select{min-width:180px;max-width:100%;padding:8px 10px}
.gf-filter-panel input[type=date]{padding:8px 10px}
.gf-filter-panel button{padding:8px 12px}

.gf-extrema{margin-top:8px!important;padding:7px 10px 4px!important;font-size:12px!important;line-height:1.35!important;color:#e7eff2!important;border-top:1px solid #425562!important;background:linear-gradient(to bottom,rgba(255,255,255,.02),rgba(255,255,255,0))}
.gf-extrema>span{display:flex;align-items:center;gap:4px}
.gf-extrema b{font-size:12px!important;font-weight:700!important;color:#ffffff!important;letter-spacing:.01em}
.gf-stat>.gf-extrema{font-size:12px!important;padding:7px 10px 7px!important}

@media(max-width:760px){
 .gf-toolbar h1{font-size:17px!important}
 .gf-filter-panel{padding:10px!important}
 .gf-filter-panel .gf-controls,.gf-filter-panel .gf-date-controls{flex:1 1 100%}
}
@media(max-width:480px){
 .gf-toolbar h1{font-size:16px!important}
 .gf-filter-panel{gap:8px;padding:9px 8px!important}
 .gf-filter-panel label{font-size:12px}
 .gf-filter-panel select,.gf-filter-panel input[type=date],.gf-filter-panel button{width:100%;min-height:40px}
 .gf-extrema{font-size:11px!important;padding:6px 8px 4px!important}
 .gf-extrema b,.gf-stat>.gf-extrema{font-size:11px!important}
}
