/* RadioMeteo 1.0.25: compact header and readable home, loaded after legacy CSS. */
.site-header{position:relative;z-index:40}
.site-header .header-row:has(.rm-header-weather){min-height:112px;padding-block:12px;gap:20px}
.rm-header-weather__body{grid-template-columns:130px minmax(0,1fr);gap:12px}
.rm-header-weather__heading{margin-bottom:5px}
.rm-header-weather__station{display:none}
.rm-header-weather__values{gap:3px 10px}
.rm-header-weather__metric--temperature dd{font-size:28px}
.rm-header-forecast__day{padding:5px 3px;gap:1px}
.rm-header-forecast__icon,.rm-header-forecast__icon svg{width:28px;height:28px}
.rm-header-weather__heading a{font-size:14px}
.rm-header-weather__status,.rm-header-forecast__source{font-size:10px}
.forecast-toggle{display:none}
html:not(.js-ready) .site-header .menu-toggle{display:none}
.nav-row{padding-block:8px;gap:10px}
.primary-menu{gap:3px}
.primary-menu a{font-size:14px;padding:9px 8px;background:transparent;border-color:transparent;color:var(--ink)}
.primary-menu li.has-submenu-control>a{border-radius:5px 0 0 5px}
.submenu-toggle{background:transparent;border-color:transparent;color:var(--ink);width:32px}
.submenu-toggle:hover,.submenu-toggle[aria-expanded=true]{background:#e4eeee;color:var(--ink)}
.primary-menu a:hover,.primary-menu .current-menu-item>a,.primary-menu .current-menu-ancestor>a{background:#e4eeee;border-color:transparent;color:var(--ink)}
.home .hero{min-height:260px;margin-top:20px}
.home .hero-copy{padding:28px 34px;width:65%}
.home .hero h1{font-size:clamp(1.9rem,3vw,2.55rem);margin-bottom:12px}
.home .hero .eyebrow{margin-bottom:10px}
.home .hero p{font-size:16px;line-height:1.55;margin-bottom:12px;max-width:510px}
.home .hero-actions{margin-top:14px}
.home .pathways{margin:16px 0 24px}
.home .pathway{padding:14px 18px;gap:12px}
.home .pathway-number{display:none}
.home .content-layout{gap:28px;grid-template-columns:minmax(0,1fr) 300px}
.home .content-layout:not(:has(>.sidebar)){grid-template-columns:minmax(0,1fr)}
.home .section-head{margin-bottom:18px;align-items:center}
.home .section-head .eyebrow{display:none}
.home .section-head a{font-size:14px}
.post-card .card-media{aspect-ratio:16/9;background:#e8edee}
.post-card .card-media img{width:100%;height:100%;object-fit:contain}
.card-body p{font-size:16px;line-height:1.65;color:#3c515c}
.card-body h3{font-size:21px;line-height:1.3}
.card-body{padding:20px}
.card-meta{font-size:12px}
.home .sidebar{gap:18px}
.home .widget{padding:18px}
.home .rmc-prop-widget-bands,.home .rmc-prop-widget-head{display:none}
.home .rmc-prop-widget-note{font-size:12px;line-height:1.5}
.home .rmc-prop-widget-metrics{font-size:13px}
.rm-home-activations ul{list-style:none;padding:0;margin:0}
.rm-home-activations li{padding:12px 0;border-bottom:1px solid var(--line);line-height:1.5}
.rm-home-activations li:first-child{padding-top:0}
.rm-home-activations li strong{font-size:15px;display:block}
.rm-home-activations li small{font-size:13px;color:var(--muted);display:block;margin-top:3px}
.rm-home-activations .all-activations{display:inline-block;margin-top:14px;font-size:14px;font-weight:650}
.home .feature-project{padding:24px;margin-top:24px}
@media(min-width:1361px){.site-header .menu-toggle{display:none}}
@media(min-width:1361px) and (max-width:1400px){.primary-menu a{font-size:13px;padding-inline:6px}.nav-row{gap:6px}}
@media(max-width:1360px){
 .site-header .header-row,.site-header .header-row:has(.rm-header-weather){position:relative;min-height:76px;flex-wrap:wrap;gap:12px;padding-block:12px}
 .header-row>.brand,.header-row>.custom-logo-link{max-width:calc(100% - 115px)}
 .site-header .header-actions{order:1;margin-left:auto;gap:8px;flex:none}
 .site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;font-size:25px;line-height:1;background:var(--navy);color:#fff}
 .site-header .brand-name{font-size:24px}
 .site-header .brand-icon{width:40px;height:40px}
 .site-header .brand{gap:7px}
 .site-header .brand small{font-size:8px;letter-spacing:.06em}
 .site-header .language-switcher{gap:0}
 .site-header .language-switcher a,.site-header .language-switcher span{padding:5px}
 .site-header .rm-header-weather{order:2;flex:1 0 100%;max-width:none;padding:9px 0 0;border-left:0}
 .rm-header-weather__body{grid-template-columns:1fr;gap:6px}
 .rm-header-weather__values{grid-template-columns:1.4fr 1fr 1fr;gap:8px;align-items:center}
 .rm-header-weather__metric--temperature{grid-column:auto;grid-row:auto}
 .rm-header-weather__status{max-width:none}
 .forecast-toggle{display:block;justify-self:start;padding:4px 0;border:0;background:transparent;color:#086775;text-decoration:underline;font-size:14px;min-height:36px;cursor:pointer}
 .forecast-toggle::after{content:' +'}
 .forecast-toggle[aria-expanded=true]::after{content:' −'}
 .js-ready .rm-header-forecast:not(.is-open){display:none}
 .site-header .nav-wrap{border:0;background:#fff}
 .js-ready .site-header .nav-wrap{display:none;position:absolute;z-index:100;top:var(--rm-menu-top,66px);right:var(--rm-menu-right,16px);width:280px;max-width:calc(100% - 32px);max-height:min(480px,calc(100dvh - 126px));overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 32px #0b263833;border:1px solid var(--line);border-radius:10px}
 .js-ready .site-header .nav-wrap.is-open{display:block}
 .site-header .nav-row{width:100%;padding:10px;display:flex;flex-direction:column;align-items:stretch;gap:8px}
 .site-header .nav-row>nav{order:0;flex-basis:auto}
 .site-header .primary-menu,.js-ready .site-header .primary-menu.is-open{display:flex;flex-direction:column;gap:3px;padding:0}
 .site-header .primary-menu>li{width:100%;flex-wrap:wrap}
 .site-header .primary-menu>li>a{flex:1;min-width:0;padding:10px 12px}
 .site-header .submenu-toggle{width:44px}
 .site-header .primary-menu .sub-menu{position:static;width:100%;min-width:0;max-width:100%;flex-basis:100%;box-shadow:none;background:#f1f5f5;padding:5px;margin-top:3px}
 .site-header .primary-menu .sub-menu a{width:100%;padding:10px}
 .site-header .search-toggle{justify-content:center}
 .site-header .search-panel{position:relative;z-index:101;background:#fff}
 .home .content-layout{grid-template-columns:minmax(0,1fr)}
 .home .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .hero-copy{width:80%}
}
@media(max-width:600px){
 .wrap{width:calc(100% - 32px)}
 .home .hero{min-height:0;margin-top:16px}
 .home .hero-copy{padding:24px 20px;width:100%}
 .home .hero:after{background:linear-gradient(90deg,#041b2bee,#041b2ba8)}
 .home .hero h1{font-size:30px}
 .home .hero p{font-size:15px}
 .home .hero .eyebrow,.home .hero-caption{display:none}
 .home .hero-actions{gap:8px}
 .home .hero-actions .button{padding:10px 12px;font-size:13px}
 .home .pathways{grid-template-columns:1fr;margin-bottom:22px}
 .home .pathway{padding:10px 14px;min-height:44px}
 .home .pathway small{display:none}
 .home .section-head{align-items:flex-start;gap:10px}
 .home .section-head h2{font-size:25px}
 .home .section-head a{font-size:13px;max-width:115px;text-align:right}
 .post-grid,.home .sidebar{grid-template-columns:1fr}
 .card-body{padding:18px}
 .card-body h3{font-size:22px}
 .home .feature-project{grid-template-columns:1fr;padding:22px}
 .home .feature-project img{display:none}
}
@media(max-width:350px){.site-header .brand-icon{display:none}.site-header .brand-name{font-size:23px}}

/* Optional Gutenberg widget area: never affects existing right sidebar. */
.home .rm-home-extra-widgets{margin-block:20px;display:grid;gap:14px;}
.home .rm-home-extra-widgets>.widget{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0;}
.home .rm-home-extra-widgets>h2{margin-bottom:0;}

/* RadioMeteo 2027: optional, Polylang-aware six-service homepage block. */
.rm-home-services{margin:20px 0 32px;min-width:0}
.rm-home-services__heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:15px}
.rm-home-services__heading h2{font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.2;margin:4px 0 6px;color:var(--ink)}
.rm-home-services__heading .eyebrow{margin:0;font-size:11px}
.rm-home-services__intro{font-size:14px;color:var(--muted);margin:0;line-height:1.5}
.rm-home-services__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rm-home-services__card{display:flex;align-items:center;gap:12px;min-width:0;min-height:98px;padding:18px 15px;background:#fff;border:1px solid var(--line);border-radius:11px;text-decoration:none!important;color:var(--ink)!important;box-shadow:0 3px 12px rgba(5,34,52,.035);transition:border-color .17s,box-shadow .17s,transform .17s}
.rm-home-services__card:hover{border-color:var(--teal);box-shadow:0 6px 18px rgba(5,34,52,.1);transform:translateY(-2px)}
.rm-home-services__card:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.rm-home-services__symbol{flex:0 0 52px;min-width:52px;height:52px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#e9f4f4;color:var(--teal);font-size:14px;font-weight:800;letter-spacing:-.02em}
.rm-home-services__copy{display:grid;gap:4px;min-width:0;flex:1}
.rm-home-services__copy strong{display:block;font-size:14px;line-height:1.25;font-weight:750;overflow-wrap:anywhere}
.rm-home-services__copy small{font-size:12px;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}
.rm-home-services__arrow{align-self:flex-start;font-size:18px;color:var(--teal);font-weight:700}
@media(max-width:900px){.rm-home-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.rm-home-services__grid{gap:9px}.rm-home-services__card{min-height:100px;padding:12px 10px;gap:8px;align-items:flex-start;flex-direction:column;position:relative}.rm-home-services__symbol{min-width:0;flex:none;width:auto;height:27px;padding:0 8px;font-size:11px;border-radius:6px}.rm-home-services__copy strong{font-size:13px}.rm-home-services__copy small{font-size:11px}.rm-home-services__arrow{position:absolute;right:11px;top:14px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.rm-home-services__card{transition:none}.rm-home-services__card:hover{transform:none}}
