/*
Theme Name: Radio Glow
Author: Radio Glow Studio
Description: Vibrant FM radio theme with bundled artwork, adjustable logo, Customizer, live player and editable Elementor starter page.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radio-glow
Tags: custom-logo, custom-colors, custom-menu, featured-images, full-width-template, entertainment
*/
:root{--rg-bg:#ffffff;--rg-panel:#ffffff;--rg-text:#19283b;--rg-muted:#59677a;--rg-accent:#f33449;--rg-mint:#217866;--rg-logo:150px;--rg-width:94%;--rg-max-width:100%;--rg-radius:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rg-bg);color:var(--rg-text);font-family:Arial,"Noto Sans",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,.rg-button{cursor:pointer}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--rg-mint);outline-offset:5px}.rg-wrap{width:var(--rg-width,94%);max-width:min(var(--rg-max-width,100%),calc(100% - 48px));margin-left:auto;margin-right:auto}.rg-top{border-bottom:1px solid #ffffff18;font-size:12px;letter-spacing:1px;padding:9px 0;color:var(--rg-muted)}.rg-top .rg-wrap{display:flex;justify-content:space-between;gap:15px}.rg-header{background:var(--rg-bg);position:relative;z-index:20}.rg-header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:14px 0}.rg-brand{display:flex;align-items:center;gap:14px}.rg-brand .custom-logo,.rg-brand .rg-demo-logo{width:var(--rg-logo);height:var(--rg-logo);object-fit:contain;display:block}.rg-brand-name{font-size:22px;font-weight:800;line-height:1.15}.rg-brand-name small{display:block;font-size:11px;color:var(--rg-muted);font-weight:400;letter-spacing:2px;margin-top:8px}.rg-nav ul{display:flex;align-items:center;gap:30px;list-style:none;padding:0;margin:0}.rg-nav a{font-size:14px}.rg-nav a:hover{color:var(--rg-accent)}.rg-nav li{position:relative}.rg-nav .sub-menu{display:none;position:absolute;top:100%;left:0;background:var(--rg-panel);min-width:210px;padding:16px;z-index:50}.rg-nav li:hover>.sub-menu,.rg-nav li:focus-within>.sub-menu{display:grid;gap:12px}.rg-nav .sub-menu .sub-menu{left:100%;top:0}.rg-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--rg-accent);color:#101524;border:0;border-radius:100px;padding:15px 25px;font-weight:700;font-size:14px}.rg-button.secondary{background:transparent;border:1px solid #ffffff40;color:var(--rg-text)}.rg-menu-toggle{display:none;color:var(--rg-text);background:none;border:1px solid #ffffff40;border-radius:8px;padding:8px 13px}.rg-kicker{font-size:12px;letter-spacing:2.5px;text-transform:uppercase;font-weight:700;color:var(--rg-mint);margin:0 0 22px}.rg-hero{padding:40px 0 48px}.rg-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:50px}.rg-hero h1{font-size:clamp(42px,5.7vw,78px);line-height:1.04;letter-spacing:-3.5px;margin:0 0 26px;font-weight:800;white-space:pre-line}.rg-lead{color:var(--rg-muted);font-size:17px;max-width:475px}.rg-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:30px}.rg-hero-art{width:100%;border-radius:var(--rg-radius);display:block}.rg-fine{font-size:12px;color:var(--rg-muted);margin-top:24px}.rg-section{padding:48px 0}.rg-section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:26px}.rg-section h2{font-size:36px;line-height:1.15;letter-spacing:-1px;margin:0}.rg-section .rg-kicker{margin-bottom:12px}.rg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.rg-card{background:var(--rg-panel);border-radius:var(--rg-radius);overflow:hidden}.rg-card img{display:block;aspect-ratio:1.65;width:100%;object-fit:cover}.rg-card-body{padding:22px}.rg-card small{color:var(--rg-mint);font-size:11px;letter-spacing:1px}.rg-card h3{font-size:23px;margin:9px 0 5px;line-height:1.25}.rg-card p{margin:0;color:var(--rg-muted);font-size:14px}.rg-about{background:var(--rg-panel);border-radius:var(--rg-radius);padding:36px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.rg-about img{width:100%;border-radius:16px}.rg-about p{color:var(--rg-muted)}.rg-player{border:1px solid #ffffff25;background:var(--rg-panel);border-radius:var(--rg-radius);padding:22px 26px;display:flex;align-items:center;gap:22px}.rg-player-label{flex:1;min-width:0}.rg-player-label strong{display:block;font-size:19px}.rg-player-label small{color:var(--rg-muted)}.rg-onair{font-size:10px;letter-spacing:2px;color:var(--rg-mint)}.rg-play{border:0;border-radius:50%;width:52px;height:52px;background:var(--rg-accent);color:#101524;flex-shrink:0;font-size:21px}.rg-player input{width:95px;accent-color:var(--rg-accent)}.rg-player [role=status]{font-size:12px;color:var(--rg-muted);max-width:260px}.rg-footer{border-top:1px solid #ffffff20;margin-top:50px;padding:40px 0}.rg-footer-grid{display:flex;justify-content:space-between;gap:28px;flex-wrap:wrap}.rg-footer h3{margin:0 0 12px}.rg-footer p{color:var(--rg-muted);max-width:480px}.rg-footer ul{display:flex;list-style:none;gap:20px;padding:0;flex-wrap:wrap}.rg-copyright{font-size:12px;color:var(--rg-muted);border-top:1px solid #ffffff15;padding-top:20px;margin-top:25px}.rg-content{padding:45px 0;min-height:45vh}.rg-content a:not(.rg-button){text-decoration:underline}.rg-content article{margin-bottom:40px}.rg-content input,.rg-content textarea{max-width:100%;padding:10px}.rg-content table{border-collapse:collapse;width:100%}.rg-content td,.rg-content th{border:1px solid #ffffff40;padding:10px}.rg-content pre{overflow:auto}.rg-post-image{max-height:450px;object-fit:cover}.rg-full{width:100%}.screen-reader-text,.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:15px;top:15px;background:var(--rg-accent);color:#101524;z-index:100;padding:12px}.alignwide{max-width:var(--rg-width)}.alignfull{width:100%}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px}.sticky{border-left:3px solid var(--rg-accent);padding-left:20px}.bypostauthor{border-left:2px solid var(--rg-mint)}.rg-footer .widget{max-width:400px}.rg-section .rg-wrap>p{color:var(--rg-muted)}
@media(max-width:1000px){.rg-header-inner{flex-wrap:wrap;gap:16px}.rg-menu-toggle{display:block}.rg-nav{display:none;width:100%;order:4}.rg-nav.is-open{display:block}.rg-nav ul{display:block}.rg-nav li a{display:block;padding:10px}.rg-nav .sub-menu,.rg-nav .sub-menu .sub-menu{display:block;position:static;padding:0 0 0 18px;background:transparent}.rg-header-inner>.rg-button{margin-left:auto}.rg-hero-grid{gap:25px}.rg-hero h1{font-size:55px}.rg-brand-name{font-size:18px}}
@media(max-width:640px){.rg-wrap{width:calc(100% - 32px)}.rg-top .rg-wrap span:last-child{display:none}.rg-brand-name{display:none}.rg-header-inner>.rg-button{padding:12px 18px}.rg-hero{padding-top:25px}.rg-hero-grid,.rg-about{grid-template-columns:1fr}.rg-hero h1{font-size:48px;letter-spacing:-2px}.rg-hero-art{max-height:390px;object-fit:cover}.rg-cards{grid-template-columns:1fr}.rg-section{padding:30px 0}.rg-section h2{font-size:29px}.rg-about{padding:22px;gap:25px}.rg-player{flex-wrap:wrap;padding:18px;gap:14px}.rg-player [role=status]{width:100%;max-width:none}.rg-player input{width:75px}.rg-section-head{align-items:start}.rg-brand .custom-logo,.rg-brand .rg-demo-logo{max-width:42vw;max-height:42vw}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Light FM edition */
.rg-top{border-color:#19283b14;background:var(--rg-panel)}.rg-header{border-bottom:1px solid #19283b12}.rg-button.secondary,.rg-menu-toggle{border-color:#19283b35}.rg-nav .sub-menu{box-shadow:0 12px 25px #19283b15}.rg-player{border-color:#19283b18;box-shadow:0 12px 35px #19283b07}.rg-card{border:1px solid #19283b12;box-shadow:0 14px 30px #19283b06}.rg-about{border:1px solid #19283b10;background:var(--rg-panel)}.rg-footer,.rg-copyright{border-color:#19283b20}.rg-hero{padding:34px 0 32px;background:radial-gradient(ellipse at 18% 40%,#ffbd8f20,transparent 60%)}.rg-hero h1{font-size:clamp(39px,4.6vw,66px);letter-spacing:-2.6px}.rg-hero-art{aspect-ratio:1;object-fit:cover}.rg-hero-grid{min-height:570px}.rg-slider [hidden]{display:none!important}.rg-slide{animation:rg-appear .35s ease}.rg-slide-controls{display:flex;align-items:center;gap:12px;margin-top:18px}.rg-slide-controls button{border:1px solid #19283b30;border-radius:100px;background:var(--rg-panel);color:var(--rg-text);padding:8px 15px;min-width:40px;min-height:40px}.rg-slide-controls button[aria-pressed=true]{background:var(--rg-accent);color:#19283b}.rg-slider-pager{display:flex;gap:8px}.rg-slider-pager button{padding:0;min-width:12px;width:12px;height:12px;min-height:12px}.rg-slide-status{font-size:12px;color:var(--rg-muted);margin-left:4px}.rg-slide-controls .rg-rotation{margin-left:auto;font-size:12px}.rg-onair{display:inline-block;font-weight:700;letter-spacing:1.5px}.rg-header-inner>.rg-button{white-space:nowrap}.rg-content td,.rg-content th{border-color:#19283b30}
@keyframes rg-appear{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.rg-hero h1{font-size:48px}.rg-hero-grid{min-height:0}.rg-nav .sub-menu{box-shadow:none}}
@media(max-width:640px){.rg-hero h1{font-size:42px;letter-spacing:-1.4px}.rg-hero-grid{gap:24px}.rg-hero-art{max-height:none}.rg-slide-controls{gap:8px}.rg-slide-controls .rg-rotation{padding:8px 10px}.rg-section-head{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.rg-slide{animation:none}}
.rg-hero .rg-hero-title{font-size:clamp(39px,4.6vw,66px);line-height:1.04;letter-spacing:-2.6px;margin:0 0 26px;font-weight:800;white-space:pre-line}
@media(max-width:1000px){.rg-hero .rg-hero-title{font-size:48px}}
@media(max-width:640px){.rg-hero .rg-hero-title{font-size:42px;letter-spacing:-1.4px}}

/* Static, editable slide preview: no timers or DOM observers in Elementor. */
.rg-editor-preview .rg-slide[hidden]{display:block!important}.rg-editor-preview .rg-slide+.rg-slide{margin-top:28px;padding-top:28px;border-top:1px dashed #19283b30}.rg-editor-preview .rg-slide-controls{display:none}
/* Programme-thumbnail homepage, inspired by the supplied reference. */
.rg-reference{padding:44px 0 55px;background:linear-gradient(115deg,#eff4f9,#f8f4f6);min-height:65vh}.rg-station-layout{display:grid;grid-template-columns:minmax(260px,clamp(280px,30%,420px)) minmax(0,1fr);gap:36px;align-items:start}.rg-station-title{display:flex;align-items:start;gap:14px}.rg-live-pill{background:var(--rg-accent);color:white;box-shadow:0 5px 14px #f3344940;padding:8px 12px;border-radius:9px;white-space:nowrap;font-size:13px;font-weight:800}.rg-station-title h1{font-size:23px;line-height:1.4;margin:0;color:var(--rg-text)}.rg-station-title p{font-size:12px;color:var(--rg-muted);margin:2px 0}.rg-station-intro{font-size:16px;margin:20px 0;color:var(--rg-text)}.rg-station-features{list-style:none;padding:0;margin:20px 0;font-size:13px;color:var(--rg-text)}.rg-station-features li{display:flex;gap:10px;margin:9px 0}.rg-station-features span{color:var(--rg-accent)}.rg-listen-outline{background:white;border:1px solid var(--rg-text);color:var(--rg-text);border-radius:99px;padding:8px 24px;font-size:12px;font-weight:800;box-shadow:0 3px 8px #19283b10}.rg-poster-player{margin-top:26px;background:var(--rg-panel);border:1px solid #dfe3eb;border-radius:15px;overflow:hidden;box-shadow:0 10px 25px #19283b0a}.rg-poster-art{position:relative}.rg-poster-art img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover}.rg-poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;width:58px;height:58px;border-radius:50%;background:var(--rg-accent);color:white;box-shadow:0 6px 18px #1115;font-size:22px}.rg-mini-player{padding:12px 16px 4px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--rg-muted);font-size:10px}.rg-mini-player label{display:flex;align-items:center;gap:10px;flex:1}.rg-mini-player input{width:100%;min-width:0;accent-color:var(--rg-accent)}.rg-mini-status{font-size:10px;color:var(--rg-muted);padding:3px 16px 9px}.rg-program-board{min-width:0}.rg-featured-row{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:18px}.rg-featured-art{overflow:hidden;border-radius:14px;box-shadow:0 7px 22px #19283b0b}.rg-featured-art img{display:block;width:100%;aspect-ratio:3.15;object-fit:cover}.rg-featured-info{background:var(--rg-panel);border-radius:14px;padding:24px;border:1px solid #e2e6ec;display:flex;flex-direction:column;justify-content:center;box-shadow:0 7px 22px #19283b06}.rg-featured-info h2,.rg-program-card h2{font-size:16px;margin:0 0 4px;line-height:1.35}.rg-featured-info p,.rg-featured-info small,.rg-program-card p{font-size:12px;color:var(--rg-muted);margin:0}.rg-program-row{display:grid;grid-template-columns:1.2fr .88fr 1.2fr;gap:18px}.rg-program-card,.rg-rj-card{background:var(--rg-panel);border-radius:14px;overflow:hidden;box-shadow:0 7px 22px #19283b09;min-height:300px}.rg-program-card{border:1px solid #e2e6ec}.rg-program-card img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover}.rg-program-card>div{padding:16px}.rg-rj-card{position:relative}.rg-rj-card img{width:100%;height:100%;position:absolute;object-fit:cover}.rg-rj-card h2{position:absolute;bottom:15px;left:12px;right:12px;text-align:center;font-size:11px;color:white;background:#142233ad;border-radius:7px;padding:5px;margin:0}.rg-program-link:hover{text-decoration:underline}.rg-reference+.rg-section{padding-top:24px}
@media(max-width:1000px){.rg-station-layout{grid-template-columns:1fr;gap:28px}.rg-station-sidebar{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 25px}.rg-station-title,.rg-station-intro,.rg-station-features,.rg-listen-outline{grid-column:1}.rg-poster-player{grid-column:2;grid-row:1/5;margin-top:0;align-self:start}.rg-listen-outline{justify-self:start}.rg-station-features,.rg-station-intro{margin:4px 0}.rg-featured-art img{height:100%}}
@media(max-width:600px){.rg-reference{padding:26px 0}.rg-station-sidebar{display:block}.rg-poster-player{margin-top:20px}.rg-station-title h1{font-size:19px}.rg-station-intro,.rg-station-features{margin:16px 0}.rg-featured-row{grid-template-columns:1fr;gap:0}.rg-featured-art{border-radius:12px 12px 0 0}.rg-featured-info{border-radius:0 0 12px 12px;padding:18px}.rg-program-row{grid-template-columns:1fr 1fr;gap:14px}.rg-rj-card{grid-column:2;grid-row:1/3;min-height:440px}.rg-program-card{min-height:0}.rg-program-card:last-child{grid-column:1}.rg-program-card h2{font-size:14px}}
