/* RADIO_IENA_UNIFORME_V4 - solo presentazione, non player */
:root {--ri-shell:#080e18;--ri-edge:#ffffff1d;--ri-accent:#ed2948}
html{scroll-behavior:smooth}
body{background:#0b101b;color:#f2f5fc}
header.topnav{position:sticky!important;top:0!important;z-index:5000!important;background:#080e18!important;border-bottom:1px solid var(--ri-edge)!important;height:auto!important;min-height:68px!important}
header.topnav .nav-inner{width:100%!important;max-width:1380px!important;margin:auto!important;box-sizing:border-box!important;min-height:68px!important;padding:11px 22px!important;display:flex!important;align-items:center!important;gap:18px!important}
header.topnav .brand{display:flex!important;align-items:center!important;gap:10px!important;white-space:nowrap!important;text-decoration:none!important;color:#fff!important;flex-shrink:0!important}
header.topnav .brand img{width:36px!important;height:36px!important;object-fit:contain!important}
header.topnav .brand small{display:block!important;letter-spacing:.22em!important;font-size:8px!important}
header.topnav .nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(9px,1.3vw,19px)!important;flex:1!important;min-width:0!important;visibility:visible!important;opacity:1!important;position:static!important;transform:none!important;background:transparent!important;padding:0!important;box-shadow:none!important}
header.topnav .nav a{color:#e9edf5!important;white-space:nowrap!important;text-decoration:none!important;font-size:11px!important;font-weight:750!important;letter-spacing:.025em!important}
header.topnav .nav a:hover,header.topnav .nav a[aria-current="page"]{color:#ff6175!important}
header.topnav .nav-watch{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:var(--ri-accent)!important;color:white!important;border-radius:9px!important;padding:11px 15px!important;white-space:nowrap!important;text-decoration:none!important;flex-shrink:0!important;font-size:11px!important;font-weight:800!important}
/* Evita il pulsante mobile aggiuntivo: menu scorrevole su schermi stretti */
header.topnav .mobile-toggle{display:none!important}
@media(max-width:1100px){header.topnav .nav-inner{flex-wrap:wrap!important;gap:8px 12px!important}header.topnav .nav{order:3!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:9px 0 5px!important;scrollbar-width:thin!important}header.topnav .nav a{flex-shrink:0!important}header.topnav .brand{margin-right:auto!important}}
@media(max-width:600px){header.topnav .nav-inner{padding:10px 14px!important}header.topnav .nav-watch{padding:9px 11px!important;font-size:10px!important}header.topnav .brand img{width:32px!important;height:32px!important}}
/* Sottopagine: titoli, schede e spazi omogenei */
body>main:not(#home){width:min(1180px,calc(100% - 36px));margin:0 auto;padding:32px 0 64px}
body>main.wrap{max-width:1180px!important;padding-top:32px!important}
body>main h1{font-size:clamp(29px,3.7vw,48px);line-height:1.1;margin-top:8px}
body>main .intro{max-width:820px;line-height:1.65;color:#bfcbdc}
body>main .cards,body>main .grid{gap:18px!important}
body>main .card,body>main .ri-local-news{box-shadow:0 12px 26px #0002;border-radius:15px!important}
/* Schede foto della galleria */
body>main.wrap .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}
body>main.wrap .card{background:#121d2d!important;border:1px solid #2c3c50!important;overflow:hidden}
body>main.wrap .card img{width:100%;height:235px;object-fit:cover}
body>main.wrap .card p{padding:0 16px 14px}
/* Link su home: nessuna seconda pagina news duplicata */
#programmi:has(.program-grid:empty){display:none}
