/* The Sounds page and the pack pages (the rows and the player bar are in vendor/listn-player/listn-player.css). */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.snd-hero { padding: 56px 0 28px; }
.snd-hero h1 { font-size: clamp(46px, 6.4vw, 88px); margin-bottom: 14px; }
.snd-hero .lead { margin-bottom: 30px; }

.snd-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.snd-search input, .snd-search select { border-radius: 0; min-height: 52px; }
.snd-q { position: relative; flex: 1 1 360px; display: block; }
.snd-q svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: var(--text-3); pointer-events: none; }
.snd-q input { width: 100%; padding-left: 46px; font-size: 16.5px; }
.snd-search select { flex: 0 1 170px; }
.snd-bpm { display: flex; gap: 2px; flex: 0 1 220px; }
.snd-bpm input { width: 50%; min-width: 0; }
.snd-search .btn { border-radius: 0; min-height: 52px; }

.snd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.snd-tags a { padding: 6px 12px; background: var(--s3); color: var(--text-2); font-size: 14px; }
.snd-tags a:hover { background: var(--s4); color: var(--text); text-decoration: none; }
.snd-tags a.on { background: var(--teal); color: var(--ink); font-weight: 600; }

.snd-h2 { font-size: 28px; margin: 0 0 18px; letter-spacing: -0.02em; }
.snd-packs-sec { padding: 28px 0 8px; }
.snd-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.snd-pack { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.snd-pack:hover { text-decoration: none; }
.snd-pack-art { display: block; aspect-ratio: 1; background: var(--s3) center / cover no-repeat; margin-bottom: 8px; transition: transform 0.18s, filter 0.18s; position: relative; }
.snd-pack:hover .snd-pack-art { filter: brightness(1.12); transform: translateY(-2px); }
.snd-pack b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.snd-pack span:last-child { font-size: 13.5px; color: var(--text-3); }
.snd-pack-art.lp-blank, .snd-pack-cover.lp-blank { background: linear-gradient(135deg, #10302b, #0a0a0a 70%); }

.snd-list-sec { padding: 32px 0 96px; }
.snd-list-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.snd-sort { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 18px; }
.snd-sort a { padding: 7px 12px; font-size: 14px; color: var(--text-2); background: var(--s1); }
.snd-sort a:hover { color: var(--text); text-decoration: none; background: var(--s3); }
.snd-sort a.on { background: var(--s3); color: var(--text); }
.snd-hint { color: var(--text-3); font-size: 14px; margin: 0 0 18px; }
.snd-hint kbd { font: inherit; font-size: 12.5px; background: var(--s3); color: var(--text-2); padding: 2px 7px; }
.snd-empty { padding: 48px 12px; color: var(--text-2); text-align: center; background: var(--s1); }
.snd-list-sec .pager { margin-top: 28px; }
.snd-list-sec .snd-search { margin-bottom: 26px; }

/* a pack */
.snd-pack-hero { padding: 40px 0 8px; background: radial-gradient(1200px 420px at 20% 0, rgba(0, 245, 216, 0.08), transparent 70%); }
.snd-back { display: inline-block; color: var(--text-2); font-size: 15px; margin-bottom: 24px; }
.snd-back::before { content: "← "; }
.snd-pack-top { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 44px; align-items: end; }
.snd-pack-cover { display: block; aspect-ratio: 1; background: var(--s3) center / cover no-repeat; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.snd-pack-info h1 { font-size: clamp(40px, 5.4vw, 76px); margin-bottom: 18px; }
.snd-pack-info .lead { font-size: 17.5px; max-width: 720px; }
.snd-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 22px; }
.snd-stats div { display: flex; flex-direction: column; }
.snd-stats b { font-size: 26px; font-family: var(--display); font-weight: 700; }
.snd-stats span { font-size: 13px; color: var(--text-3); }
.snd-draft { display: inline-block; background: #33280f; color: var(--warn); font-size: 13px; padding: 4px 10px; }
.snd-demo { margin-top: 40px; }

/* plugin pages: Hear it */
.pp-hear .lp.lp-card { background: #0c0c0c; }
.pp-hear .lp-list-cards { display: flex; flex-direction: column; gap: 4px; max-width: 1080px; margin: 32px auto 0; }

/* news posts: a sound in the text */
.post-body .lp.lp-card, .prose .lp.lp-card { margin: 28px 0; }

@media (max-width: 760px) {
    .snd-pack-top { grid-template-columns: 1fr; gap: 24px; }
    .snd-pack-cover { max-width: 260px; }
    .snd-search select, .snd-bpm { flex: 1 1 45%; }
}

/* a sound section on any page (Admin, Sounds, Sections) */
.snd-section { padding: 72px 0; }
.snd-section + .snd-section { padding-top: 0; }
.snd-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.snd-section-head h2 { font-size: clamp(32px, 4vw, 52px); margin: 0; }
.snd-section-head .kicker { margin-bottom: 10px; }
.snd-section-lead { color: var(--text-2); font-size: 18px; margin: 12px 0 0; max-width: 720px; }
.snd-section.cards .lp-list-cards { display: flex; flex-direction: column; gap: 4px; }
.snd-section.in-text { padding: 12px 0 20px; }
.snd-section.in-text .snd-section-head h2 { font-size: 28px; }
.snd-section.in-text .snd-section-lead { font-size: 16px; }
.prose .snd-section .lp-row { margin: 0; }
.prose .snd-section p { margin: 0; }
.prose .snd-section a { text-decoration: none; }
.prose .snd-section .lp-tags a { color: var(--text-3); }
.prose .snd-section .lp-tags a.lp-pack { color: var(--teal); }
.prose .snd-section .btn { color: var(--text-2); }
.prose .snd-section .btn:hover { color: var(--text); }
.prose .snd-section h2 { margin: 0; }
