/* Podcast page: artwork-and-name hero over a lapis ground, then
   episode lists in two columns, Audio | Video, per the wireframe. */

.podcast-hero {
  background: linear-gradient(180deg, var(--lapis) 0%, var(--lapis-deep) 100%);
  color: var(--vellum);
  text-align: center;
  padding: 5.5rem 1.5rem 5rem;
}
.podcast-mark {
  width: clamp(11.25rem, 24vw, 15rem);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  border: 1.5px solid var(--gold-bright);
  position: relative;
}
.podcast-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast-mark::after {
  content: "";
  position: absolute;
  inset: .4375rem;
  border: 1px solid rgba(201, 162, 39, .5);
}
/* A bright gold finial astride the top rule of the mark, echoing the
   two-ages plate's circle finials. */
.podcast-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.125rem;
  height: 1.125rem;
  transform: translate(-50%, -52%);
  background: var(--gold-bright);
  -webkit-mask: var(--fleur-mask) center / contain no-repeat;
  mask: var(--fleur-mask) center / contain no-repeat;
}
.podcast-hero h1 {
  font-family: 'Cardo', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3rem);
}
.podcast-tag {
  margin-top: .75rem;
  color: var(--gold-bright);
  font-size: .95rem;
}
.podcast-blurb {
  max-width: 35rem;
  margin: 1.25rem auto 0;
  color: rgba(245, 239, 226, .8);
  font-style: italic;
}
/* Listen-on row: platform links separated by small bright fleurons. */
.podcast-platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem 0;
  margin-top: 2rem;
  font-size: .95rem;
}
.podcast-platforms a {
  color: var(--gold-bright);
  letter-spacing: .16em;
  padding: .25rem 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.podcast-platforms a:hover { border-bottom-color: var(--gold-bright); }
.podcast-platforms li + li::before {
  content: "";
  display: inline-block;
  width: .6em;
  height: .6em;
  margin: 0 1.125rem;
  background: rgba(201, 162, 39, .6);
  -webkit-mask: var(--fleur-mask) center / contain no-repeat;
  mask: var(--fleur-mask) center / contain no-repeat;
}

/* ---------- Episode columns ---------- */
.episodes {
  max-width: 72.5rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}
.episodes-head {
  text-align: center;
  margin-bottom: 3rem;
}
.episodes-note {
  margin-top: .625rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.episodes-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 720px) { .episodes-cols { grid-template-columns: 1fr; } }

.episodes-col h2 {
  font-family: 'Cardo', serif;
  font-weight: 400;
  font-size: 1.55rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gold);
  margin-bottom: .5rem;
}
.episode-list {
  list-style: none;
}
.episode-list li {
  border-bottom: 1px solid var(--line);
}
/* The row itself: either a plain div or, when the episode has a
   summary, the <summary> of a tap-to-unfold disclosure. */
.episode-row {
  display: flex;
  align-items: baseline;
  gap: .875rem;
  padding: 1rem 2px;
}
summary.episode-row {
  cursor: pointer;
  list-style: none;
}
summary.episode-row::-webkit-details-marker { display: none; }
summary.episode-row:hover { background: rgba(168, 129, 47, .07); }
/* A small gold finial at the row's end, turning when unfolded. Plain
   rows carry an invisible one so the dates stay aligned. */
.episode-row::after {
  content: "\25B8";
  color: var(--gold);
  font-size: .8em;
  flex-shrink: 0;
  visibility: hidden;
}
summary.episode-row::after { visibility: visible; }
details[open] > summary.episode-row::after { content: "\25BE"; }
/* The unfolded summary, set like a manuscript argument: a brief
   italic notice of the chapter's matter, indented to the title. */
.episode-summary {
  margin: -.25rem 0 0;
  padding: 0 1.5rem 1.125rem calc(1.4em + .875rem + 2px);
  font-style: italic;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  details[open] > .episode-summary { animation: episode-unfold .3s ease; }
  @keyframes episode-unfold {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
.episode-no {
  font-family: 'Cardo', serif;
  color: var(--lapis);
  min-width: 1.4em;
  text-align: right;
}
.episode-title { color: var(--ink-soft); }
.episode-title a {
  color: var(--lapis);
  border-bottom: 1px solid var(--gold);
}
.episode-date {
  margin-left: auto;
  padding-left: .875rem;
  font-size: .95rem;
  color: var(--ink-soft);
  /* Dates never break across lines; long titles wrap instead. */
  white-space: nowrap;
  flex-shrink: 0;
}
