/* WordPress adaptation of the original /mnt/data/saated-ee.html design */
:root{--bg:#090b13;--bg-2:#111522;--surface:#111522;--surface-2:#171c2b;--surface-3:#1e2638;--border:#282e41;--text:#f6f7fc;--muted:#9da6bc;--subtle:#77829d;--accent:#7ef1d0;--accent-dark:#07151c;--purple:#a68cff;--mint:#7ef1d0;--pink:#f7a5d6;--max:1440px}
body{background:#090b13;color:#f6f7fc;padding-bottom:95px}body:before{display:none}.site-content{min-height:55vh}.topline{position:relative;z-index:510}.container{width:min(1440px,calc(100% - 80px));margin:auto}.site-shell{min-height:100vh}.header{z-index:520}.header-inner{gap:34px}.ref-nav{list-style:none;display:flex;gap:24px;align-items:center;margin:0;padding:0}.ref-nav li{margin:0}.ref-nav a{color:#b5bed1;font-size:13px;font-weight:700}.ref-nav a:hover,.ref-nav .current-menu-item>a{color:#fff}.search{display:block}.search input{width:100%;padding:13px 18px 13px 42px}.search i{top:15px;left:17px}.head-actions .btn{white-space:nowrap}.mobile-menu[hidden]{display:none!important}.mobile-menu .ref-nav,.mobile-menu .ref-nav-mobile{display:flex;flex-direction:column;gap:17px;list-style:none;padding:0;margin:0}.mobile-menu .ref-nav a,.mobile-menu .ref-nav-mobile a{color:#ddd;font-size:14px;font-weight:700}.mobile-menu>a{color:#7ef1d0;font-weight:800}
.ref-home{padding-bottom:35px}.ref-home .hero-main{border:0;min-height:420px}.ref-home .hero-art{inset:auto;right:-38px;top:25px;width:50%;height:365px;transform:rotate(10deg);opacity:1;display:grid;place-items:center;pointer-events:none}.ref-home .hero-art i{font-size:116px}.ref-home .hero-side{display:grid;grid-template-rows:1fr 1fr;gap:19px;min-height:0;background:none;padding:0;border:0;border-radius:0}.ref-home .ref-hero-copy{position:relative;z-index:2;max-width:610px}

.hero{
    margin-top: 20px;
}

.ref-home .hero-main{align-items:center;padding:54px 5%}.ref-home .hero h1{font-family:Manrope,sans-serif;font-size:clamp(37px,4vw,62px);letter-spacing:-2.5px;line-height:1.1;margin:20px 0;max-width:580px}.ref-home .hero h1 span{color:#c3b5ff}.ref-home .hero p{max-width:440px;color:#c4c9d7}.ref-home .hero .btn{border-radius:25px}.ref-home .feature{display:flex;flex-direction:column;justify-content:flex-end;min-height:200px;padding:30px}.ref-home .feature:hover{transform:translateY(-2px);color:white}.ref-home .feature .eyebrow{font-size:10px}.ref-home .feature h3{margin:10px 0 5px;line-height:1.2}.ref-home .feature p{margin:0}.ref-home .section{margin-top:45px}.ref-home .section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.ref-home .section h2{font:800 25px/1.2 Manrope,sans-serif;letter-spacing:-.9px;margin:6px 0 0}.ref-home .categories{display:flex;gap:10px;flex-wrap:wrap}.ref-home .chip{display:inline-block;transition:.2s}.ref-home .grid-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.ref-home .media-card{min-width:0;position:relative}.ref-home .media-cover-wrap{position:relative}.ref-home .cover{width:100%;aspect-ratio:1;position:relative;border-radius:16px;display:flex;flex-direction:column;justify-content:end;overflow:hidden;padding:17px;background:linear-gradient(145deg,var(--c1),var(--c2));isolation:isolate}.ref-home .cover:after{z-index:1;pointer-events:none}.ref-home .cover-copy{position:relative;z-index:2}.ref-home .cover.has-photo:after{background:linear-gradient(transparent 15%,rgba(0,0,0,.87))}.ref-home .cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .35s}.ref-home .media-card:hover .cover-photo{transform:scale(1.06)}.ref-home .cover-symbol{z-index:2}.ref-home .cover h3{font-weight:800;line-height:1.12;word-wrap:break-word;overflow-wrap:anywhere}.ref-home .media-card .play-cover{position:absolute;z-index:8;opacity:0;transform:translateY(8px);border:0;cursor:pointer;font-size:14px}.ref-home .media-card:hover .play-cover,.ref-home .media-card:focus-within .play-cover{opacity:1;transform:none}.ref-home .media-name{margin:12px 0 6px;line-height:1.5}.ref-home .media-meta{font-size:11px}.ref-home .book .cover{aspect-ratio:3/4;border-radius:7px 13px 13px 7px}.ref-home .book .cover h3{font-size:18px}.ref-home .live-dot{display:inline-block;background:#ff647f;box-shadow:0 0 0 5px #ff647f28;width:8px;height:8px;border-radius:50%;color:transparent;vertical-align:middle}.ref-home .live-label .live-dot{width:6px;height:6px;box-shadow:none;margin-right:4px}.ref-home .radio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.ref-home .radio-card{border:1px solid #30364a;border-radius:16px;min-height:0;padding:21px;display:flex;flex-direction:column;gap:17px}.ref-home .radio-top{display:flex;gap:15px;align-items:center}.ref-home .radio-logo{display:grid;place-items:center;min-width:64px;width:64px;height:64px;flex:none;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,var(--r1),var(--r2));color:#fff;font-size:25px}.ref-home .radio-logo img{width:100%;height:100%;object-fit:cover}.ref-home .radio-name{font-size:16px;font-weight:800;color:white}.ref-home .radio-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #2b3141;padding-top:15px;gap:8px}.ref-home .radio-button{display:inline-flex;align-items:center;gap:7px;border-radius:25px;white-space:nowrap}.ref-home .ad{margin-top:38px}.ref-home .ad-top{margin:24px 0 27px;height:91px}.ref-home .ad-inline{min-height:105px}.ref-home .ad .se-ad-slot{margin:0;width:100%;border:0;background:transparent;min-height:0}.ref-home .ad .se-ad-widget{width:100%}.ref-home .ad .se-ad-label{font-size:10px;color:#8590a9;margin-bottom:4px}.ref-home .ref-empty{border:1px dashed #3c4359;background:#111522;padding:36px 25px;border-radius:14px;color:#9da6bc;font-size:13px}.ref-home .wide-promo{margin-top:43px}.ref-home .wide-promo h2{letter-spacing:-1px}.ref-home .wide-promo .btn{border-radius:30px}
.footer .footer-inner{display:flex}.footer-links{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.footer .brand{font:800 24px Manrope,sans-serif}.ref-footer-menu{list-style:none;display:flex;gap:22px;margin:0;padding:0}.ref-footer-menu a{color:#99a4b9;font-size:12px}.footer{margin-top:55px}.player.audio-dock{display:grid;grid-template-columns:1fr 1.4fr 1fr;position:fixed;left:0;right:0;bottom:0;top:auto;height:88px;z-index:999;background:#1a1e2bfa;padding:12px max(32px,calc((100vw - 1440px)/2));gap:20px;border-radius:0}.player .playing-art{width:55px;height:55px;border-radius:9px;object-fit:cover}.player .dock-meta{width:auto;min-width:0;flex:1;max-width:none}.player .dock-meta>span{color:#ff889d}.player .dock-transport{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:none;min-width:0;width:auto;gap:9px}.player .dock-actions{display:flex;gap:22px;align-items:center}.player .dock-actions .dock-play{width:33px;height:33px;border:0;background:#fff;color:#101521;border-radius:100%;display:grid;place-items:center;padding:0}.player .dock-actions .dock-play svg{width:20px;height:20px}.player .dock-actions .dock-skip{background:transparent;border:0;color:#c5ccdc;width:auto;height:auto}.player .dock-progress{display:flex;gap:11px;align-items:center;width:min(520px,100%);font-size:10px}.player .dock-progress input{flex:1}.player .dock-extra{display:flex;align-items:center;gap:10px;justify-content:end;margin:0;max-width:none}.player .dock-extra select{background:#242b3c;border:1px solid #3d4658;color:#bac5d7;border-radius:7px;padding:6px;font-size:11px}.player .dock-extra .volume{width:90px}.player .dock-extra .icon-button{width:22px}.audio-dock[hidden]{display:none!important}.player .dock-live[hidden]{display:none!important}.player .dock-live{display:inline-block}.footer .brand span{color:#7ef1d0}
/* Standard inner pages adopt the original palette and rounded controls. */
.page-layout{max-width:1440px}.page-heading h1,.detail-info h1{color:#f7f7fd}.show-card,.episode-row,.sidebar-panel,.standard-page,.detail-hero,.category-tile{border-color:#30364a}.page-layout .btn,.page-layout .chip{border-radius:25px}.page-layout .catalog-grid .show-card{min-width:0}
@media(max-width:1150px){.container{width:min(100% - 44px,1440px)}.header-inner{gap:20px}.ref-nav{gap:12px}.ref-nav a{font-size:11px}.ref-home .grid-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ref-home .radio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-home .hero{grid-template-columns:1.5fr 1fr}.ref-home .hero-main{padding:34px;min-height:390px}.player.audio-dock{padding:12px 22px}}
@media(max-width:780px){.header-inner{height:69px;gap:14px}.header .brand{font-size:26px}.header .nav{display:none}.header .mobile-toggle{display:block}.header .head-actions>.btn{display:none}.header .mobile-menu:not([hidden]){display:flex;flex-direction:column;gap:18px;top:69px;left:0;right:0;position:absolute;background:#151a28;padding:20px 23px;border-bottom:1px solid #30384c}.ref-home .hero{grid-template-columns:1fr}.ref-home .hero-main{min-height:370px}.ref-home .hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.ref-home .feature{min-height:165px;padding:21px}.ref-home .feature h3{font-size:18px}.ref-home .section{margin-top:36px}.ref-home .grid-cards{gap:14px}.player.audio-dock{grid-template-columns:1fr auto;height:75px;gap:10px;padding:10px 19px}.player .dock-transport{align-items:end;flex:0 0 auto}.player .dock-actions .dock-skip,.player .dock-progress,.player .dock-extra{display:none}.player .playing-art{height:47px;width:47px}.footer-inner{flex-direction:column;text-align:center}}
@media(max-width:540px){.container{width:calc(100% - 30px)}.header-inner{gap:9px}.header .brand{font-size:22px}.header .search{min-width:0;flex:1;max-width:none}.header .search input{padding:10px 8px 10px 29px;font-size:12px}.header .search i{left:11px;top:12px}.ref-home .ad-top{height:65px;margin:13px 0 17px}.ref-home .hero-main{padding:26px;min-height:365px;align-items:center}.ref-home .hero h1{font-size:38px}.ref-home .hero p{font-size:12px}.ref-home .hero-art{right:-90px;width:65%;opacity:.55}.ref-home .hero-side{gap:10px}.ref-home .feature{min-height:150px;padding:16px}.ref-home .feature h3{font-size:16px}.ref-home .feature p{font-size:10px}.ref-home .section h2{font-size:21px}.ref-home .grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-home .cover h3{font-size:21px}.ref-home .radio-grid{grid-template-columns:1fr}.ref-home .radio-card{padding:17px}.ref-home .categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.ref-home .chip{white-space:nowrap}.ref-home .media-card .play-cover{opacity:1;transform:none;width:35px;height:35px}.ref-home .wide-promo{display:block}.ref-home .wide-promo .btn{margin-top:18px}.ref-home .book .cover h3{font-size:18px}.player .playing-text{max-width:calc(100vw - 145px)}.player .dock-meta{width:auto}.footer-links{justify-content:center}}

/* 2.1: Functional editorial footer and graceful dynamic navigation. */
.footer .footer-inner {align-items:start; gap:50px}
.footer .footer-links {display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:38px; flex:1;max-width:780px;align-items:start}
.footer .footer-group {display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer .footer-group strong {color:#f2f3fc;font:800 12px Manrope,sans-serif;letter-spacing:.03em;margin-bottom:3px}
.footer .footer-group>a,.footer .ref-footer-menu a{color:#aeb9cd;font-size:12px;line-height:1.5;transition:color .15s}
.footer .footer-group>a:hover,.footer .ref-footer-menu a:hover{color:#7ef1d0}
.footer .ref-footer-menu{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;align-items:flex-start}
body.se-pjax-loading .site-content{opacity:.65;transition:opacity .18s ease}
body.se-pjax-loading{cursor:progress}
body.se-pjax-loading a{cursor:progress}
#main-content:focus{outline:none}
@media (max-width:900px){.footer .footer-inner{flex-direction:column;gap:30px}.footer .footer-links{width:100%;max-width:none}}
@media (max-width:540px){.footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.footer .footer-group{gap:10px}}
@media (prefers-reduced-motion:reduce){body.se-pjax-loading .site-content{transition:none}}

/* 2.2: Resume playing after a real page reload (where browser policies permit). */
.se-autoplay-setting{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap;cursor:pointer;color:#c9d2df}
.se-autoplay-setting input{width:15px;height:15px;margin:0;accent-color:#7ef1d0;cursor:pointer}
.se-autoplay-prompt[hidden]{display:none!important}
.se-autoplay-prompt{position:fixed;z-index:1005;bottom:97px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;display:flex;gap:16px;align-items:center;justify-content:center;padding:12px 16px;border:1px solid #6b61aa;border-radius:14px;background:#1c1b36;color:#fff;box-shadow:0 12px 48px #0009;font-size:13px}
.se-autoplay-prompt button{background:#7ef1d0;color:#08151b;border:0;padding:11px 15px;font-weight:800;border-radius:9px;white-space:nowrap;cursor:pointer}
.se-autoplay-prompt button:hover,.se-autoplay-prompt button:focus-visible{background:#adffe9}
@media(max-width:780px){.se-autoplay-prompt{bottom:86px;left:16px;right:16px;transform:none;width:auto;flex-wrap:wrap;text-align:center;gap:10px}}
@media(max-width:420px){.se-autoplay-prompt{font-size:12px;padding:10px}.se-autoplay-prompt button{padding:9px 11px}}

/* 2.4 - peida täiesti tühjad sisualad ja laienda hero, kui reklaami/raadio/raamatu sisu puudub. */
.ref-home .hero.hero--wide{grid-template-columns:minmax(0,1fr)}
.ref-home .hero.hero--wide .hero-main{width:100%}
.ref-home .hero-side.hero-side--single{grid-template-rows:1fr}
.se-chapter-public{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border-bottom:1px solid rgba(140,140,160,.22)}
.se-chapter-duration,.se-chapter-description{color:#9ea8ba;font-size:12px}
.se-chapter-description{margin:5px 0 0}
@media(max-width:550px){.se-chapter-public{flex-wrap:wrap}.se-chapter-public .btn{margin-left:auto}}
