/* The podcast: the podcast page, On Air, the players, the live strip. Colours follow the theme's tokens, so the
   evening look (html.ct-night) and the site's own palette apply by themselves. The On Air desk is a radio: in the day a
   light body with a dark display, in the evening a dark island. */

:root { --ctp-paper: var(--ct-paper, #fff); --ctp-r: 30px; --ctp-lcd: #ffb24a; }
html.ct-night { --ctp-paper: var(--ct-paper, #2A211B); }
.ctp *, .ctp-dock *, .ctp-strip * { box-sizing: border-box; }
.ctp-i { flex: none; display: block; max-width: none; }
.ctp-view button, .ctp-btn-ico, .ctp-player__play, .ctp-dock__play, .ctp-dock__ctrls button, .ctp-strip button { padding: 0; }
/* Headings follow the theme: the site's sans at 600, tight, with the last word in the serif italic accent (<em>) */
.ctp-h2 { margin: 0 0 6px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.035em; }
.ctp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ct-sage); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.ctp-btn:hover { background: color-mix(in srgb, var(--ct-sage) 85%, var(--ct-ink)); color: #fff; }
.ctp-btn--quiet { background: transparent; color: var(--ct-ink); border: 1px solid var(--ct-line); }
.ctp-btn--quiet:hover { background: var(--ct-cream); color: var(--ct-ink); }
.ctp :focus-visible, .ctp-dock :focus-visible, .ctp-strip :focus-visible { outline: 3px solid var(--ct-amber); outline-offset: 3px; }

/* ── Heading ─────────────────────────────────────────────────────────────── */
.ctp-hero { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: clamp(8px, 2vw, 24px) 0 clamp(24px, 4vw, 40px); }
.ctp-hero__art { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--ctp-r); box-shadow: 0 30px 60px -30px rgba(36, 28, 23, .55), 0 0 0 1px rgba(0, 0, 0, .04); object-fit: cover; }
.ctp-hero__title { margin: 6px 0 12px; font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.045em; }
.ctp-hero__lead { margin: 0 0 20px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ct-muted); }
.ctp-follow { display: flex; flex-wrap: wrap; gap: 8px; }
.ctp-follow__a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ct-line); background: var(--ctp-paper); color: var(--ct-ink); font: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.ctp-follow__a:hover { border-color: var(--ct-ember); color: var(--ct-ink); transform: translateY(-1px); }
.ctp-follow__a.is-copied { border-color: var(--ct-sage); }
@media (max-width: 640px) {
  .ctp-hero { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .ctp-hero__lead { font-size: 16px; margin-bottom: 0; }
  .ctp-hero .ctp-follow { grid-column: 1 / -1; }
  .ctp-hero__text { display: contents; }
  .ctp-hero__text > :not(.ctp-follow) { grid-column: 2; }
  .ctp-hero__text > .is-style-eyebrow { margin-top: 4px; }
  .ctp-hero__art { grid-row: 1 / span 3; border-radius: 18px; }
}

/* ── On Air: the studio sign, the RDS display, the live player ─────────────── */
.ctp-onair {
  --ctp-sign: #ff5446; --ctp-sign-glow: rgba(255, 84, 70, .8);
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sign rds ctrl" "note note note";
  gap: 18px 24px; align-items: center; margin: 0 0 clamp(32px, 5vw, 56px); padding: clamp(18px, 3vw, 28px);
  border-radius: calc(var(--ctp-r) + 4px); color: #F2E7DA; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 120% at 0% 0%, rgba(240, 178, 122, .12), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(180, 83, 47, .22), transparent 60%), #17110D;
  box-shadow: 0 40px 70px -40px rgba(23, 17, 13, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.ctp-onair--amber { --ctp-sign: #ffb04a; --ctp-sign-glow: rgba(255, 176, 74, .8); }
.ctp-onair--sage { --ctp-sign: #7fe0a6; --ctp-sign-glow: rgba(127, 224, 166, .75); }
.ctp-onair::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s; background: radial-gradient(50% 90% at 12% 50%, var(--ctp-sign-glow), transparent 70%); mix-blend-mode: screen; }
.ctp-onair[data-state="on"]::before { opacity: .22; animation: ctp-breathe 4s ease-in-out infinite; }
@keyframes ctp-breathe { 50% { opacity: .32; } }

.ctp-onair__sign { grid-area: sign; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; border: 2px solid #3a2c24; background: linear-gradient(180deg, #120d0a, #1d1511); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6); transition: border-color .4s, box-shadow .4s; }
.ctp-onair__word { font: 800 clamp(22px, 3vw, 32px)/1 "Commissioner", system-ui, sans-serif; letter-spacing: .16em; color: #6b5547; text-shadow: none; transition: color .4s, text-shadow .4s; white-space: nowrap; }
.ctp-onair__bulb { width: 14px; height: 14px; border-radius: 50%; background: #3f302a; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .5); transition: background .4s, box-shadow .4s; }
.ctp-onair[data-state="on"] .ctp-onair__sign { border-color: var(--ctp-sign); box-shadow: 0 0 22px -2px var(--ctp-sign-glow), inset 0 0 18px -4px var(--ctp-sign-glow); animation: ctp-flick 6s linear 1 both; }
.ctp-onair[data-state="on"] .ctp-onair__word { color: #fff2ee; text-shadow: 0 0 4px #fff, 0 0 12px var(--ctp-sign), 0 0 26px var(--ctp-sign), 0 0 48px var(--ctp-sign-glow); }
.ctp-onair[data-state="on"] .ctp-onair__bulb { background: var(--ctp-sign); box-shadow: 0 0 10px var(--ctp-sign), 0 0 22px var(--ctp-sign-glow); animation: ctp-pulse 1.6s ease-in-out infinite; }
@keyframes ctp-pulse { 50% { transform: scale(.78); opacity: .6; } }
@keyframes ctp-flick { 0%, 2%, 5%, 8% { opacity: 1; } 1%, 4%, 6% { opacity: .35; } 100% { opacity: 1; } }

/* RDS: an amber dot-matrix display, the way car radios show the station and the radiotext */
.ctp-rds { grid-area: rds; position: relative; min-width: 0; container-type: inline-size; padding: 12px 16px 10px; border-radius: 12px; background: linear-gradient(180deg, #0c0805, #150e09); border: 1px solid #2c211a; box-shadow: inset 0 0 30px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .04); font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", monospace; color: var(--ctp-lcd, #ffb24a); text-shadow: 0 0 6px rgba(255, 170, 60, .55); overflow: hidden; }
.ctp-rds::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px); }
.ctp-rds__top { display: flex; align-items: baseline; gap: 12px; }
.ctp-rds__tag, .ctp-rds__stereo { font-size: 10.5px; letter-spacing: .12em; padding: 1px 5px; border: 1px solid currentColor; border-radius: 3px; opacity: .75; }
.ctp-rds__stereo { margin-left: auto; opacity: 0; transition: opacity .4s; }
.ctp-onair[data-state="on"] .ctp-rds__stereo { opacity: .9; }
/* Sized by the display's own width (container units), so the eight letters always fit, from a 320 px phone up */
.ctp-rds__ps { min-width: 0; font-size: clamp(18px, 8.5cqi, 36px); font-weight: 700; letter-spacing: .22em; line-height: 1.05; white-space: nowrap; }
/* The radio text wraps (up to three lines) instead of sliding: nothing is cut, nothing moves by itself */
.ctp-rds__rt { position: relative; margin: 6px 0 4px; min-height: 1.5em; font-size: clamp(14px, 4.2cqi, 16px); line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ctp-rds__rt-in { display: inline; }
.ctp-rds__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 12.5px; letter-spacing: .08em; opacity: .85; }
.ctp-onair[data-state="off"] .ctp-rds { color: #c98a3f; text-shadow: 0 0 4px rgba(200, 130, 60, .35); }

.ctp-onair__ctrl { grid-area: ctrl; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ctp-onair__play { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px 0 18px; border: 0; border-radius: 999px; background: #F2E7DA; color: #17110D; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .2s, background .3s, box-shadow .3s; white-space: nowrap; }
.ctp-onair__play:disabled { background: #3a2c24; color: #8a7565; cursor: default; }
.ctp-onair[data-state="on"] .ctp-onair__play:not(:disabled) { background: var(--ctp-sign); color: #fff; box-shadow: 0 10px 30px -10px var(--ctp-sign-glow); }
.ctp-onair[data-state="on"] .ctp-onair__play:not(:disabled):hover { transform: scale(1.03); }
.ctp-onair__play[aria-pressed="true"] { background: #F2E7DA !important; color: #17110D !important; }
.ctp-viz { width: 160px; height: 32px; opacity: .2; transition: opacity .4s; }
.ctp-onair[data-state="on"] .ctp-viz { opacity: .95; }
.ctp-onair__note { grid-area: note; margin: 0; font-size: 15px; color: #cdbba7; }
.ctp-onair__note b { color: #F2E7DA; font-weight: 600; }
.ctp-onair__note .ctp-count-down { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(240, 178, 122, .14); color: #F0B27A; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .ctp-onair { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sign ctrl" "rds rds" "note note"; }
  .ctp-onair__ctrl { flex-direction: row; }
  .ctp-viz { display: none; }
}
@media (max-width: 480px) {
  .ctp-onair { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sign" "rds" "ctrl" "note"; padding: 16px; gap: 14px; }
  .ctp-onair__sign { justify-content: center; }
  .ctp-onair__ctrl { justify-content: stretch; }
  .ctp-onair__play { width: 100%; justify-content: center; }
  .ctp-rds__ps { letter-spacing: .18em; }
}
.ctp-onair--compact { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sign rds ctrl"; }
.ctp-onair--compact .ctp-onair__note { display: none; }
/* Off air there is nothing to play: no dead button, the display takes the room */
.ctp-onair:not(.has-ctrl) .ctp-onair__ctrl { display: none; }
.ctp-onair:not(.has-ctrl), .ctp-onair--compact:not(.has-ctrl) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "sign rds" "note note"; }
@media (max-width: 900px) { .ctp-onair:not(.has-ctrl) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sign" "rds" "note"; } .ctp-onair:not(.has-ctrl) .ctp-onair__sign { justify-self: start; } }
@media (max-width: 560px) { .ctp-onair:not(.has-ctrl) .ctp-onair__sign { justify-self: stretch; } }
.ctp-onair__bulb { background: radial-gradient(circle at 35% 35%, #7a3a32, #3f1f1a); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }

/* ── The newest episode ─────────────────────────────────────────────────── */
.ctp-latest { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; margin: 0 0 clamp(36px, 5vw, 60px); padding: clamp(16px, 2.6vw, 28px); border-radius: calc(var(--ctp-r) + 4px); background: var(--ct-cream); border: 1px solid var(--ct-line); }
.ctp-latest__art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.ctp-latest__title { margin: 4px 0 6px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.ctp-latest__title a { color: inherit; text-decoration: none; }
.ctp-latest__title a:hover { color: var(--ct-ember-text, var(--ct-ember)); }
.ctp-latest .ctp-player { margin-top: 16px; }
@media (max-width: 640px) { .ctp-latest { grid-template-columns: 1fr; } .ctp-latest__art { max-width: 180px; } }

/* ── Players ─────────────────────────────────────────────────────────────── */
.ctp-player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 999px; background: var(--ctp-paper); border: 1px solid var(--ct-line); box-shadow: 0 18px 40px -30px rgba(36, 28, 23, .5); }
.ctp-player--big { margin: 26px 0 18px; padding: 18px 22px 18px 18px; }
.ctp-player__play { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--ct-ember); color: #fff; cursor: pointer; transition: transform .2s, background .2s; }
.ctp-player--big .ctp-player__play { width: 68px; height: 68px; }
.ctp-player__play:hover { transform: scale(1.05); background: color-mix(in srgb, var(--ct-ember) 85%, #000); }
.ctp-player__play .ctp-i:last-child, .is-playing > .ctp-player__play .ctp-i:first-child, .ctp-card.is-playing .ctp-card__play .ctp-i:first-child, .ctp-card__play .ctp-i:nth-child(2) { display: none; }
.is-playing > .ctp-player__play .ctp-i:last-child, .ctp-card.is-playing .ctp-card__play .ctp-i:nth-child(2) { display: block; }
.ctp-player__play .ctp-i:first-child { margin-left: 3px; }
.ctp-player__main { min-width: 0; }
.ctp-player__wave { position: relative; overflow: hidden; height: 44px; cursor: pointer; touch-action: none; border-radius: 8px; }
.ctp-player:not(.ctp-player--big) .ctp-player__wave { height: 34px; }
.ctp-player__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.ctp-player__bars i { flex: 1 1 0; min-width: 1px; height: var(--h); border-radius: 2px; background: color-mix(in srgb, var(--ct-ink) 18%, transparent); }
.ctp-player__bars--on { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); transition: clip-path .25s linear; }
.ctp-player__bars--on i { background: var(--ct-ember); }
.is-playing .ctp-player__bars--on i { background: linear-gradient(180deg, var(--ct-amber), var(--ct-ember)); }
.ctp-player__times { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 12.5px; color: var(--ct-muted); font-variant-numeric: tabular-nums; }
.ctp-player__resume { color: var(--ct-ember-text, var(--ct-ember)); }
.ctp-player__ctrls { display: flex; align-items: center; gap: 4px; }
.ctp-btn-ico { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ct-ink); cursor: pointer; }
.ctp-btn-ico:hover { background: var(--ct-cream); }
.ctp-speed { min-width: 48px; height: 34px; padding: 0 10px; border: 1px solid var(--ct-line); border-radius: 999px; background: transparent; color: var(--ct-ink); font: inherit; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
@media (max-width: 640px) {
  .ctp-player { grid-template-columns: auto minmax(0, 1fr); border-radius: 24px; gap: 10px 14px; }
  .ctp-player__ctrls { grid-column: 1 / -1; justify-content: center; }
  .ctp-player--big .ctp-player__play { width: 60px; height: 60px; }
}

/* ── Search, filters, view: the theme's own controls (.ct-tools, .ct-search, .ct-filters-toggle, .ct-filters) ── */
.ctp-toolbar { margin: 18px 0 14px; }
.ctp-toolbar .ctp-more { flex: 1 1 100%; margin: 0; }
.ctp-view { display: inline-flex; height: 46px; box-sizing: border-box; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--ct-line); background: var(--ctp-paper); }
.ctp-view button { display: grid; place-items: center; flex: none; width: 38px; height: 38px; min-height: 0; min-width: 0; box-sizing: border-box; border: 0; border-radius: 50%; background: transparent; color: var(--ct-muted); cursor: pointer; }
.ctp-view button[aria-pressed="true"] { background: var(--ct-ink); color: var(--ct-sand); }
.ctp-fchips { margin: 0 0 6px; }
.ctp-count { margin: 6px 0 18px; color: var(--ct-muted); font-size: 15px; }
.ctp-count strong { color: var(--ct-ink); font-weight: 600; }
@media (max-width: 560px) { .ctp-view { display: none; } }

/* ── Episode cards ───────────────────────────────────────────────────────── */
.ctp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); list-style: none; margin: 0 0 32px; padding: 0; }
.ctp-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.ctp-card { position: relative; display: flex; flex-direction: column; border-radius: var(--ctp-r); background: var(--ctp-paper); border: 1px solid var(--ct-line); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ctp-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(36, 28, 23, .6); }
.ctp-card.is-playing { border-color: var(--ct-ember); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ct-ember) 35%, transparent); }
.ctp-card__art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #241C17; }
.ctp-card__tags { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.ctp-card__len, .ctp-card__live { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.ctp-card__len { background: rgba(23, 17, 13, .78); color: #F2E7DA; backdrop-filter: blur(4px); }
.ctp-card__live { background: #d93a2f; color: #fff; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5); }
.ctp-card__live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: 1px; }
.ctp-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.ctp-card__eyebrow { margin: 0 0 8px; }
.ctp-card__eyebrow a { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.ctp-card__eyebrow a + a::before { content: " · "; }
.ctp-card__eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctp-card__meta { font-size: 13.5px; color: var(--ct-muted); }
.ctp-latest .ctp-card__meta { display: block; margin: 0; }
.ctp-card__title { margin: 0 0 8px; font-size: 22px; line-height: 1.15; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctp-card__title a { color: inherit; text-decoration: none; }
.ctp-card__title a::after { content: ""; position: absolute; inset: 0; }
.ctp-card__title a:hover { color: var(--ct-ember-text, var(--ct-ember)); }
.ctp-card__with { margin: 0 0 6px; font-size: 14px; color: var(--ct-ink); font-weight: 500; }
.ctp-card__ex { margin: 0 0 14px; font-size: 15px; color: var(--ct-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ctp-card__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.ctp-card__play { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: var(--ct-ink); color: var(--ct-sand); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ctp-card.is-playing .ctp-card__play { background: var(--ct-ember); color: #fff; }
.ctp-card__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.ctp-card__topics a { padding: 3px 10px; border-radius: 999px; background: var(--ct-cream); border: 1px solid var(--ct-line); color: var(--ct-ink); font-size: 12.5px; text-decoration: none; }
.ctp-card__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: color-mix(in srgb, var(--ct-ink) 8%, transparent); }
.ctp-card__progress span { display: block; height: 100%; width: var(--p, 0%); background: var(--ct-ember); }
/* list view */
.ctp-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.ctp-grid.is-list .ctp-card { flex-direction: row; border-radius: 22px; }
.ctp-grid.is-list .ctp-card__art { flex: 0 0 150px; aspect-ratio: 1; }
.ctp-grid.is-list .ctp-card__ex { -webkit-line-clamp: 2; }
.ctp-grid.is-list .ctp-card__title { font-size: 20px; }

.ctp-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(32px, 6vw, 64px) 20px; border-radius: var(--ctp-r); background: var(--ct-cream); border: 1px dashed var(--ct-line); text-align: center; color: var(--ct-muted); }
.ctp-empty .ctp-i { color: var(--ct-ember); }
.ctp-empty p { max-width: 46ch; margin: 0; font-size: 17px; }

.ctp-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 40px; }
.ctp-pages a, .ctp-pages span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ct-line); color: var(--ct-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ctp-pages [aria-current] { background: var(--ct-ink); color: var(--ct-sand); border-color: var(--ct-ink); }
.ctp-pages .ctp-pages__gap { border: 0; }

/* ── An episode's page ───────────────────────────────────────────────────── */
.ctp-ep { margin: clamp(8px, 2vw, 20px) 0 clamp(24px, 4vw, 40px); }
.ctp-ep__back { display: inline-block; margin-bottom: 18px; color: var(--ct-muted); text-decoration: none; font-weight: 500; }
.ctp-ep__back:hover { color: var(--ct-ink); }
.ctp-ep__grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.ctp-ep__art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--ctp-r); box-shadow: 0 30px 60px -30px rgba(36, 28, 23, .55); }
.ctp-ep__title { margin: 6px 0 14px; font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -.045em; }
.ctp-ep__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; color: var(--ct-muted); font-size: 15px; }
.ctp-ep__facts > span + span::before { content: "·"; margin-right: 14px; color: var(--ct-line); }
.ctp-ep__topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ctp-ep__topics a { padding: 4px 12px; border-radius: 999px; background: var(--ct-cream); border: 1px solid var(--ct-line); color: var(--ct-ink); font-size: 13.5px; text-decoration: none; }
.ctp-badge-live { color: #A8281F !important; font-weight: 700; } /* 5.9:1 on the day paper */
html.ct-night .ctp-badge-live { color: #FF9B8C !important; } /* 7.8:1 on the evening paper */
.ctp-badge-live::before { content: "● "; }
.ctp-ep__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
@media (max-width: 720px) { .ctp-ep__grid { grid-template-columns: 1fr; } .ctp-ep__art { max-width: 240px; } }
.ctp-notes { margin-top: clamp(16px, 3vw, 32px); }
.ctp-share { margin: 32px auto; max-width: 760px; }
.ctp-more-eps { margin-top: clamp(40px, 6vw, 72px); }
.ctp-more-eps__all { text-align: center; }

/* ── The dock: the episode playing, at the bottom of the screen ─────────── */
.ctp-dock { position: fixed; left: 50%; bottom: 14px; z-index: 9998; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: min(760px, calc(100% - 24px)); padding: 8px 14px 8px 8px; border-radius: 22px; background: color-mix(in srgb, #17110D 94%, transparent); color: #F2E7DA; backdrop-filter: blur(10px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ctp-dock.is-on { transform: translate(-50%, 0); }
.ctp-dock__art { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.ctp-dock__play { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ct-amber, #F0B27A); color: #17110D; cursor: pointer; }
.ctp-dock__play .ctp-i:last-child, .ctp-dock.is-playing .ctp-dock__play .ctp-i:first-child { display: none; }
.ctp-dock.is-playing .ctp-dock__play .ctp-i:last-child { display: block; }
.ctp-dock__meta { min-width: 0; }
.ctp-dock__title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #F2E7DA; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.ctp-dock__bar { position: relative; height: 6px; margin-top: 7px; border-radius: 6px; background: rgba(242, 231, 218, .16); cursor: pointer; touch-action: none; }
.ctp-dock__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: inherit; background: var(--ct-amber, #F0B27A); }
.ctp-dock__time { display: block; margin-top: 4px; font-size: 11.5px; color: #b8a48f; font-variant-numeric: tabular-nums; }
.ctp-dock__ctrls { display: flex; align-items: center; gap: 2px; }
.ctp-dock__ctrls button { display: grid; place-items: center; min-width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #F2E7DA; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ctp-dock__ctrls button:hover { background: rgba(242, 231, 218, .1); }
.ctp-dock__ctrls .ctp-speed { border-color: rgba(242, 231, 218, .25); color: #F2E7DA; border-radius: 999px; }
@media (max-width: 560px) { .ctp-dock { grid-template-columns: auto minmax(0, 1fr) auto; } .ctp-dock__art { display: none; } .ctp-dock [data-ctp-dock-back] { display: none; } }
html.ctp-docked .ctr-bar { bottom: 96px; }

/* ── Live, across the site: the strip and the menu dot ──────────────────── */
.ctp-strip { position: relative; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 46px 9px 16px; background: linear-gradient(90deg, #8f1f17, #d93a2f 50%, #8f1f17); background-size: 200% 100%; animation: ctp-strip 8s linear infinite; color: #fff; font-size: 15px; text-align: center; }
@keyframes ctp-strip { to { background-position: -200% 0; } }
.ctp-strip__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); animation: ctp-ring 1.6s infinite; }
@keyframes ctp-ring { 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ctp-strip b { font-weight: 800; letter-spacing: .12em; }
.ctp-strip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ctp-strip a { flex: none; padding: 4px 14px; border-radius: 999px; background: #fff; color: #b0271d; font-weight: 700; text-decoration: none; }
.ctp-strip button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
@media (max-width: 560px) { .ctp-strip { justify-content: flex-start; font-size: 14px; } .ctp-strip .ctp-strip__t { display: none; } }
.ctp-onair-link { position: relative; }
.ctp-onair-link::after { content: ""; position: absolute; top: 4px; right: -8px; width: 8px; height: 8px; border-radius: 50%; background: #e2483d; box-shadow: 0 0 0 0 rgba(226, 72, 61, .7); animation: ctp-ring-red 1.6s infinite; }
@keyframes ctp-ring-red { 70% { box-shadow: 0 0 0 8px rgba(226, 72, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 72, 61, 0); } }

/* Toast ("Copied") */
.ctp-toast { position: fixed; left: 50%; bottom: 100px; z-index: 10000; padding: 10px 18px; border-radius: 999px; background: #17110D; color: #F2E7DA; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; transition: .25s; pointer-events: none; }
.ctp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .ctp-onair *, .ctp-onair::before, .ctp-strip, .ctp-strip__dot, .ctp-onair-link::after, .ctp-card, .ctp-card__art img { animation: none !important; transition: none !important; }
}

/* ── A cover drawn for an episode without its own picture ─────────────────── */
.ctp-gen { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 7%; overflow: hidden; container-type: inline-size; color: #FFF8EF; text-decoration: none;
  background: radial-gradient(90% 70% at 85% 10%, color-mix(in srgb, var(--gb) 70%, #F0B27A) 0%, transparent 60%), radial-gradient(80% 80% at 0% 100%, var(--gb) 0%, transparent 65%), var(--ga); }
.ctp-gen::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.2px); background-size: 6px 6px; mix-blend-mode: overlay; pointer-events: none; }
.ctp-gen__brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: max(10px, 6.4cqw); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 248, 239, .86); white-space: nowrap; overflow: hidden; }
.ctp-gen__brand svg { flex: none; width: 1.5em; height: 1.5em; color: #F0B27A; }
.ctp-gen__no { position: relative; z-index: 1; font-family: var(--ct-serif); font-style: italic; font-weight: 560; font-size: 44cqw; line-height: .9; letter-spacing: -.04em; color: #FFF8EF; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.ctp-gen__no small { font-size: .32em; margin-right: .08em; font-style: normal; vertical-align: .9em; color: #F0B27A; letter-spacing: 0; }
.ctp-gen__no--mic { color: #F0B27A; }
.ctp-gen__no--mic svg { width: 30cqw; height: 30cqw; }
.ctp-gen__wave { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.2%; height: 18%; }
.ctp-gen__wave i { flex: 1 1 0; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #F0B27A, rgba(240, 178, 122, .45)); }
.ctp-card__art .ctp-gen { position: absolute; inset: 0; aspect-ratio: auto; padding: 6% 7%; }
.ctp-card__art .ctp-gen__no { font-size: 30cqw; }
.ctp-card__art .ctp-gen__wave { height: 16%; margin-right: 44%; }
.ctp-grid.is-list .ctp-card__art .ctp-gen__no { font-size: 46cqw; }
.ctp-grid.is-list .ctp-card__art .ctp-gen__brand, .ctp-grid.is-list .ctp-card__art .ctp-gen__wave { display: none; }
.ctp-grid.is-list .ctp-card__art .ctp-gen { justify-content: center; align-items: center; }
.ctp-latest__art.ctp-gen, .ctp-ep__art.ctp-gen { border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(36, 28, 23, .55); }
.ctp-ep__art.ctp-gen { border-radius: var(--ctp-r); }
.ctp-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ctp-card:hover .ctp-card__img { transform: scale(1.04); }

/* Day: a radio with a light body, only the display dark (the dark desk weighed down the morning page) */
html:not(.ct-night) .ctp-onair {
  color: var(--ct-ink, #241C17);
  background: radial-gradient(70% 120% at 0% 0%, rgba(240, 178, 122, .22), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(180, 83, 47, .10), transparent 60%), linear-gradient(180deg, #F7EEE3, #EFE2D2);
  border: 1px solid var(--ct-line, #E6D8C6);
  box-shadow: 0 30px 60px -42px rgba(36, 28, 23, .45), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html:not(.ct-night) .ctp-onair::before { mix-blend-mode: normal; }
html:not(.ct-night) .ctp-onair[data-state="on"]::before { opacity: .14; }
html:not(.ct-night) .ctp-onair__sign { border-color: #E2D0BC; background: linear-gradient(180deg, #FBF6EF, #F1E5D7); box-shadow: inset 0 2px 6px rgba(120, 80, 50, .12); }
/* unlit, but still readable as a sign (not a faded mistake) */
html:not(.ct-night) .ctp-onair__word { color: #A8917F; }
html:not(.ct-night) .ctp-onair__bulb { background: radial-gradient(circle at 35% 35%, #e6b3a6, #c98d80); box-shadow: inset 0 -2px 3px rgba(120, 40, 30, .25); }
html:not(.ct-night) .ctp-onair[data-state="on"] .ctp-onair__sign { background: linear-gradient(180deg, #2a1d17, #1a120e); }
html:not(.ct-night) .ctp-onair[data-state="on"] .ctp-onair__bulb { background: var(--ctp-sign); }
html:not(.ct-night) .ctp-rds { box-shadow: inset 0 0 30px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 4px rgba(255, 255, 255, .35); }
html:not(.ct-night) .ctp-onair__note { color: var(--ct-muted, #6B5B4E); }
html:not(.ct-night) .ctp-onair__note b { color: var(--ct-ink, #241C17); }
html:not(.ct-night) .ctp-onair__note .ctp-count-down { background: rgba(180, 83, 47, .1); color: var(--ct-ember-text, #9A4426); }
html:not(.ct-night) .ctp-onair__play[aria-pressed="true"] { background: var(--ct-ink, #241C17) !important; color: #FBF6EF !important; }

/* Evening: the page is dark too, so the On Air desk sits a shade darker with a thin edge (like the theme's dark islands) */
html.ct-night .ctp-onair { background-color: #100B08; box-shadow: 0 0 0 1px #3B2F27, 0 40px 70px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); }
html.ct-night .ctp-card__len { background: rgba(0, 0, 0, .6); }

/* ── The episode's text (transcript) ─────────────────────────────────────── */
.ct-transcript { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); padding-inline: var(--ct-gutter, 18px); box-sizing: content-box; }
.ct-transcript details { border-radius: 24px; border: 1px solid var(--ct-line); background: var(--ctp-paper, #fff); }
.ct-transcript summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 22px; cursor: pointer; list-style: none; border-radius: 24px; }
.ct-transcript summary::-webkit-details-marker { display: none; }
.ct-transcript summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.ct-transcript details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.ct-transcript summary:focus-visible { outline: 3px solid var(--ct-amber, #F0B27A); outline-offset: 2px; }
.ct-transcript summary .ctp-h2 { margin: 0; font-size: clamp(20px, 2.6vw, 24px); }
.ct-tr__note { margin: 0 22px 10px; color: var(--ct-muted); font-size: 15px; }
.ct-tr__body { padding: 4px 22px 6px; }
.ct-tr__seg { margin: 0; padding: 10px 12px; border-radius: 14px; line-height: 1.7; transition: background-color .3s; }
.ct-tr__seg + .ct-tr__seg { margin-top: 2px; }
.ct-tr__seg.is-now { background: color-mix(in srgb, var(--ct-amber, #F0B27A) 22%, transparent); }
.ct-tr__time { display: inline-flex; align-items: center; min-height: 28px; margin-right: 6px; padding: 0 10px; border: 1px solid var(--ct-line); border-radius: 999px; background: transparent; color: var(--ct-ember-text, #9A4426); font: 600 13px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; cursor: pointer; vertical-align: 1px; }
.ct-tr__time:hover { background: var(--ct-cream); }
.ct-tr__time:focus-visible { outline: 3px solid var(--ct-amber, #F0B27A); outline-offset: 2px; }
.ct-tr__who { color: var(--ct-ink); }
.ct-tr__foot { margin: 6px 22px 20px; font-size: 15px; }
.ct-tr__file { color: var(--ct-ember-text, #9A4426); }
html.ct-night .ct-tr__time { color: #F0B27A; }
@media (max-width: 560px) { .ct-transcript summary, .ct-tr__body { padding-inline: 14px; } .ct-tr__note, .ct-tr__foot { margin-inline: 14px; } .ct-tr__seg { padding-inline: 8px; } }
@media print { .ct-transcript details > :not(summary) { display: block !important; } .ct-tr__time { border: 0; padding: 0; } }
.ctp-h2 + .ctp-empty, .ctp-empty { margin-top: 20px; }   /* air between "All episodes" and the empty card */
