/* ==========================================================
   HAMASTA MEDIA — Podcasts page (podcasts.php), "pod-" classes
   ========================================================== */
* { box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; background: #f6f7fb; color: #0f172a; overflow-x: hidden; margin: 0; padding: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1200px) { .container { padding: 0 32px; } }

/* ── Hero: featured episode ── */
.pod-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 132px 0 64px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(190, 22, 34, 0.45), transparent 65%),
        radial-gradient(700px 380px at 0% 100%, rgba(0, 159, 227, 0.18), transparent 70%),
        linear-gradient(160deg, #0b0c11 0%, #170a0d 100%);
}
.pod-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, #800000, #be1622 45%, #009fe3); }
.pod-hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.pod-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 30px;
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #ffd5d8;
}
.pod-live { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: podPulse 1.8s infinite; }
@keyframes podPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6) } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0) } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0) } }
.pod-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -1.5px; margin: 20px 0 16px; color: #fff; }
.pod-hero h1 span { background: linear-gradient(90deg, #ff6b74, #ffb199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod-hero-lede { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); max-width: 480px; margin: 0 0 28px; }
.pod-hero-stats { display: flex; gap: 32px; margin-bottom: 30px; }
.pod-hero-stats strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.pod-hero-stats small { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.pod-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pod-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 14px;
    font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.pod-btn:hover { transform: translateY(-2px); }
.pod-btn-red { background: linear-gradient(135deg, #a10f1a, #be1622); color: #fff; box-shadow: 0 12px 28px rgba(190, 22, 34, 0.35); }
.pod-btn-red:hover { color: #fff; }
.pod-btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.pod-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.pod-feature { border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.pod-feature-meta { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #111318; }
.pod-feature-meta .tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; background: #be1622; padding: 5px 10px; border-radius: 8px; }
.pod-feature-meta h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Toolbar ── */
.pod-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 48px 0 26px; }
.pod-bar h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: #0f172a; }
.pod-bar h2 small { font-size: 14px; font-weight: 600; color: #94a3b8; margin-left: 8px; letter-spacing: 0; }
.pod-search { position: relative; flex: 0 1 340px; }
.pod-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; }
.pod-search input {
    width: 100%; height: 46px; padding: 0 16px 0 42px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff;
    font: inherit; font-size: 14.5px; color: #0f172a; outline: none; transition: border-color .2s, box-shadow .2s;
}
.pod-search input:focus { border-color: #be1622; box-shadow: 0 0 0 4px rgba(190, 22, 34, 0.12); }

/* ── Grid ── */
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.podcast-card {
    background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid #edf0f5; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.podcast-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12); }
.podcast-card[hidden] { display: none; }

.video-container { position: relative; aspect-ratio: 16 / 9; background: #0b0c11; cursor: pointer; overflow: hidden; }
.video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.video-container:not(.is-playing)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%); pointer-events: none; }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-card:hover .video-thumbnail, .pod-feature:hover .video-thumbnail { transform: scale(1.05); }
.play-overlay {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; pointer-events: none;
    background: rgba(255, 255, 255, 0.95); color: #be1622; font-size: 20px; padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform .25s, background .25s, color .25s;
}
.pod-feature .play-overlay { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 26px; }
.video-container:hover .play-overlay { transform: scale(1.1); background: #be1622; color: #fff; }
.pod-badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; background: #be1622; color: #fff; }
.pod-ep { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 12px; font-weight: 700; color: #fff; opacity: .9; }

.podcast-info { padding: 22px 22px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.podcast-date { font-size: 12px; font-weight: 600; color: #94a3b8; margin-bottom: 8px; letter-spacing: .3px; }
.podcast-title { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: #0f172a; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.podcast-desc { color: #64748b; font-size: 14.5px; margin: 0 0 18px; line-height: 1.6; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.podcast-stats { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f1f5f9; padding-top: 14px; margin-top: auto; }
.stat-item { color: #64748b; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 7px; }
.stat-item i { color: #be1622; }
.action-btns { display: flex; gap: 6px; }
.action-btn {
    background: #f6f7fb; border: 0; color: #475569; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700;
    display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 10px; transition: background .2s, color .2s;
}
.action-btn:hover { background: #eef0f5; color: #0f172a; }
.action-btn.like-btn i { color: #be1622; }
.action-btn.like-btn.is-liked { background: #fde8ea; color: #be1622; }
.action-btn.like-btn.is-liked i { animation: podPop .35s; }
@keyframes podPop { 50% { transform: scale(1.35) } }

.pod-empty, .pod-noresults { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: #fff; border-radius: 20px; border: 1px dashed #cbd5e1; color: #64748b; }
.pod-empty i { font-size: 48px; color: #e2e8f0; margin-bottom: 16px; }
.pod-empty h3 { color: #0f172a; margin: 0 0 8px; }

/* ── Studio CTA ── */
.pod-studio {
    margin: 64px 0 80px; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
    background: radial-gradient(600px 300px at 100% 0%, rgba(190, 22, 34, 0.35), transparent 70%), #0b0c11; color: #fff;
}
.pod-studio .pod-eyebrow { margin-bottom: 14px; }
.pod-studio h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; color: #fff; }
.pod-studio p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 16px; line-height: 1.65; }
.pod-studio-ctas { display: flex; flex-direction: column; gap: 12px; }
.pod-studio-ctas .pod-btn { justify-content: center; }

.pod-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 10000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    background: #0f172a; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); transition: opacity .25s, transform .25s;
}
.pod-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
    .pod-hero { padding: 116px 0 48px; }
    .pod-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .pod-hero-lede { max-width: none; }
    .pod-studio { grid-template-columns: 1fr; padding: 30px 24px; }
}
@media (max-width: 560px) {
    .pod-hero { padding-top: 100px; }
    .pod-hero-stats { gap: 24px; }
    .pod-hero-stats strong { font-size: 24px; }
    .pod-hero-ctas .pod-btn { flex: 1 1 100%; justify-content: center; }
    .pod-bar { margin-top: 36px; }
    .pod-search { flex-basis: 100%; }
    .podcast-grid { grid-template-columns: 1fr; gap: 20px; }
    .pod-feature-meta { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .pod-live { animation: none } .podcast-card, .video-thumbnail { transition: none } }
