/*
Theme Name: Relaxing Sceneries
Theme URI: https://relaxing.cloud
Author: iStudios Media
Description: Calm places, recorded as they are. The public home of the Relaxing Sceneries channel — video library, podcast and quiet reads.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: relaxing-sceneries
*/
:root{
  --teal:#437792;--lagoon:#5EA9BD;--sky:#9ACDDF;--mist:#CBE1EF;--blush:#F3BEB3;--shell:#FFDDD2;--cream:#FDF8E2;--sun:#FFF9BB;--ink:#1E3A47;
  --bg:#FBFDFE;--bg2:#F1F7FA;--card:#FFFFFF;--line:#DCE9F0;--text:#1E3A47;--muted:#5C7484;--radius:18px;--max:1180px;
  --font:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-weight:300;color:var(--text);background:var(--bg);line-height:1.6;font-size:16px}
img{max-width:100%;height:auto;display:block}a{color:var(--teal);text-decoration:none}a:hover{color:var(--ink)}
h1,h2,h3,h4{font-weight:400;line-height:1.2;margin:0 0 .5em;letter-spacing:-.01em}h1{font-size:clamp(28px,4vw,44px)}h2{font-size:clamp(22px,2.6vw,30px)}h3{font-size:18px;font-weight:500}
p{margin:0 0 1em}b,strong{font-weight:500}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px}.skip:focus{left:10px;top:10px;background:#fff;padding:8px;z-index:99}
@font-face{font-family:'Billy Holiday';src:url('fonts/BillyHoliday.otf') format('opentype');font-display:swap}
@font-face{font-family:'Billy Ohio';src:url('fonts/BillyOhio.woff2') format('woff2'),url('fonts/BillyOhio.ttf') format('truetype');font-display:swap}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,253,254,.86);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}.brand img{height:34px;width:auto}
.wordmark{display:flex;flex-direction:column;line-height:1}.wordmark .w1{font-family:'Billy Holiday',cursive;font-size:22px;color:var(--teal)}.wordmark .w2{font-family:'Billy Ohio',cursive;font-size:19px;color:var(--ink);margin-top:-2px}
.nav{display:flex;gap:6px;align-items:center}.nav a{padding:8px 12px;border-radius:999px;color:var(--ink);font-weight:400;font-size:15px}.nav a:hover,.nav a.on{background:var(--mist)}
.nav .cta{background:var(--teal);color:#fff}.nav .cta:hover{background:var(--ink);color:#fff}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:8px;color:var(--ink)}
@media(max-width:820px){.menu-btn{display:inline-flex}.nav{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;flex-direction:column;padding:12px 20px 18px;border-bottom:1px solid var(--line)}.nav.open{display:flex}.nav a{width:100%}}

/* hero */
.hero{padding:34px 0 10px}.hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:34px;align-items:center}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}}
.eyebrow{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.hero h1{margin-bottom:12px}.hero .lead{font-size:18px;color:var(--muted);max-width:52ch}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.chip{padding:7px 14px;border-radius:999px;background:var(--mist);color:var(--ink);font-size:14px}.chip:hover{background:var(--sky)}
.chip.blush{background:var(--shell)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;background:var(--teal);color:#fff;font-weight:400;border:0;cursor:pointer;font-family:inherit;font-size:15px}.btn:hover{background:var(--ink);color:#fff}
.btn.sec{background:var(--bg2);color:var(--ink);border:1px solid var(--line)}.btn.sec:hover{background:var(--mist)}
.btn svg{width:18px;height:18px}

/* video facade */
.player{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:var(--ink);box-shadow:0 18px 50px rgba(30,58,71,.16)}
.player.vertical{aspect-ratio:9/16;max-height:78vh;margin:0 auto}
.player img{width:100%;height:100%;object-fit:cover;opacity:.92}.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.player .play{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(180deg,rgba(30,58,71,0) 40%,rgba(30,58,71,.55));border:0;cursor:pointer;padding:0}
.player .play span{width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 8px 30px rgba(0,0,0,.25);transition:transform .2s}.player .play:hover span{transform:scale(1.06)}
.player .play svg{width:28px;height:28px;margin-left:4px;fill:var(--teal)}
.player .badge{position:absolute;left:14px;top:14px;background:rgba(255,255,255,.9);color:var(--ink);padding:5px 10px;border-radius:999px;font-size:12px;letter-spacing:.06em;text-transform:uppercase}

/* sections */
.section{padding:44px 0}.section.alt{background:var(--bg2)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}.section-head p{color:var(--muted);margin:0}
.more{font-size:15px;white-space:nowrap}
.grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(30,58,71,.12)}
.card .thumb{position:relative;aspect-ratio:16/9;background:var(--mist);overflow:hidden}.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .dur{position:absolute;right:10px;bottom:10px;background:rgba(30,58,71,.78);color:#fff;font-size:12px;padding:3px 8px;border-radius:8px}
.card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}.card h3{margin:0;font-size:16px;line-height:1.35}.card h3 a{color:var(--ink)}
.card .meta{font-size:13px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.card .tag{color:var(--teal)}
.card.ep .thumb{aspect-ratio:1/1}
.row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,300px);gap:18px;overflow-x:auto;padding:4px 4px 14px;scroll-snap-type:x mandatory;scrollbar-width:thin}.row>*{scroll-snap-align:start}
.playlist-head{display:flex;align-items:baseline;gap:14px;margin:26px 0 12px}.playlist-head h3{font-size:20px;font-weight:400}.playlist-head span{color:var(--muted);font-size:14px}

/* single */
.single-wrap{max-width:900px;margin:0 auto;padding:30px 20px 60px}
.single-wrap .player{margin-bottom:22px}
.meta-line{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:14px;margin-bottom:14px}
.desc{white-space:pre-line;color:var(--text);max-width:70ch}.desc a{word-break:break-all}
.chapters{display:grid;gap:6px;margin:16px 0;padding:0;list-style:none}.chapters li{display:flex;gap:12px;font-size:15px}.chapters li b{font-weight:400;color:var(--teal);min-width:64px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 26px}
.audio{width:100%;margin:14px 0}audio{width:100%;accent-color:var(--teal)}
.platforms{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.platforms a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;color:var(--ink)}.platforms a:hover{background:var(--mist)}
.platforms a svg{width:16px;height:16px}
.share{font-size:14px;color:var(--muted)}
.related{margin-top:40px}

/* article */
.article{max-width:720px;margin:0 auto;padding:30px 20px 70px}.article h1{margin-bottom:8px}
.article .content{font-size:17px}.article .content h2{margin-top:1.6em}.article .content img{border-radius:14px}
.article .content blockquote{border-left:3px solid var(--sky);margin:1.4em 0;padding:.2em 1em;color:var(--muted)}
.article .lede{font-size:19px;color:var(--muted)}
.callout{background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin:28px 0;display:flex;gap:16px;align-items:center}
.callout img{width:120px;border-radius:10px;flex:none}@media(max-width:600px){.callout{flex-direction:column;align-items:start}}
.post-list{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.pagination{display:flex;gap:8px;justify-content:center;margin:34px 0}.pagination a,.pagination span{padding:8px 14px;border-radius:10px;border:1px solid var(--line)}.pagination .current{background:var(--mist)}

/* footer */
.site-footer{background:var(--ink);color:#DCE9F0;padding:44px 0 30px;margin-top:40px}
.site-footer a{color:#fff}.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:26px}
@media(max-width:820px){.site-footer .cols{grid-template-columns:1fr 1fr}}@media(max-width:520px){.site-footer .cols{grid-template-columns:1fr}}
.site-footer h4{font-weight:500;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--sky);margin-bottom:10px}
.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:6px 0;font-size:15px}
.site-footer .fine{margin-top:30px;font-size:13px;color:#9ACDDF;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.site-footer .wordmark .w1{color:var(--sky)}.site-footer .wordmark .w2{color:#fff}

/* listen page */
.listen-hero{display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:center;padding:30px 0 10px}@media(max-width:700px){.listen-hero{grid-template-columns:1fr}}
.listen-hero img{border-radius:22px;box-shadow:0 18px 50px rgba(30,58,71,.18)}
.ep-list{display:grid;gap:14px}.ep-item{display:grid;grid-template-columns:96px 1fr;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;align-items:center}
.ep-item img{width:96px;height:96px;object-fit:cover;border-radius:12px}.ep-item h3{margin:0 0 4px;font-size:16px}.ep-item .meta{font-size:13px;color:var(--muted)}
.empty{padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius)}
.notice-bar{background:var(--sun);color:var(--ink);text-align:center;padding:8px;font-size:14px}
