
/* Foxe Hybrid Premium homepage — scoped to the new front-page template */
body.home .container:has(.foxe-hybrid-home){max-width:1280px;width:calc(100% - 36px);margin:0 auto;padding:0;background:#f7f6f2;color:#17202d;box-sizing:border-box}
body.home{background:#f7f6f2}
.foxe-hybrid-home{padding:8px 0 46px}
.foxe-hybrid-home .foxe-hybrid-hero{height:clamp(320px,34vw,430px)!important;margin:14px 0 42px!important;border-radius:0!important;background:#101827;overflow:hidden}
.foxe-hybrid-home .foxe-slide{background:#101827}.foxe-hybrid-home .foxe-slide-image{width:100%;height:100%;object-fit:cover;object-position:center}
.foxe-hybrid-home .foxe-slide-shade{background:linear-gradient(90deg,rgba(5,9,17,.93) 0%,rgba(5,9,17,.55) 48%,rgba(5,9,17,.05) 100%)!important}
.foxe-hybrid-home .foxe-slide-content{left:clamp(20px,5vw,65px)!important;right:25px;bottom:clamp(52px,8vw,85px)!important;max-width:650px;z-index:2}
.foxe-hybrid-home .foxe-slide-content h2{color:#fff!important;font-size:clamp(28px,4.6vw,53px)!important;line-height:1.08;letter-spacing:-.035em;margin:12px 0}
.foxe-hybrid-home .foxe-slide-content p{color:#e2e8f0;max-width:470px;font-size:14px;line-height:1.6;margin:0 0 20px}
.foxe-hybrid-home .foxe-slide-kicker{color:#ff984c;font-size:11px;letter-spacing:.18em;font-weight:800}
.foxe-hybrid-home .foxe-slide-link{display:inline-flex!important;align-items:center;gap:8px;border-radius:50px!important;background:var(--primary-color,#f2650a)!important;color:white!important;padding:13px 22px!important;text-decoration:none;font-weight:750}
.foxe-hybrid-home .foxe-carousel-controls{bottom:18px!important}.foxe-hybrid-art-fallback{position:absolute;inset:0;background:radial-gradient(circle at 75% 35%,#503320,#101827 70%);display:grid;place-items:center;font-size:170px;color:#ffffff17}
.foxe-home-section{margin:0 0 48px}.foxe-home-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:20px}
.foxe-home-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--primary-color,#f2650a);margin-bottom:7px}
.foxe-home-section-head h2{font-size:clamp(23px,3vw,32px);line-height:1.2;letter-spacing:-.025em;margin:0 0 6px;color:#111827}
.foxe-home-section-head p{font-size:13px;color:#6b7280;margin:0}.foxe-home-section-head>a{color:var(--primary-color,#f2650a)!important;text-decoration:none;font-size:13px;font-weight:750;white-space:nowrap}
.foxe-home-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 12px;scrollbar-width:thin}
.foxe-home-scroll .foxe-home-music-card{flex:0 0 clamp(155px,18vw,205px);scroll-snap-align:start}
.foxe-home-latest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px}
.foxe-home-music-card{min-width:0}.foxe-home-cover{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#182435;border-radius:13px}
.foxe-home-cover img,.foxe-home-cover-empty{width:100%;height:100%;object-fit:cover;display:grid;place-items:center;font-size:55px;color:#ffffff6b;transition:transform .25s}
.foxe-home-cover:hover img{transform:scale(1.05)}.foxe-home-rank{position:absolute;top:10px;left:10px;background:var(--primary-color,#f2650a);color:#fff;border-radius:8px;font-size:12px;padding:5px 9px;font-weight:800}
.foxe-home-cover-play{position:absolute;right:11px;bottom:11px;background:var(--primary-color,#f2650a);color:#fff;border-radius:50%;height:35px;width:35px;display:grid;place-items:center;font-size:12px}
.foxe-home-music-card h3{font-size:15px;line-height:1.35;margin:10px 0 3px}.foxe-home-music-card h3 a{color:#151b26!important;text-decoration:none}.foxe-home-music-card p{color:#77808e;font-size:12px;margin:0}
.foxe-home-chart-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.foxe-home-chart-row{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e9e8e5;border-radius:13px;padding:12px;min-width:0}
.foxe-home-chart-number{font-size:20px;color:#8b95a4;font-weight:800;width:28px}.foxe-home-chart-cover{width:60px;height:60px;flex:0 0 60px;overflow:hidden;border-radius:9px;background:#263447}
.foxe-home-chart-cover img,.foxe-home-chart-cover span{width:100%;height:100%;object-fit:cover;display:grid;place-items:center;color:#fff}
.foxe-home-chart-info{min-width:0;flex:1}.foxe-home-chart-info h3{font-size:14px;margin:0 0 5px;line-height:1.3}.foxe-home-chart-info h3 a{color:#111827!important;text-decoration:none}.foxe-home-chart-info p{font-size:12px;color:#77808e;margin:0}
.foxe-home-chart-play{display:grid;place-items:center;flex:0 0 35px;height:35px;background:#fff2e7;color:var(--primary-color,#f2650a)!important;border-radius:50%;text-decoration:none}
.foxe-home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.foxe-home-story{background:#fff;border:1px solid #eceae5;border-radius:14px;overflow:hidden;min-width:0}.foxe-home-story-image{display:block;aspect-ratio:16/10;background:#1b2839;overflow:hidden}.foxe-home-story-image img,.foxe-home-story-image span{width:100%;height:100%;object-fit:cover;display:grid;place-items:center;color:white}
.foxe-home-story-body{padding:17px}.foxe-home-story-body>span{font-size:11px;color:#8992a1}.foxe-home-story-body h3{font-size:17px;line-height:1.3;margin:8px 0}.foxe-home-story-body h3 a{color:#131c29!important;text-decoration:none}.foxe-home-story-body p{color:#697386;font-size:13px;line-height:1.6}.foxe-home-story-body>a{color:var(--primary-color,#f2650a)!important;font-weight:750;text-decoration:none;font-size:13px}
/* Accessible responsive header menu */
.foxe-primary-nav{z-index:999}.foxe-menu-toggle{cursor:pointer}.foxe-primary-nav a:focus-visible,.foxe-hybrid-home a:focus-visible,.foxe-hybrid-home button:focus-visible{outline:3px solid #f2650a;outline-offset:3px}
@media(max-width:900px){.foxe-home-latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.foxe-home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.home .container:has(.foxe-hybrid-home){width:calc(100% - 24px)}.foxe-hybrid-home .foxe-hybrid-hero{height:340px!important}.foxe-hybrid-home .foxe-slide-shade{background:linear-gradient(0deg,#070b14ed,#070b1460 85%)!important}.foxe-hybrid-home .foxe-slide-content{bottom:62px!important;left:20px!important}.foxe-hybrid-home .foxe-slide-content p{display:none}.foxe-home-chart-list{grid-template-columns:1fr}.foxe-home-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.foxe-home-news-grid{grid-template-columns:1fr}.foxe-home-section-head{align-items:start}.foxe-primary-nav{position:absolute;top:100%;left:0;right:0;background:#101827!important;box-shadow:0 18px 25px #0003}.site-header{position:relative;z-index:50}.foxe-primary-nav .foxe-menu a{color:#fff!important}}
@media(max-width:380px){.foxe-home-chart-row{gap:8px;padding:9px}.foxe-home-chart-cover{width:50px;height:50px;flex-basis:50px}.foxe-home-chart-play{flex-basis:30px;height:30px}.foxe-home-music-card h3{font-size:13px}}
/* Existing dark mode works with new homepage cards */
.foxe-dark body.home,.foxe-dark body.home .container:has(.foxe-hybrid-home),body.foxe-dark.home,body.foxe-dark.home .container:has(.foxe-hybrid-home){background:#11151c!important;color:#f8fafc}
.foxe-dark .foxe-home-section-head h2,.foxe-dark .foxe-home-music-card h3 a,.foxe-dark .foxe-home-chart-info h3 a,.foxe-dark .foxe-home-story-body h3 a{color:#f8fafc!important}
.foxe-dark .foxe-home-chart-row,.foxe-dark .foxe-home-story{background:#1c2430;border-color:#334155}
.foxe-dark .foxe-home-section-head p,.foxe-dark .foxe-home-music-card p,.foxe-dark .foxe-home-chart-info p,.foxe-dark .foxe-home-story-body p{color:#cbd5e1}
@media(prefers-reduced-motion:reduce){.foxe-home-cover img{transition:none}}

/* Keep the Trending Now track horizontally scrollable without a visible scrollbar. */
.foxe-home-scroll{scrollbar-width:none!important;-ms-overflow-style:none!important;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.foxe-home-scroll::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}

/* Keep homepage post titles inside their cards, at most two lines. */
.foxe-hybrid-home .foxe-home-music-card,.foxe-hybrid-home .foxe-home-story,.foxe-hybrid-home .foxe-home-chart-info{min-width:0;max-width:100%;overflow-wrap:anywhere;}
.foxe-hybrid-home .foxe-home-music-card h3,.foxe-hybrid-home .foxe-home-story h3,.foxe-hybrid-home .foxe-home-chart-info h3{min-width:0;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;word-break:normal;}
.foxe-hybrid-home .foxe-home-music-card h3 a,.foxe-hybrid-home .foxe-home-story h3 a,.foxe-hybrid-home .foxe-home-chart-info h3 a{color:inherit;overflow-wrap:anywhere;}
.foxe-hybrid-home .foxe-slide-content h2{max-width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;}
