/* NewzNow audio player (shared by the English Listen page) — copy of the শুনক styles in newznow.css */
/* ---------------- শুনক (audio) ---------------- */
.listen-card { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 40px; background: linear-gradient(90deg, #fff6f6, #fff); max-width: 420px; cursor: default; }
.listen-card.is-current { border-color: var(--red); box-shadow: 0 2px 12px rgba(179,18,31,.12); }
.listen-play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 10px rgba(179,18,31,.35); transition: transform .15s; }
.listen-play:hover { transform: scale(1.06); background: var(--red-deep); }
.listen-play .i-pause, .is-playing .listen-play .i-play { display: none; }
.is-playing .listen-play .i-pause { display: inline; }
.listen-play--sm { width: 38px; height: 38px; box-shadow: none; }
.listen-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.listen-text strong { font-size: 16px; color: var(--ink); }
.listen-text span { font-size: 13px; color: var(--muted); }
.listen-wave { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 22px; opacity: .25; }
.listen-wave i { width: 3px; height: 30%; background: var(--red); border-radius: 2px; }
.is-playing .listen-wave { opacity: 1; }
.is-playing .listen-wave i { animation: nnwave 1s ease-in-out infinite; }
.listen-wave i:nth-child(2) { animation-delay: .15s; } .listen-wave i:nth-child(3) { animation-delay: .3s; }
.listen-wave i:nth-child(4) { animation-delay: .45s; } .listen-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes nnwave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.listen-card--big { max-width: 460px; padding: 12px 20px 12px 12px; }
.listen-card--big .listen-play { width: 58px; height: 58px; }
.listen-card--big .listen-text strong { font-size: 19px; }

.listen-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin: 26px 0 10px; }
.listen-hero-art img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: block; }
.listen-eyebrow { margin: 0; color: var(--red); font-weight: 700; letter-spacing: .02em; }
.listen-hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); margin: 4px 0 6px; line-height: 1.2; }
.listen-date { color: var(--muted); margin: 0 0 6px; }
.listen-rundown { margin: 14px 0 6px; padding-left: 22px; }
.listen-rundown li { margin: 4px 0; }
.listen-rundown a { color: var(--ink); }
.listen-sub { font-size: 14px; color: var(--muted); }
.listen-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 6px; flex-wrap: wrap; }
.listen-list-head h2 { font-family: var(--serif); font-size: 22px; margin: 0; }
.listen-list { list-style: none; margin: 0; padding: 0; }
.listen-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.listen-row img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; background: var(--mist); }
.listen-row-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.listen-row-text a { color: var(--ink); font-weight: 600; }
.listen-row.is-current a { color: var(--red); }
.listen-kicker { font-size: 12px; color: var(--red); font-weight: 600; }
.listen-dur { font-size: 12.5px; color: var(--muted); }
.nav-listen { font-weight: 700; }
@media (max-width: 640px) {
    .listen-hero { grid-template-columns: 1fr; gap: 16px; }
    .listen-hero-art { max-width: 170px; }
    .listen-row img { width: 72px; height: 40px; }
}

/* the bar at the bottom */
.nn-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #121a2b; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); }
body.has-player { padding-bottom: 86px; }
.nn-player-seek { position: relative; height: 6px; background: rgba(255,255,255,.15); }
.nn-player-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); pointer-events: none; }
.nn-player-seek input { position: absolute; inset: -8px 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.nn-player-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; max-width: 1100px; margin: 0 auto; }
.nn-player-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: #26324a; }
.nn-player-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.nn-player-title { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.nn-player-title:hover { color: #ffd166; }
.nn-player-time { font-size: 12.5px; color: #aab4c5; }
.nn-player-ctl { display: flex; align-items: center; gap: 4px; flex: none; }
.nn-player-ctl button { background: transparent; border: 0; color: #fff; font-size: 17px; min-width: 38px; height: 38px; border-radius: 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 1px; }
.nn-player-ctl button:hover { background: rgba(255,255,255,.1); }
.nn-player-ctl small { font-size: 10px; }
.nn-player-main { background: var(--red) !important; width: 44px; height: 44px !important; border-radius: 50% !important; font-size: 15px !important; }
.nn-player .i-pause, .nn-player.is-playing .i-play { display: none; }
.nn-player.is-playing .i-pause { display: inline; }
.nn-player-speed { font-size: 14px !important; font-weight: 700; }
.nn-player-toast { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -10px); background: #ffd166; color: #121a2b; padding: 7px 14px; border-radius: 18px; font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
@media (max-width: 640px) {
    body.has-player { padding-bottom: 120px; }
    .nn-player-row { flex-wrap: wrap; gap: 8px 10px; padding: 8px 10px; }
    .nn-player-meta { flex-basis: calc(100% - 60px); }
    .nn-player-ctl { width: 100%; justify-content: space-between; }
}

