/* Podcast-Episodenseiten — editorial, ruhig, mobile first */

.podcast-episode {
  --pe-navy: #0c2238;
  --pe-navy-2: #102a47;
  --pe-sand: #f7f3ea;
  --pe-text: #141414;
  --pe-muted: #4a5568;
  --pe-border: rgba(12, 34, 56, 0.12);
  --pe-max: 760px;

  color: var(--pe-text);
  background: var(--pe-sand);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: var(--pe-max);
  padding: 2.5rem 1.25rem 4rem;
}

.podcast-episode h1,
.podcast-episode h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  color: var(--pe-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.podcast-episode h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin: 0.5rem 0 1rem;
}

.podcast-episode h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  margin: 0 0 1rem;
}

.podcast-episode p {
  margin: 0 0 1.15rem;
}

.podcast-episode p:last-child {
  margin-bottom: 0;
}

.podcast-episode a {
  color: var(--pe-navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.podcast-episode a:hover {
  color: var(--pe-navy);
}

/* Hero */
.episode-hero {
  margin-bottom: 2.75rem;
}

.episode-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pe-muted);
  margin: 0 0 0.75rem;
}

.episode-meta {
  font-size: 0.9375rem;
  color: var(--pe-muted);
  margin: 0 0 1.5rem;
}

.episode-intro {
  color: var(--pe-text);
}

.episode-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Hören */
.episode-listen {
  margin-bottom: 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--pe-border);
  border-bottom: 1px solid var(--pe-border);
}

.listen-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.listen-card {
  display: block;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--pe-border);
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.listen-card:hover {
  border-color: rgba(12, 34, 56, 0.28);
  background: #fff;
}

/* Hook */
.episode-hook {
  margin-bottom: 2.5rem;
}

.episode-hook p {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.2rem, 3.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--pe-navy);
  margin: 0;
}

/* Answer blocks (GEO) */
.episode-answers {
  margin-bottom: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.answer-block {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--pe-border);
}

.answer-block:first-child {
  border-top: none;
  padding-top: 0;
}

.answer-block h2 {
  font-size: 1.125rem;
  margin-bottom: 0.65rem;
}

.answer-block p {
  color: var(--pe-text);
  margin: 0;
}

/* Longform */
.episode-longform {
  margin-bottom: 2.75rem;
}

.episode-section {
  margin-bottom: 2.25rem;
}

.episode-section:last-child {
  margin-bottom: 0;
}

/* Reflection */
.episode-reflection {
  margin-bottom: 2.75rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--pe-border);
}

.episode-reflection p {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  color: var(--pe-navy);
}

/* CTA */
.episode-cta {
  margin-bottom: 2.75rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--pe-border);
}

.episode-cta > p {
  color: var(--pe-muted);
  max-width: 36em;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-card {
  display: block;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--pe-border);
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.cta-card.primary {
  border-color: rgba(12, 34, 56, 0.22);
}

.cta-card:hover {
  border-color: rgba(12, 34, 56, 0.35);
}

.cta-card.quiet {
  font-size: 0.9375rem;
  color: var(--pe-muted);
}

/* Related */
.episode-related {
  padding-top: 2rem;
  border-top: 1px solid var(--pe-border);
}

.episode-related > p {
  color: var(--pe-muted);
  margin: 0;
}

.related-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.related-list li {
  margin-bottom: 0.65rem;
}

/* 404 */
.podcast-episode--404 .episode-hero h1 {
  margin-top: 0;
}

/* Übersicht / Prüfstand */
.podcast-index .index-stat--tuned {
  color: #1a5c3a;
}

.podcast-index .index-stat--pending {
  color: #8a4b12;
}

.podcast-index-list {
  margin-bottom: 2.5rem;
}

.episode-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pe-border);
}

.episode-index__item {
  display: grid;
  grid-template-columns: 3rem 5.5rem 5.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pe-border);
}

.episode-index__item--placeholder {
  background: rgba(138, 75, 18, 0.04);
}

.episode-index__rank {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pe-muted);
  letter-spacing: 0.02em;
}

.episode-index__num {
  font-size: 0.8125rem;
  color: var(--pe-muted);
}

.episode-index__badge {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  justify-self: start;
}

.episode-index__badge--tuned {
  background: rgba(26, 92, 58, 0.1);
  color: #1a5c3a;
}

.episode-index__badge--pending {
  background: rgba(138, 75, 18, 0.12);
  color: #8a4b12;
}

.episode-index__link {
  grid-column: 1 / -1;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--pe-navy);
}

.episode-index__link:hover {
  text-decoration: underline;
}

.episode-index__meta {
  grid-column: 4;
  font-size: 0.8125rem;
  color: var(--pe-muted);
  justify-self: end;
}

.podcast-index-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--pe-border);
  color: var(--pe-muted);
  font-size: 0.9375rem;
}

.podcast-index-footer p {
  margin: 0 0 1rem;
  max-width: 40em;
}

@media (min-width: 720px) {
  .episode-index__item {
    grid-template-columns: 3rem 5.5rem 5.5rem 1fr auto;
    grid-template-rows: auto;
  }

  .episode-index__link {
    grid-column: 4;
  }

  .episode-index__meta {
    grid-column: 5;
  }
}

@media (min-width: 640px) {
  .podcast-episode {
    padding: 3rem 1.75rem 5rem;
  }

  .listen-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .listen-card {
    flex: 1 1 calc(33.333% - 0.5rem);
    min-width: 10rem;
    text-align: center;
  }

  .cta-cards {
    gap: 0.85rem;
  }
}
