/**
 * Podcast-Seite – an FF-Startseite / ff-home & Vereine angeglichen (weiß, Barlow, #B43526).
 */

.ff-content-wrap:has(> main.ff-main.ff-podcast-page) {
    background: #fff !important;
}

.ff-podcast-page.ff-main {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-top: 18px;
    box-sizing: border-box;
    background: #fff;
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ff-podcast-page a {
    color: inherit;
    text-decoration: none;
}

.ff-podcast-page a:hover {
    color: #B43526;
}

.ff-podcast-page a:focus {
    outline: none;
}

.ff-podcast-page a:focus-visible {
    outline: 2px solid #B43526;
    outline-offset: 2px;
}

.ff-podcast-wrap {
    max-width: min(var(--ff-layout-max), calc(100% - 2 * var(--ff-layout-gutter)));
    width: 100%;
    margin: 0 auto;
    padding: 0 0 48px;
    box-sizing: border-box;
}

/* Header – links wie Innenseiten, nicht „Landing“-zentriert */
.ff-podcast-header {
    text-align: left;
    margin-bottom: clamp(24px, 4vw, 32px);
    max-width: 100%;
}

.ff-podcast-page-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    color: #000;
    margin: 0 0 12px;
    letter-spacing: 0;
}

.ff-podcast-page-intro {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #646464;
    margin: 0 0 18px;
    max-width: min(720px, 100%);
}

.ff-podcast-header-actions {
    margin: 0;
}

.ff-podcast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: 10px;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.ff-podcast-btn--outline {
    background: #fff;
    color: #000;
    border: 1.5px solid #c8c8c8;
    box-shadow: none;
}

.ff-podcast-btn--outline:hover {
    border-color: #B43526;
    color: #B43526;
    background: #fff;
}

/* Fehler */
.ff-podcast-notice {
    background: #fff;
    border: 1px solid #E0E0E3;
    border-radius: 4px;
    padding: 18px 20px;
    box-shadow: none;
}

.ff-podcast-notice p {
    margin: 0;
    color: #646464;
    font-size: 16px;
    line-height: 1.5;
}

/* Show-Karte */
.ff-podcast-show-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    background: #fff;
    border-radius: 4px;
    padding: 20px 22px;
    margin-bottom: clamp(20px, 3vw, 28px);
    border: 1px solid #E0E0E3;
    box-shadow: none;
}

.ff-podcast-show-art {
    flex-shrink: 0;
    width: 112px;
    height: 112px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #E0E0E3;
}

.ff-podcast-show-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ff-podcast-show-label {
    margin: 0 0 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-transform: none;
    letter-spacing: 0;
    color: #B43526;
}

.ff-podcast-show-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: #000;
}

/* Episodenliste */
.ff-podcast-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ff-podcast-episode {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #E0E0E3;
    box-shadow: none;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.ff-podcast-episode:hover {
    border-color: #c8c8c8;
    box-shadow: none;
}

.ff-podcast-episode-inner {
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: 18px 24px;
    padding: 20px 22px;
    align-items: start;
}

@media (max-width: 560px) {
    .ff-podcast-episode-inner {
        grid-template-columns: 1fr;
    }

    .ff-podcast-episode-cover {
        max-width: 140px;
        margin: 0;
    }
}

.ff-podcast-episode-cover {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e8e8e8;
    border: 1px solid #E0E0E3;
}

.ff-podcast-episode-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ff-podcast-episode-cover--placeholder {
    min-height: 120px;
    background: #ececec;
    border: 1px solid #E0E0E3;
}

.ff-podcast-episode-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    color: #000;
    margin: 0 0 8px;
    letter-spacing: 0;
}

.ff-podcast-episode-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 15px;
    line-height: 1;
    color: #000;
    margin-bottom: 10px;
}

.ff-podcast-meta-sep {
    color: #999;
}

.ff-podcast-episode-sub {
    font-size: 16px;
    color: #646464;
    line-height: 1.5;
    margin: 0 0 14px;
}

.ff-podcast-player-wrap {
    margin-bottom: 12px;
}

.ff-podcast-audio {
    width: 100%;
    max-width: 100%;
    height: 40px;
    border-radius: 10px;
}

.ff-podcast-audio::-webkit-media-controls-panel {
    background: #f5f5f5;
}

.ff-podcast-episode-external {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
}

.ff-podcast-episode-external a {
    color: #B43526;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ff-podcast-episode-external a:hover {
    color: #8f2a1f;
}

/* Shownotes */
.ff-podcast-episode-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #000;
    padding-top: 14px;
    border-top: 1px solid #E0E0E3;
    margin-top: 6px;
}

.ff-podcast-prose p {
    margin: 0 0 0.85em;
}

.ff-podcast-prose p:last-child {
    margin-bottom: 0;
}

.ff-podcast-prose a {
    color: #B43526;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ff-podcast-prose a:hover {
    color: #8f2a1f;
}

.ff-podcast-prose ul,
.ff-podcast-prose ol {
    margin: 0 0 0.85em 1.2em;
    padding: 0;
}

/* Mobil: gleiche Seitenränder wie Startseite */
@media (max-width: 1024px) {
    .ff-podcast-page.ff-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .ff-podcast-wrap {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 12px 48px !important;
        box-sizing: border-box !important;
    }
}
