/* CMS additions on top of style.css (same visual language) */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--brown);color:#fff;padding:10px 18px;border-radius:999px;font-weight:800}
.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible{outline:3px solid #f3b8b3;outline-offset:3px;border-radius:12px}
img{max-width:100%;height:auto}
.center{text-align:center}
.muted{color:var(--muted)}
.brand-text{font-family:'Baloo 2';font-size:32px;font-weight:800;color:var(--brown2)}
.menu a.active:not(.pill){color:var(--brown2);box-shadow:inset 0 -3px 0 var(--pink)}

/* Mobile navigation */
.nav-toggle{display:none;width:48px;height:48px;border:0;border-radius:14px;background:#fff4ec;cursor:pointer;padding:12px;flex:none}
.nav-toggle span{display:block;height:3px;background:var(--brown);border-radius:3px;margin:5px 0;transition:.25s}
.nav-open .nav-toggle span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-open .nav-toggle span:nth-child(2){opacity:0}
.nav-open .nav-toggle span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
@media(max-width:760px){
  .navbar{height:auto}
  .nav-inner,.nav-inner{display:flex!important;align-items:center;padding:12px 0;flex-wrap:wrap}
  .brand{margin-bottom:0!important}
  .nav-toggle{display:block}
  .menu{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:4px;padding:12px 0 6px;font-size:18px}
  .nav-open .menu{display:flex}
  .menu a{padding:12px 14px;border-radius:14px}
  .menu a:hover{background:#fff4ec}
  .menu .pill{text-align:center;margin-top:6px;padding:12px}
}

/* Heroes */
.hero.ref-hero{min-height:0;height:auto;aspect-ratio:1779/832;background-position:center top;background-size:100% 100%;background-repeat:no-repeat;display:block;position:relative}
.hero.ref-hero:after{display:none}
@media(max-width:900px){.home-page .ref-hero,.hero.ref-hero{background-size:100% 100%;min-height:0}}
/* artwork is no longer cropped on small screens, so keep the desktop hotspot positions */
.hotspot.youtube{left:35.2%;top:49.5%;width:17.4%;height:8.8%}
.hotspot.learn{left:53.0%;top:49.5%;width:15.2%;height:8.8%}
.hero-mobile-actions{display:none}
@media(max-width:640px){.hero-mobile-actions{display:flex;gap:12px;padding:0 18px 8px;background:var(--peach)}.hero-mobile-actions .btn{flex:1 1 40%;justify-content:center;white-space:nowrap;font-size:16px;padding:11px 14px;gap:8px}}
.feature-card p{display:flex;align-items:baseline}
.feature-card .dot{flex:none}
.cms-hero{background-size:cover;background-position:center}
.cms-hero:after{background:linear-gradient(180deg,rgba(255,250,245,.55),rgba(255,250,245,.25))}
.cms-hero .lead p{margin:0 0 10px}

/* Section helpers */
.section.tight{padding:30px 0}
.section.peach-bg{background:var(--peach)}
.section.mini-hero{padding:120px 0 70px}
.title-left{text-align:left}
.eyebrow{margin:0 0 8px}
.eyebrow.center{text-align:center}
.section-intro{max-width:760px;margin:-30px auto 40px;text-align:center;color:#9b846d;font-size:21px;font-weight:700}
.grid2.single{grid-template-columns:1fr}
.grid2.single .about-text{max-width:820px}
.grid2.reverse>div:first-child{order:2}
.rounded-img{display:block;width:100%;border-radius:32px;box-shadow:var(--shadow);object-fit:cover}
.about-text.rich p{margin:0 0 18px}
.wrap.narrow,.narrow-block{max-width:860px;margin-left:auto;margin-right:auto}
.rich a{color:var(--brown2);text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:3px}
.prose{font-size:20px;color:#8f7a63;font-weight:600}
.prose h2,.prose h3,.prose h4{font-family:'Baloo 2';color:var(--brown2);line-height:1.1;margin:1.4em 0 .5em}
.prose h2{font-size:38px}.prose h3{font-size:30px}.prose h4{font-size:24px}
.prose img{border-radius:22px;margin:12px 0}
.prose blockquote{margin:24px 0;padding:18px 26px;border-left:5px solid var(--pink);background:#fff4ec;border-radius:0 18px 18px 0}
.prose iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:22px;margin:16px 0}
.prose .ql-align-center{text-align:center}.prose .ql-align-right{text-align:right}.prose .ql-align-justify{text-align:justify}
.prose pre{background:#fff4ec;padding:16px;border-radius:14px;overflow:auto}
.empty-note{text-align:center;color:var(--muted);font-weight:700;font-size:20px}

/* Cards */
.cards.cols-2{grid-template-columns:repeat(2,1fr)}
.cards.cols-4{grid-template-columns:repeat(4,1fr);gap:30px}
.card .thumb.has-img{overflow:hidden;padding:0}
.card .thumb.has-img img{width:100%;height:100%;object-fit:cover}
.cards.cols-4 .card h3{font-size:25px}.cards.cols-4 .card p{font-size:19px}
@media(max-width:1100px){.cards.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.cards.cols-2,.cards.cols-4{grid-template-columns:1fr}}

/* Buttons */
.btn{transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(139,115,86,.15)}
.subscribe-box .btn.outline{background:transparent;color:var(--brown);border:3px solid var(--brown)}
.subscribe-box.tall{min-height:560px;display:grid;place-items:center}
.subscribe-box .cta-body p{max-width:670px;margin:0 auto 32px}
.subscribe-box .actions{margin-top:0}

/* Video grid */
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.video-card{display:block;background:#fffdf9;border-radius:26px;padding:14px 14px 18px;box-shadow:var(--shadow);transition:transform .25s ease}
.video-card:hover{transform:translateY(-5px)}
.video-card-thumb{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--peach);display:grid;place-items:center}
.video-card-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-card-thumb.short img{object-fit:cover;object-position:center}
.play-badge{position:relative;width:64px;height:64px;border-radius:50%;background:rgba(255,253,249,.92);box-shadow:0 8px 20px rgba(0,0,0,.15);display:grid;place-items:center;transition:transform .25s}
.play-badge:before{content:'';border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:18px solid var(--brown);margin-left:5px}
.video-card:hover .play-badge{transform:scale(1.1)}
.video-card-thumb .tag,.video-card-thumb .duration{position:absolute;font-size:14px;font-weight:800;border-radius:999px;padding:3px 10px}
.video-card-thumb .tag{left:10px;top:10px;background:var(--pink);color:var(--brown2)}
.video-card-thumb .duration{right:10px;bottom:10px;background:rgba(60,45,30,.8);color:#fff}
.video-card h3{font-family:'Baloo 2';font-size:23px;line-height:1.15;margin:14px 6px 4px;color:var(--brown2)}
.video-card .meta{margin:0 6px;font-size:15px;font-weight:700;color:var(--muted)}
.filter-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:-20px 0 36px}
.filter-pills a{padding:8px 18px;border-radius:999px;border:2px solid var(--line);font-weight:800;font-size:16px;background:#fffdf9}
.filter-pills a.active,.filter-pills a:hover{background:var(--pink);border-color:var(--pink);color:var(--brown2)}
.pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:44px}
.pagination a,.pagination span{min-width:44px;height:44px;padding:0 14px;display:grid;place-items:center;border-radius:999px;font-weight:800;background:#fffdf9;border:2px solid var(--line)}
.pagination .current{background:var(--brown);border-color:var(--brown);color:#fff}
.pagination .gap{border:0;background:none}
@media(max-width:1000px){.video-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
@media(max-width:600px){.video-grid{grid-template-columns:1fr}.video-card h3{font-size:21px}}

/* Players */
.video-frame{max-width:1000px;margin:0 auto;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:#fffdf9;border:10px solid #fffdf9}
.player{position:relative;width:100%;aspect-ratio:16/9;background:#1d1712;border-radius:20px;overflow:hidden}
.player iframe,.player video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.player.is-short{aspect-ratio:9/16;max-height:80vh;margin:auto}
.video-frame + .rich{margin-top:30px}
@media(max-width:520px){.video-frame{border-width:5px;border-radius:20px}.player{border-radius:15px}}

/* Watch page */
.watch-page{padding-top:100px}
.back-link{display:inline-block;margin-bottom:22px;font-weight:800;color:var(--brown2)}
.watch-layout .video-frame{max-width:none}
.watch-info{max-width:1000px;margin:30px auto 0}
.watch-title{font-family:'Baloo 2';font-size:46px;line-height:1.05;color:var(--brown2);margin:4px 0 16px}
.watch-layout.short{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:40px;align-items:start}
.watch-layout.short .watch-info{margin-top:0}
@media(max-width:800px){.watch-layout.short{grid-template-columns:1fr}.watch-title{font-size:34px}.watch-page{padding-top:80px}}

/* Gallery + lightbox */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.gallery-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.gallery-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.gallery-item{margin:0}
.gallery-item a{display:block;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:var(--peach)}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.gallery-item a:hover img{transform:scale(1.05)}
.gallery-item figcaption{text-align:center;font-weight:800;margin-top:10px;font-size:17px}
@media(max-width:900px){.gallery-grid,.gallery-grid.cols-4{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(max-width:480px){.gallery-grid,.gallery-grid.cols-2,.gallery-grid.cols-4{grid-template-columns:1fr}}
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(40,30,22,.92);display:flex;align-items:center;justify-content:center;padding:60px 16px}
.lightbox[hidden]{display:none}
.lightbox img{max-width:100%;max-height:100%;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.lightbox .lb-caption{position:absolute;bottom:16px;left:0;right:0;text-align:center;color:#fff;font-weight:700}
.lightbox button{position:absolute;background:rgba(255,255,255,.15);color:#fff;border:0;width:50px;height:50px;border-radius:50%;font-size:28px;cursor:pointer}
.lightbox button:hover{background:rgba(255,255,255,.3)}
.lb-close{top:14px;right:14px}.lb-prev{left:14px;top:50%;transform:translateY(-50%)}.lb-next{right:14px;top:50%;transform:translateY(-50%)}

/* Channel / showcase media */
.channel-avatar{overflow:hidden}
.channel-avatar .avatar-img{width:100%;height:100%;object-fit:cover}
.showcase-play{overflow:hidden}
.showcase-play.has-img img{width:100%;height:100%;object-fit:cover}
.channel-copy .rich p,.showcase-copy .rich p{margin:8px 0 20px}
.channel-home-strip .rich p{margin:4px 0}

/* Footer */
.social-links{display:flex;flex-wrap:wrap;gap:6px 14px}
.social-links a{display:inline-block}
@media(max-width:900px){.footer-grid{text-align:center}}

/* Logged-in helpers */
.admin-bar{position:fixed;right:14px;bottom:14px;z-index:50;display:flex;gap:8px}
.admin-bar a{background:var(--brown2);color:#fff;padding:9px 16px;border-radius:999px;font-weight:800;font-size:15px;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.draft-banner{background:#fff1c9;color:#7a5b00;text-align:center;padding:10px 16px;font-weight:800;border-radius:14px;margin:0 auto 20px;max-width:1220px}
