.article-related-card-meta--episode {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 4px 12px;
}
.article-related-card-meta--episode > span { min-width: 0; overflow-wrap: anywhere; }
.article-related-card-meta--episode > time { justify-self: end; white-space: nowrap; }

@media (min-width: 1400px) {
    .article-related-list--podcasts .article-related-card-meta--episode {
        display: block;
        padding-right: 30px;
    }
    .article-related-list--podcasts .article-related-card-meta--episode > time {
        position: absolute;
        top: 10px;
        right: 18px;
    }
}

.article-related-inline-card:has(.article-related-play) {
    grid-template-columns: 130px minmax(0, 1fr) 76px;
}
.article-related-inline-card:has(.article-related-play) > .article-related-inline-media {
    grid-column: 1;
    grid-row: 1;
}
.article-related-inline-card:has(.article-related-play) > .article-related-inline-body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
body .article-related-inline-card > .article-related-play {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    position: relative;
    z-index: 2;
    align-self: center;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
}
body .article-related-play svg { width: 24px; height: 24px; }
body .article-related-inline-card > .article-related-play:hover { background: #333; color: #fff; }
body .article-related-play:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
@media (max-width: 900px) {
    .article-related-inline-card:has(.article-related-play) { grid-template-columns: 64px minmax(0, 1fr) 52px; gap: 8px; }
    body .article-related-inline-card > .article-related-play { width: 36px; height: 36px; }
}
@media (max-width: 760px) {
    .article-related-card-meta--episode { grid-template-columns: minmax(0, 1fr); }
    .article-related-card-meta--episode > time { grid-row: 1; }
    body .article-related-list--podcasts { gap: 8px; }
    body .article-related-list--podcasts .article-related-inline-card {
        display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px;
        align-items: center; gap: 8px; padding: 10px; border-radius: 12px;
    }
    body .article-related-list--podcasts .article-related-inline-media {
        grid-column: 1; grid-row: 1; width: 56px; height: 56px; min-height: 0;
        border-radius: 8px; overflow: hidden; align-self: center;
    }
    body .article-related-list--podcasts .article-related-inline-media img { width: 100%; height: 100%; object-fit: cover; }
    body .article-related-list--podcasts .article-related-inline-body { grid-column: 2; grid-row: 1; min-width: 0; padding: 0; align-self: center; }
    body .article-related-list--podcasts .article-related-inline-body h4 {
        font: 500 .85rem/1.15 var(--vixen-heading); margin: 0;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    letter-spacing: -0.04em !important;
}

    body .article-related-list--podcasts .article-related-inline-body p:not(.article-related-card-meta) { display: none; }
    body .article-related-list--podcasts .article-related-card-meta { font: 11px/1.2 var(--vixen-body); letter-spacing: 0; opacity: .7; margin: 0 0 6px; }
    body .article-related-list--podcasts .article-related-inline-card > .article-related-play {
        grid-column: 3; grid-row: 1; width: 44px; height: 44px; background: #111;
    }
}

/* On episode pages, keep the cover, episode details and playback in three
   distinct columns. The date shares the first line with the podcast name. */
@media (min-width: 761px) {
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-card {
        grid-template-columns: 90px minmax(0, 1fr) 55px;
        align-items: start;
        column-gap: 12px;
        padding: 12px 16px 12px 12px;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-media {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1;
        border-radius: 10px;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-body {
        align-self: start;
        padding: 0;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-card-meta--episode {
        display: block;
        margin: 0 0 6px;
        padding: 0;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-card-meta--episode > time {
        position: absolute;
        top: 12px;
        right: 16px;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-body > p:not(.article-related-card-meta) {
        display: none;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-card > .article-related-play {
        align-self: center;
    }
}

@media (max-width: 760px) {
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-card {
        align-items: start;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-media,
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-inline-body {
        align-self: start;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-card-meta--episode {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: start;
        column-gap: 8px;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-card-meta--episode > span {
        grid-column: 1;
        grid-row: 1;
    }
    body .episode-podcast-header ~ .article-related-section .article-related-list--podcasts .article-related-card-meta--episode > time {
        grid-column: 2;
        grid-row: 1;
    }
}
