/**
 * episode-page.css – Ergänzungen für statische Folge-Seiten (/folge/…)
 *
 * Das gesamte Design (hero, player, pills, footer) kommt aus style.css.
 * Diese Datei enthält nur die Kleinigkeiten, die auf der Hauptseite nicht gebraucht werden.
 */

/* Zurück-Link-Leiste über und unter dem Hero */
.ep-back-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.ep-back-bar-bottom {
  padding: 1rem 1rem 2rem;
}

.ep-back-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.ep-back-link:hover {
  text-decoration: underline;
}

/* Auf statischen Seiten keine Einfade-Animation (kein JS-Trigger) */
.episode-page .hero-episode-number,
.episode-page .hero-title,
.episode-page .hero-subtitle,
.episode-page .hero-meta,
.episode-page .hero-description {
  animation: none;
}

/* "Weitere Folgen"-Block (Cross-Links zwischen Episoden-Seiten) */
.ep-related {
  background: var(--color-hero-bg, #EEF3F9);
  padding: 2rem 0;
  margin-top: 1rem;
}

.ep-related-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.ep-related-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-navy, #1e2a3a);
}

.ep-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.ep-related-item {
  background: var(--color-white, #fff);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ep-related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ep-related-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ep-related-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ep-related-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ep-related-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #528BC5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ep-related-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-navy, #1e2a3a);
  line-height: 1.3;
}

.ep-related-match {
  font-size: 0.82rem;
  color: #555;
  margin-top: 0.15rem;
}

/* Visually-hidden Helper (falls noch nicht in style.css) für den SEO-Folgen-Index */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
