.podcast-view { background: #f7f6f2; }
.podcast-page {
    --podcast-ink: #19191c;
    --podcast-muted: #4a484e;
    --podcast-line: #ddd9d5;
    --podcast-paper: #f7f6f2;
    --podcast-accent: #ffd126;
    --podcast-highlight: var(--podcast-accent);
    --podcast-on-accent: #000;
    --podcast-hero-bg: var(--podcast-art-surface, #242329);
    --podcast-on-hero: #fff;
    --podcast-dark: #19191c;
    --podcast-accent-text: #ffdc56;
    --podcast-feature-color: #f1ede0;
    --podcast-gutter: clamp(18px, 4vw, 48px);
    --podcast-heading: 'Instrument Serif', Georgia, serif;
    --podcast-dark: color-mix(in srgb, var(--podcast-hero-bg) 19%, #141417);
    --podcast-line: color-mix(in srgb, var(--podcast-hero-bg) 20%, #e8e6e1);
    --podcast-paper: color-mix(in srgb, var(--podcast-highlight) 4%, #faf8f3);
    --podcast-accent-text: color-mix(in srgb, var(--podcast-accent) 48%, #fff);
    --podcast-feature-color: color-mix(in srgb, var(--podcast-hero-bg) 6%, var(--podcast-paper));
    min-height: 100svh;
    color: var(--podcast-ink);
    background: var(--podcast-paper);
}
.podcast-hero {
    color: var(--podcast-on-hero);
    background: var(--podcast-hero-bg);
}
.podcast-hero-inner, .podcast-body, .podcast-section-nav > div {
    width: min(1200px, 100% - 2 * var(--podcast-gutter));
    margin-inline: auto;
}
.podcast-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(24px, 5vw, 74px);
    padding-block: clamp(24px, 4vw, 58px);
}
.podcast-hero-text-only {
    grid-template-columns: minmax(0, 720px);
    padding-block: clamp(38px, 7vw, 88px);
}
@media (min-width: 1024px) {
    .podcast-hero-inner:not(.podcast-hero-text-only) {
        grid-template-columns: minmax(min(100%, 575px), .92fr) minmax(0, 1.08fr);
    }
}
.podcast-intro { min-width: 0; }
.podcast-art {
    margin: 0;
    width: min(100%, 500px);
    justify-self: end;
    overflow: hidden;
    border-radius: 14px;
    background: color-mix(in srgb, currentColor 7%, transparent);
}
.podcast-art img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}
.podcast-font-serif { --podcast-heading: Georgia, serif; }
.podcast-font-condensed { --podcast-heading: Impact, 'Arial Narrow', sans-serif; }
.podcast-identity { display: flex; align-items: center; gap: 10px; }
.podcast-identity img { width: auto; max-width: 100px; height: 32px; object-fit: contain; }
.podcast-kicker {
    margin: 0;
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 750;
    color: var(--podcast-accent-text);
}
.podcast-hero .podcast-kicker { color: var(--podcast-accent-text); font-size: 1rem; }
.podcast-page h1, .podcast-page h2, .podcast-page h3 {
    margin: 0;
    font-family: var(--podcast-heading);
    font-weight: 400;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
}
.podcast-page h1 {
    margin-block: 10px 16px;
    font-size: clamp(2.9rem, 6.2vw, 5.55rem);
    line-height: .98;
    letter-spacing: -.036em;
    text-wrap: balance;
    color: inherit;
}
.podcast-description {
    max-width: 42ch;
    font-size: clamp(1rem, 1.65vw, 1.13rem);
    line-height: 1.6;
    color: inherit;
    margin: 0;
}
.podcast-audio-language {
    margin: 8px 0 0;
    color: var(--podcast-accent-text);
    font-size: .875rem;
    font-weight: 650;
}
.podcast-show-notes summary {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
    padding-block: 11px;
    font-size: .94rem;
    font-weight: 650;
}
.podcast-show-notes .podcast-notes { margin-block-start: 0; }
.podcast-hero-actions,
.podcast-hero-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.podcast-hero-actions:has(> .podcast-hero-links, > .page-tools > :not([hidden]), > .languages) {
    margin-block-start: 20px;
}
.podcast-hero-actions > :is(.page-tools, .languages) { max-width: 100%; margin-block: 0; }
.podcast-hero-links a, .podcast-episode-link, .podcast-archive a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    color: inherit;
    font-size: .94rem;
    font-weight: 700;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}
.podcast-hero-links :is(.podcast-primary, .podcast-secondary) {
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: 700 .875rem/1.3 var(--brand-sans);
    text-decoration: none;
}
.podcast-hero-links .podcast-primary {
    color: var(--podcast-on-accent);
    background: var(--podcast-accent);
}
.podcast-primary:hover { filter: brightness(1.08); }
.podcast-hero-links .podcast-secondary { border-color: color-mix(in srgb, currentColor 36%, transparent); }
.podcast-secondary:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.podcast-secondary .ui-icon { width: 16px; height: 16px; flex: none; }
.podcast-play-icon {
    flex: none;
    border: 6px solid transparent;
    border-inline-start: 9px solid currentColor;
    border-inline-end: 0;
}
.podcast-hero .languages { justify-content: flex-start; }
.podcast-section-nav {
    position: sticky;
    inset-block-start: 0;
    z-index: 6;
    background: var(--podcast-feature-color);
    border-block-end: 1px solid var(--podcast-line);
}
.podcast-section-nav > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px clamp(12px, 3vw, 40px);
}
.podcast-section-nav a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 6px 10px;
    color: var(--podcast-ink);
    text-decoration: none;
}
.podcast-section-nav a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 5px; }
.podcast-body {
    width: min(960px, 100% - 2 * var(--podcast-gutter));
    padding-block: clamp(30px, 5vw, 64px) clamp(52px, 8vw, 96px);
}
.podcast-body :is(section, #latest-episode) { scroll-margin-block-start: 68px; }
.podcast-page h2 { font-size: clamp(2.45rem, 4.7vw, 3.85rem); line-height: 1.05; }
.podcast-episode-list { margin-block-start: clamp(16px, 3vw, 28px); }
.podcast-episode {
    display: grid;
    align-items: start;
    grid-template-columns: clamp(72px, 12vw, 128px) minmax(0, 1fr);
    gap: clamp(12px, 2.8vw, 30px);
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid transparent;
    border-block-start-color: var(--podcast-line);
}
.podcast-episode-content { min-width: 0; }
.podcast-episode-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 9px;
    background: var(--podcast-dark);
    color: var(--podcast-accent-text);
}
.podcast-episode-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.podcast-episode-art .ui-icon { width: 45%; height: 45%; }
.podcast-episode.podcast-featured {
    margin-block-end: 16px;
    border-color: var(--podcast-line);
    border-radius: 14px;
    background: var(--podcast-feature-color);
}
.podcast-episode-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 14px;
    margin-block-end: 6px;
    font-size: .83rem;
    font-weight: 650;
    color: var(--podcast-muted);
}
.podcast-episode-meta .podcast-kicker { color: var(--podcast-ink); font-size: inherit; }
.podcast-page h3 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); line-height: 1.1; }
.podcast-notes {
    max-width: 72ch;
    margin: 8px 0 0;
    color: var(--podcast-muted);
    font-size: .98rem;
    line-height: 1.6;
}
.podcast-episode-link { margin-block-start: 3px; }
.podcast-episode-link .ui-icon { width: 16px; height: 16px; }
.podcast-archive {
    padding-block-start: 12px;
    border-block-start: 1px solid var(--podcast-line);
}
.podcast-archive a {
    padding: 6px 14px;
    border: 1px solid var(--podcast-line);
    border-radius: 8px;
    text-decoration: none;
}
.podcast-archive a:hover { background: var(--podcast-feature-color); }
:is(.podcast-about, .podcast-listen) {
    margin-block-start: clamp(20px, 4vw, 48px);
    padding-block-start: clamp(24px, 4vw, 44px);
    border-block-start: 1px solid var(--podcast-line);
}
.podcast-about article { margin-block-start: 20px; }
.podcast-about h3 { font: 750 clamp(1.05rem, 2vw, 1.35rem)/1.35 var(--brand-sans); }
.podcast-view {
    --owner-trigger:#19191c;
    --owner-trigger-border:#4e4d50;
    --owner-disclosure:#ffd126;
}
.podcast-page :is(a, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 760px) {
    .podcast-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 14px 26px; }
    .podcast-hero-text-only { padding-block-start: 32px; }
    .podcast-art { grid-row: 1; width: min(100%, 380px); justify-self: center; }
    .podcast-page h1 { font-size: clamp(2.65rem, 10.6vw, 4.3rem); }
    .podcast-section-nav > div { gap: 0 5px; width: calc(100% - 16px); }
    .podcast-section-nav a { min-height: 44px; padding-inline: 6px; }
}
@media (max-width: 490px) {
    .podcast-episode-content { display: contents; }
    .podcast-episode { grid-template-columns: 58px minmax(0, 1fr); gap: 6px 12px; }
    .podcast-episode-art { grid-row: 1 / span 2; }
    .podcast-episode-content > :is(.podcast-episode-meta, h3) { grid-column: 2; }
    .podcast-episode-content > :not(.podcast-episode-meta, h3) { grid-column: 1 / -1; }
    .podcast-episode-meta { margin-block-end: 0; }
    .podcast-episode h3 { align-self: center; }
}

.podcast-listen-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-block-start: 18px;
}
.podcast-listen-actions a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 48px;
    padding: 4px 7px;
    border: 1px solid #5a5858;
    border-radius: 9px;
    background: #19191c;
}
.podcast-listen-actions a:hover { background: #303033; }
.podcast-listen-actions img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.podcast-listen-actions .podcast-site-link {
    display: inline-flex;
    border-color: var(--podcast-line);
    gap: 8px;
    padding-inline: 12px;
    color: var(--podcast-ink);
    background: transparent;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
}
.podcast-listen-actions .podcast-site-link:hover { background: var(--podcast-feature-color); }
.podcast-site-link .ui-icon { width: 16px; height: 16px; }
.podcast-episode .public-audio-player { margin-block-start: 16px; max-width: 640px; }

.podcast-page [hidden] { display: none; }
