/* Weatherage V27 — two weather panels can live side by side, not only metric tiles. */
#home .content{
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:wrap!important;
 align-content:flex-start!important;
 align-items:flex-start!important;
 column-gap:10px!important;
 row-gap:13px!important;
 min-width:0!important;
}
#home .content>[data-wa-block]:not(#cards):not(.studio-teaser){
 flex:0 0 var(--wa-free-width,100%)!important;
 width:var(--wa-free-width,100%)!important;
 max-width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
 align-self:flex-start!important;
}
#home .content>#cards,
#home .content>#waLateCards,
#home .content>.studio-teaser,
#home .content>:not([data-wa-block]):not(#waLateCards){
 flex:0 0 100%!important;
 width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
}
/* A paired card must be allowed to contract even if its template was designed for full width. */
#home .content>[data-wa-block] :is(.section-top,.section-top>*,.mast-top,.mast-top>*,.hour,.week-day,.week-range,.wa-atmos-stats,.wa-tomorrow,.wa-rain-next){
 min-width:0!important;
}
#home .content>[data-wa-block] :is(.section-top,.tile-head,.mast-top,.wa-tomorrow-main){
 max-width:100%!important;
}
#home .content>[data-wa-block] :is(.section-top strong,.wa-tomorrow-title,.mast-top .brand,.location,.range){
 overflow-wrap:anywhere!important;
 white-space:normal!important;
}
#home .content>[data-wa-block].wa-resizing{z-index:20!important}
#home .content>[data-wa-block] .wa-free-grip{touch-action:none!important}
/* Half-width weather blocks: arrange internal content compactly while preserving horizontal scrollable timelines. */
#home .content>[data-wa-block].wa-half-panel:not(.mast){
 padding:clamp(9px,2.5vw,13px)!important;
}
#home .content>.mast.wa-half-panel{
 padding:18px 12px!important;
}
#home .content>.mast.wa-half-panel .temperature{
 font-size:clamp(48px,calc(74px * var(--wa-free-scale,1)),105px)!important;
 letter-spacing:-.05em!important;
}
#home .content>.mast.wa-half-panel .brand{
 font-size:clamp(15px,calc(19px * var(--wa-free-scale,1)),30px)!important;
}
#home .content>.mast.wa-half-panel .condition{
 font-size:clamp(15px,calc(19px * var(--wa-free-scale,1)),29px)!important
}
#home .content>.mast.wa-half-panel .location{
 font-size:clamp(12px,calc(16px * var(--wa-free-scale,1)),24px)!important
}
#home .content>.mast.wa-half-panel .range{
 font-size:clamp(11px,calc(13px * var(--wa-free-scale,1)),20px)!important
}
#home .content>.mast.wa-half-panel .mast-top{
 padding-right:0!important;
}
#home .content>[data-wa-block].wa-half-panel .section-top strong{
 font-size:clamp(12px,calc(14px * var(--wa-free-scale,1)),22px)!important
}
#home .content>[data-wa-block].wa-half-panel .weather-icon{
 font-size:clamp(18px,calc(23px * var(--wa-free-scale,1)),37px)!important
}
#home .content>.hours-card.wa-half-panel #hours{
 overflow-x:auto!important;
 max-width:100%!important;
 scrollbar-width:thin;
}
#home .content>[data-wa-block].wa-half-panel :is(.wa-sun-times,.wa-tomorrow-main,.wa-tomorrow-metrics,.wa-alerts-body){
 min-width:0!important;
 max-width:100%!important;
 flex-wrap:wrap!important;
}
#home .content>.radar-card.wa-half-panel :is(.wa-radar-preview-wrap,.wa-mini-map){
 max-width:100%!important;
}
@media(max-width:355px){
 #home .content{column-gap:8px!important}
 #home .content>.mast.wa-half-panel .temperature{font-size:clamp(42px,calc(68px * var(--wa-free-scale,1)),90px)!important}
}
@media(prefers-reduced-motion:reduce){
 #home .content>.wa-half-panel{transition:none!important}
}

/* Keep weekly forecast and rain outlook readable inside genuinely half-width cards. */
#home .content>.week-card.wa-half-panel .week-day{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) 28px!important;
 gap:4px!important;
 margin:0!important;padding:8px 1px!important;
 max-width:100%!important;
}
#home .content>.week-card.wa-half-panel .week-day .week-icon{
 grid-column:2!important;grid-row:1!important;
 font-size:19px!important;text-align:right!important;
}
#home .content>.week-card.wa-half-panel .week-day .week-track{
 grid-column:1/-1!important;grid-row:2!important;
 width:100%!important;min-width:0!important;
}
#home .content>.week-card.wa-half-panel .week-day .week-range{
 grid-column:1/-1!important;grid-row:3!important;
 width:100%!important;text-align:left!important;
 white-space:normal!important;font-size:11px!important;
}
#home .content>.week-card.wa-half-panel .week-day>*{min-width:0!important}
#home .content>.week-card.wa-half-panel .week-day{
 overflow-wrap:anywhere!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-main{
 flex-direction:column!important;align-items:flex-start!important;
 gap:6px!important;min-width:0!important;
 padding:9px 0 8px!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-icon{
 width:37px!important;height:37px!important;
 flex:0 0 37px!important;font-size:23px!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-reading{
 max-width:100%!important;overflow-wrap:anywhere!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-reading strong{
 font-size:clamp(21px,calc(31px * var(--wa-free-scale,1)),40px)!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-bars{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:6px!important;min-width:0!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-hour{
 min-width:0!important;padding:6px!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .section-top{
 flex-wrap:wrap!important;gap:5px!important;
}
#home .content>.wa-next-rain-card.wa-half-panel .wa-three-label{
 max-width:100%!important;white-space:normal!important;
 padding:5px 7px!important;
}
#home .content>[data-wa-block].wa-half-panel :is(.facts-grid,.sun-grid){
 grid-template-columns:minmax(0,1fr)!important;
}
#home .content>[data-wa-block].wa-half-panel :is(.fact,.sun-fact){
 min-width:0!important;overflow-wrap:anywhere!important;
}
