/* Category browsing layout */
.category-hero.category-hero-fullbleed{
  width:100vw;max-width:none;min-height:clamp(360px,58vh,680px);
  margin:0 calc(50% - 50vw) 28px;padding:clamp(48px,8vw,110px) max(22px,calc((100vw - 1180px)/2));
  box-sizing:border-box;border-radius:0;display:flex;flex-direction:column;justify-content:center;
  text-align:center;background-image:linear-gradient(90deg,rgba(13,8,19,.82),rgba(25,13,34,.62)),var(--category-hero-image,radial-gradient(ellipse at center,#392047,#100b16));
  background-size:cover;background-position:center;border-inline:0;
}
.category-hero-fullbleed h1{font-size:clamp(2.2rem,5vw,4.4rem);margin:12px 0;line-height:1.25}
.category-hero-fullbleed>p:not(.eyebrow){max-width:850px;margin:8px auto;color:rgba(255,255,255,.86);line-height:2;font-size:clamp(1rem,1.5vw,1.2rem)}
.category-hero-fullbleed .category-hero-actions{justify-content:center;margin-top:28px}
.category-search-wrap{max-width:1180px;margin:24px auto 12px;padding:0 18px;box-sizing:border-box}
.category-search-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(145px,210px) auto auto;gap:10px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.category-search-form input,.category-search-form select{min-width:0;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg,#120d18);color:var(--text,#fff);font:inherit;box-sizing:border-box}
.category-search-form button{padding:10px 18px;border:1px solid var(--accent);border-radius:12px;background:var(--accent);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.category-search-form .category-search-clear{background:transparent;color:var(--text,#fff)}
.category-voice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.category-voice-grid .voice-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;height:100%;}
.category-voice-grid .cover-link{display:block;aspect-ratio:4/3;overflow:hidden;background:#21172a;flex:none}
.category-voice-grid .cover-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.category-voice-grid .cover-link:hover img{transform:scale(1.035)}
.category-voice-grid .voice-card-body{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:10px;padding:16px;min-height:190px;box-sizing:border-box}
.category-voice-grid .voice-card-body h3{margin:0;line-height:1.5;min-height:3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.category-voice-grid .voice-card-body>p{margin:0;color:var(--muted);line-height:1.75;font-size:.9rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.7em;max-height:4.7em}
.category-voice-grid .play-button{align-self:flex-start;margin-top:auto}
.category-load-more{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:60px;padding:24px 10px;color:var(--muted);text-align:center}
.category-load-more button{display:none;padding:10px 22px;border:1px solid var(--accent);border-radius:999px;background:transparent;color:var(--text,#fff);font:inherit;cursor:pointer}
.category-load-more.has-more button{display:inline-flex}
.category-load-more.loading{opacity:.7}
.category-empty-search{grid-column:1/-1;padding:28px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px}
@media(max-width:900px){.category-voice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:650px){.category-voice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-voice-grid .voice-card-body{padding:11px;min-height:175px}.category-voice-grid .voice-card-body h3{font-size:.95rem}.category-voice-grid .voice-card-body>p{font-size:.82rem;-webkit-line-clamp:3}.category-search-form{grid-template-columns:1fr 1fr}.category-search-form input{grid-column:1/-1}.category-search-form button{width:100%;padding:10px 8px}.category-hero.category-hero-fullbleed{min-height:390px;padding:50px 20px}}
