/* Whisperingflame podcast module — matches site theme */

.podcast-page {
    --podcast-hero-h: clamp(200px, 32vh, 420px);
}

.podcast-hero {
    position: relative;
    min-height: var(--podcast-hero-h);
    background-color: var(--bg-dark, #0a0a0a);
    /* Resolved relative to this CSS file under /modules/podcast/assets/ */
    background-image: url("../../assets/images/honeycomb.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line, rgba(220, 20, 60, 0.2));
    padding: 72px 0 48px;
    overflow: hidden;
}

.podcast-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(220, 20, 60, 0.18), transparent 70%);
    pointer-events: none;
}

.podcast-hero .container {
    position: relative;
    z-index: 1;
}

.podcast-hero h1 {
    color: var(--primary-color, #dc143c);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.podcast-hero .podcast-sub {
    color: var(--text-muted, #999);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
    font-size: 0.95rem;
}

.podcast-banner-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.25rem;
}

.podcast-banner-strip img {
    max-height: 72px;
    border-radius: 8px;
    border: 1px solid rgba(220, 20, 60, 0.25);
    object-fit: cover;
}

.podcast-main {
    padding: 48px 0 80px;
    background: var(--bg-dark, #0a0a0a);
}

.podcast-disabled {
    max-width: 520px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.85);
    color: var(--text-muted, #999);
}

.podcast-series {
    margin-bottom: 3.5rem;
}

.podcast-series-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.podcast-series-cover {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
    background: #111;
}

.podcast-series-meta h2 {
    color: var(--text-light, #e0e0e0);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.podcast-series-meta p {
    color: var(--text-muted, #999);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    max-width: 720px;
}

.podcast-episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.podcast-episode-card {
    background: rgba(14, 14, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.podcast-episode-card:hover {
    border-color: rgba(220, 20, 60, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.podcast-episode-card a {
    text-decoration: none;
    color: inherit;
}

.podcast-episode-thumb {
    aspect-ratio: 16 / 9;
    background: #111 center/cover no-repeat;
    border-bottom: 1px solid rgba(220, 20, 60, 0.12);
}

.podcast-episode-body {
    padding: 1rem 1.1rem 1.15rem;
}

.podcast-episode-title {
    color: var(--text-light, #e0e0e0);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.podcast-episode-meta {
    color: var(--primary-color, #dc143c);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.podcast-episode-desc {
    color: var(--text-muted, #999);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.podcast-audio {
    width: 100%;
    height: 36px;
    margin-top: 0.25rem;
}

.podcast-audio-wrap {
    margin-top: 0.5rem;
}

.podcast-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color, #e94560);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.podcast-detail-back:hover {
    color: var(--primary-color, #dc143c);
}

.podcast-detail-card {
    background: rgba(14, 14, 14, 0.9);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 14px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.podcast-detail-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    background: #111;
}

.podcast-detail-inner {
    padding: 1.75rem 1.5rem 2rem;
}

.podcast-detail-inner h1 {
    color: var(--text-light, #e0e0e0);
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.podcast-detail-inner .series-line {
    color: var(--text-muted, #999);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.podcast-detail-inner .series-line a {
    color: var(--secondary-color, #e94560);
}

.podcast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.podcast-tags span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 20, 60, 0.35);
    color: var(--primary-color, #dc143c);
}

.podcast-detail-desc {
    color: var(--text-muted, #bbb);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    white-space: pre-wrap;
}

.podcast-detail-audio audio {
    width: 100%;
}

.podcast-empty {
    text-align: center;
    color: var(--text-muted, #777);
    padding: 3rem 1rem;
    font-size: 0.95rem;
}
