/* ==========================================================================
   Podcast — landing page /podcast/
   Loaded only on: is_page('podcast')
   Depends on: site.v4.css + collection.css (both loaded as deps, never modified)
   ========================================================================== */

.podcast-hero {
    padding-bottom: 2.5rem;
}

/* --- Waveform: decorative CSS-only signature element --- */

.podcast-waveform {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    height: 2.2rem;
    margin-top: 1.6rem;
}

.podcast-waveform span {
    display: block;
    width: 0.16rem;
    height: 30%;
    background: var(--accent);
    border-radius: 1px;
    opacity: 0.75;
    animation: rauscher-waveform-bounce 1.4s ease-in-out infinite;
}

.podcast-waveform span:nth-child(2n) { animation-delay: -1.1s; }
.podcast-waveform span:nth-child(3n) { animation-delay: -0.7s; }
.podcast-waveform span:nth-child(4n) { animation-delay: -0.35s; }
.podcast-waveform span:nth-child(5n) { animation-delay: -1.3s; }
.podcast-waveform span:nth-child(7n) { animation-delay: -0.55s; }

@keyframes rauscher-waveform-bounce {
    0%, 100% { height: 22%; opacity: 0.55; }
    50% { height: 100%; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .podcast-waveform span {
        animation: none;
        height: 55%;
        opacity: 0.7;
    }
}

/* --- Manifesto copy --- */

.podcast-manifesto {
    max-width: var(--article-column-max, 720px);
    margin-top: 1.6rem;
}

.podcast-manifesto p {
    color: var(--text-dim);
    font-size: 1.06rem;
    line-height: 1.85;
    margin: 0 0 1.2rem;
}

.podcast-manifesto p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .podcast-manifesto p {
        font-size: 1rem;
    }
}

/* --- Spotify hint chip --- */

.podcast-spotify-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    color: var(--text-faint);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.podcast-spotify-hint svg {
    width: 0.85rem;
    height: 0.85rem;
    color: var(--accent);
}

/* --- Episode list: full-width playable rows (track-list layout) --- */

.podcast-row-list {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 3.5rem var(--page-pad-x) 4.5rem;
    display: flex;
    flex-direction: column;
}

.podcast-row {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.podcast-row:first-child {
    padding-top: 0.25rem;
}

.podcast-row:last-child {
    border-bottom: none;
}

.podcast-row__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.podcast-row__excerpt {
    max-width: 640px;
    margin: 0;
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.6;
}

.podcast-row__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.podcast-row__link:hover,
.podcast-row__link:focus-visible {
    border-color: rgba(57, 201, 124, 0.45);
    background: rgba(57, 201, 124, 0.07);
    color: var(--accent);
    outline: none;
}

.podcast-row__link svg {
    width: 0.82rem;
    height: 0.82rem;
}

.podcast-empty-state {
    color: var(--text-dim);
    font-size: 1rem;
    text-align: center;
    padding: 3rem 0;
}

@media (max-width: 700px) {
    .podcast-waveform {
        height: 1.8rem;
    }

    .podcast-row__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .podcast-row__link {
        align-self: flex-start;
    }
}
