/* Bridge older long-form episode markup into the shared story-page design. */
.converted-story-page main > .content {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
  gap: 24px;
  padding: 54px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.converted-story-page main > .content > .card,
.converted-story-page main > .content .stack > .card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.converted-story-page main > .content .stack {
  display: grid;
  gap: 24px;
}
.converted-story-page main > .content .stack > .card {
  padding-left: 20px;
  border-left: 3px solid #96ac88;
}
.converted-story-page main > .content h2,
.converted-story-page main > .card > h2 { margin-bottom: 22px; }
.converted-story-page main > .content .player { aspect-ratio: 16 / 9; overflow: hidden; }
.converted-story-page main > .content.content--portrait {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  justify-content: center;
}
.converted-story-page main > .content .player.player--portrait {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.converted-story-page main > .content .player iframe { width: 100%; height: 100%; border: 0; }
.converted-story-page .video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #071016;
  color: #fff;
  cursor: pointer;
}
.converted-story-page .video-poster[hidden] { display: none; }
.converted-story-page .video-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.converted-story-page .video-poster__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(8,24,20,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transform: translate(-50%, -50%);
  transition: transform .18s ease, background .18s ease;
}
.converted-story-page .video-poster__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid #fff;
}
.converted-story-page .video-poster:is(:hover, :focus-visible) .video-poster__play {
  background: #173e33;
  transform: translate(-50%, -50%) scale(1.06);
}
.converted-story-page .video-poster:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -4px;
}
.converted-story-page main > .content .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.converted-story-page main > .content .actions .btn { font-size: 13px; }
.converted-story-page main > .card {
  margin: 0;
  padding: 54px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}
.converted-story-page main > .card > p,
.converted-story-page main > .card > ul,
.converted-story-page main > .card > ol { max-width: 76ch; }
.converted-story-page main > .card figure {
  margin: 24px 0;
  padding: 24px clamp(18px, 3vw, 34px);
  background: #ebece3;
  border-left: 3px solid #96ac88;
}
.converted-story-page main > .card figure blockquote { margin: 0; }
.converted-story-page main > .card figure figcaption {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 13px;
}
.converted-story-page .faq details,
.converted-story-page .faq > div {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.converted-story-page .faq details:first-of-type,
.converted-story-page .faq > div:first-of-type { border-top: 0; }
.converted-story-page .faq summary { cursor: pointer; font-weight: 750; }
.converted-story-page .hero-copy > p { margin-bottom: 0; }
.converted-story-page .series-nav--two ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.converted-story-page .series-nav--three ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Unified, minimal episode reading system. */
.story-page .muted,
.story-page main .card .muted,
.story-page main .card p,
.story-page main .card li { color: var(--subtle); }
.story-page main .card h2,
.story-page main .card h3,
.story-page main .card summary { color: var(--ink); }
.story-page .faq { display: none !important; }

.story-page .science-graphic {
  max-width: 820px;
  margin: 24px 0 22px;
  padding: 18px;
  background: #e9ede3;
  border: 1px solid #d3dccd;
  border-left: 3px solid #96ac88;
  border-radius: 7px;
}
.story-page .science-graphic ol {
  display: grid;
  grid-template-columns: repeat(var(--science-steps, 3), minmax(0, 1fr));
  gap: 8px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-page .science-graphic li {
  position: relative;
  min-width: 0;
  padding: 14px 12px;
  background: #fffdf7;
  border: 1px solid #d8ddd2;
  border-radius: 5px;
  color: var(--ink);
  text-align: center;
}
.story-page .science-graphic li:not(:last-child)::after {
  content: '→';
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -10px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e9ede3;
  color: #617a58;
  font-weight: 800;
  transform: translateY(-50%);
}
.story-page .science-graphic .science-step-number {
  display: block;
  margin-bottom: 5px;
  color: #8a6a2f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1;
}
.story-page .science-graphic strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.story-page .science-graphic figcaption {
  margin-top: 11px;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.45;
}
.story-page .science-brief__summary { max-width: 76ch; color: var(--subtle); }
.story-page .science-learn-more {
  max-width: 76ch;
  margin: 18px 0 0;
  font-size: 14px;
}
.story-page .science-learn-more a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid #a4b8a0;
  font-weight: 700;
  text-decoration: none;
}
.story-page .science-learn-more a::after { content: '↗'; font-size: 12px; }

.story-page main .verse,
.story-page main blockquote,
.story-page .scripture-card {
  max-width: 820px;
  margin: 20px 0;
  padding: 22px 24px;
  background: #f3eee0;
  border: 1px solid #ded4bc;
  border-left: 4px solid #aa843c;
  border-radius: 7px;
  color: #18372f;
}
.story-page main .verse *,
.story-page main blockquote *,
.story-page .scripture-card * { color: inherit; }
.story-page .scripture-card__reference {
  margin: 0 0 10px;
  color: #765b27;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story-page .scripture-card__text {
  max-width: 68ch;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.story-page .scripture-card__source {
  margin: 9px 0 0;
  color: #765b27;
  font-size: 12px;
}
.story-page .scripture-card__source a { font-weight: 700; }
.story-page .scripture-card__note {
  max-width: 72ch;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid #ded4bc;
  color: #4d625a;
  font-size: 14px;
}

.story-page .transcript-panel {
  max-width: 820px;
  background: #eceee6;
  border: 1px solid #d8ddd2;
  border-radius: 7px;
}
.story-page .transcript-panel > summary {
  padding: 16px 20px;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}
.story-page .transcript-panel__body {
  max-height: min(62vh, 680px);
  overflow: auto;
  padding: 0 20px 22px;
  border-top: 1px solid #d8ddd2;
}
.story-page .transcript-panel__body > :first-child { margin-top: 18px; }

.story-page .related-topics {
  margin: 0;
  padding: 38px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}
.story-page .related-topics ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-page .related-topics li { margin: 0; }
.story-page .related-topics a {
  display: block;
  height: 100%;
  padding: 15px 16px;
  background: #e9ede3;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.story-page .related-topics a::after { content: ' →'; color: #8a6a2f; }
.story-page .related-topics a:hover { background: #dfe6d6; }

@media (max-width: 760px) {
  .converted-story-page main > .content,
  .converted-story-page main > .content.content--portrait { grid-template-columns: 1fr; padding: 38px 0; }
  .converted-story-page main > .card { padding: 38px 0; }
  .converted-story-page .series-nav--two ol {
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    grid-auto-flow: row;
    overflow-x: visible;
  }

  .converted-story-page .series-nav--three ol {
    grid-template-columns: none;
    grid-auto-columns: minmax(132px, 42vw);
    grid-auto-flow: column;
    overflow-x: auto;
  }
  .story-page .science-graphic ol,
  .story-page .related-topics ul { grid-template-columns: 1fr; }
  .story-page .science-graphic li { text-align: left; }
  .story-page .science-graphic li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -11px;
    transform: translateX(50%) rotate(90deg);
  }
}
