/*
 Theme Name:   dtr.fm Signal
 Theme URI:    https://dtr.fm/
 Description:  Theme für den Podcast Donau Tech Radio. Richtung „Signal“ — immer dunkel, Türkis aus dem Logo, Amber als einziger warmer Akzent. Nachfolger des Twenty-Thirteen-Childs „dtrfm“, das zum Zurückschalten daneben liegen bleibt. Style Guide: design/STYLEGUIDE.md
 Author:       Thomas Einwaller
 Author URI:   https://dertompson.com
 Version:      1.3.0
 Requires at least: 6.4
 Requires PHP: 8.1
 License:      GPL-2.0-or-later
 Text Domain:  dtrfm-signal
*/

/* ==========================================================================
   Schriften — selbst gehostet, nicht über die Google-Fonts-CDN
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Token
   ========================================================================== */

:root {
  /* Die Seite läuft immer dunkel. color-scheme gehört auf :root, nicht auf body —
     sonst bleiben Scrollbalken, Formularelemente und der Canvas hell. */
  color-scheme: dark;

  --navy-900: #080c16;
  --navy-800: #0f1524;
  --navy-700: #151d30;
  --line: #1e2940;

  --ink: #e8eef3;
  --muted: #93a3b4;

  --teal: #2cd5d2;
  --amber: #f59e0b;
  --on-accent: #04121b;

  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  --page: 1180px;
  --measure: 68ch;
  --radius: 14px;
  --radius-sm: 8px;

  /* Maximum nie über dem 2,5-fachen des Minimums, damit Browser-Zoom
     die Schrift noch auf 200 % bringt. */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h2: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-num: clamp(2.25rem, 1.6rem + 3vw, 4rem);

  accent-color: var(--teal);
  /* Der Daumen braucht mindestens 3:1 gegen die Bahn — #3a4a66 lag bei 2,2:1. */
  scrollbar-color: #5f7399 var(--navy-900);
}

/* ==========================================================================
   Basis
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-align: start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-lg); }

p,
ul,
ol,
blockquote,
figure,
pre {
  margin: 0 0 var(--sp-4);
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* height:auto ist nötig: sonst gewinnt das height-Attribut als Presentational Hint
   und aspect-ratio greift nicht mehr. */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

code,
kbd,
pre,
samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  background: var(--navy-700);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

pre {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}

blockquote {
  border-inline-start: 3px solid var(--teal);
  padding-inline-start: var(--sp-4);
  color: var(--muted);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2) var(--sp-3);
  text-align: start;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--sp-4);
  inset-block-start: -4rem;
  z-index: 100;
  background: var(--teal);
  color: var(--on-accent);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: inset-block-start 150ms ease;
}

.skip-link:focus {
  inset-block-start: var(--sp-3);
}

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.site-main {
  padding-block: var(--sp-6) var(--sp-8);
}

/* ==========================================================================
   Kopf
   ========================================================================== */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--navy-800);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  min-height: 72px;
  padding-block: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-inline-end: auto;
}

.brand__mark {
  flex: none;
}

.brand__graph {
  color: var(--teal);
}

.brand__text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.brand__tagline {
  display: block;
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: 0;
  color: var(--muted);
}

/* Der Claim ist lang. Auf schmalen Schirmen tritt er hinter den Namen zurück. */
@media (max-width: 599px) {
  .brand__tagline {
    display: none;
  }
}

.nav__list {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}

.nav__list a:hover {
  color: var(--ink);
  background: var(--navy-700);
}

.nav__list .current-menu-item > a,
.nav__list .current_page_item > a,
.nav__list .current-menu-ancestor > a {
  color: var(--ink);
}

.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--teal);
}

.nav__list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--sp-1);
}

/* ==========================================================================
   Hero — neueste Episode
   ========================================================================== */

.hero {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
  padding-block: var(--sp-5) var(--sp-8);
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-3);
}

.eyebrow__dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.hero__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--sp-4);
}

.hero__title a {
  color: var(--ink);
  text-decoration: none;
}

.hero__title a:hover {
  color: var(--teal);
}

.hero__excerpt {
  max-width: var(--measure);
  color: var(--muted);
}

.hero__cover-link,
.episode__cover-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Cover und Fallback
   ========================================================================== */

.cover {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  container-type: inline-size;
}

/* Alle Cover laufen durch denselben 2:1-Zuschnitt. Nötig, weil der Altbestand
   uneinheitlich ist: DTR302 quadratisch, DTR300 3:2, erst ab DTR306 gilt 2:1. */
.cover img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* Etwa ein Drittel der Episoden hat kein Beitragsbild. Statt einer Lücke
   erscheinen Episodennummer und der Netzwerk-Graph aus dem Logo. */
.cover--fallback {
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(120% 120% at 15% 10%, rgb(44 213 210 / 0.24) 0%, transparent 60%),
    var(--navy-700);
}

/* Die gezeichnete Konstellation füllt die Fläche; die Nummer steht im SVG selbst. */
.constellation {
  display: block;
  width: 100%;
  height: auto;
}

.cover__graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--teal);
  opacity: 0.5;
}

.cover__number {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.5rem, 18cqi, 3rem);
  letter-spacing: -0.03em;
  color: var(--teal);
}

@supports not (font-size: 1cqi) {
  .cover__number {
    font-size: var(--fs-num);
  }
}

/* ==========================================================================
   Episodenliste
   ========================================================================== */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.section-head h1,
.section-head h2 {
  font-size: var(--fs-h3);
  margin: 0;
}

.episode-list {
  list-style: none;
  margin: 0 0 var(--sp-7);
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.episode {
  display: grid;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-800);
}

@media (min-width: 720px) {
  .episode {
    grid-template-columns: 220px 1fr;
  }
}

.episode__cover {
  border-radius: var(--radius-sm);
}

.episode__title {
  font-size: var(--fs-h3);
  margin: var(--sp-2) 0;
}

.episode__title a {
  color: var(--ink);
  text-decoration: none;
}

.episode__title a:hover {
  color: var(--teal);
}

.episode__excerpt {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.episode-meta__number {
  color: var(--teal);
}

/* ==========================================================================
   Einzelansicht
   ========================================================================== */

.entry {
  padding-block: var(--sp-5) var(--sp-7);
}

.entry__head {
  margin-bottom: var(--sp-5);
}

.entry__title {
  margin: var(--sp-3) 0 0;
}

.entry__cover {
  margin-bottom: var(--sp-6);
}

.entry__content {
  max-width: var(--measure);
}

.entry__content > ul:not(.wp-block-list),
.entry__content > ol {
  padding-inline-start: 1.25rem;
}

.entry__foot {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 720px) {
  .post-navigation .nav-links {
    grid-template-columns: 1fr 1fr;
  }
}

.post-navigation a {
  display: block;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
}

.post-navigation a:hover {
  border-color: var(--teal);
}

.post-navigation .nav-next {
  text-align: end;
}

.nav-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: var(--sp-1);
}

.nav-title {
  font-weight: 500;
}

/* ==========================================================================
   Episodenseite — zweispaltig
   ========================================================================== */

/* Links Player, Downloads und Contributor-Karten, rechts Einleitung und Shownotes.
   Getrennt wird serverseitig in inc/episode-layout.php, weil „On Air" als nackter
   Textknoten im Inhalt steht und sich per CSS nicht adressieren lässt. */
.episode-layout {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 1000px) {
  .episode-layout {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: var(--sp-7);
  }

  /* Die Episoden sind rund 90 Minuten lang und haben 20 bis 25 Links. Der Player
     bleibt deshalb stehen, während die Shownotes darunter durchlaufen. */
  .episode-layout__media {
    position: sticky;
    top: var(--sp-4);
  }
}

.episode-layout__media > *:last-child {
  margin-bottom: 0;
}

/* Der Player füllt seine Spalte; unter etwa 500px schaltet er selbst auf sein
   kompaktes Layout um. */
.episode-layout__media .podlove-web-player {
  max-width: none;
}

.episode-media__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

/* Die Spalte begrenzt die Zeilenlänge bereits. */
.episode-layout__notes > p {
  max-width: none;
}

/* ==========================================================================
   Shownotes — der eigentliche Hauptinhalt, 17 bis 25 Links pro Episode
   ========================================================================== */

/* Der Player darf breiter stehen als der Text. */
.entry--episode .entry__content {
  max-width: none;
}

.entry--episode .entry__content > p {
  max-width: var(--measure);
}

/* Einspaltig. Ein Zweispalten-Raster zerreißt die Liste, weil Gruppen und lose
   Links gemischt vorkommen — manche Episoden gruppieren, andere nicht. */
.entry--episode .entry__content ul.wp-block-list {
  list-style: none;
  max-width: 62ch;
  margin: var(--sp-5) 0;
  padding: 0;
}

.episode-layout__notes > ul.wp-block-list {
  max-width: none;
}

.entry--episode .entry__content ul.wp-block-list > li {
  margin: 0;
}

/* Lose Links: eine klickbare Zeile mit Chip. */
.entry--episode .entry__content ul.wp-block-list a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.entry--episode .entry__content li > a:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* Die ganze Zeile reagiert, nicht nur der Linktext. */
.entry--episode .entry__content ul.wp-block-list > li:not(.shownote-group),
.entry--episode .shownote-group > ul > li {
  padding: 0.4rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: var(--radius-sm);
}

.entry--episode .entry__content ul.wp-block-list > li:not(.shownote-group):hover,
.entry--episode .shownote-group > ul > li:hover {
  background: var(--navy-700);
}

/* Ein <li> mit eigenem Text und Unterliste ist eine Gruppe. Der Filter in
   inc/shownotes.php markiert sie; Episoden ohne Gruppen bleiben eine flache Liste. */
.entry--episode .shownote-group {
  margin-top: var(--sp-5);
}

.shownote-group__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}

.entry--episode .shownote-group:first-child {
  margin-top: 0;
}

.entry--episode .shownote-group > ul {
  list-style: none;
  margin: var(--sp-2) 0 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

/* Unterpunkte eines einzelnen Links (kein Gruppenkopf) rücken ein. */
.entry--episode .entry__content ul.wp-block-list > li:not(.shownote-group) > ul {
  list-style: none;
  margin: var(--sp-1) 0 0;
  padding-inline-start: var(--sp-5);
}

/* Quellen-Chip, aus der Domain abgeleitet. Unbekannte Domains bekommen keines —
   ein Chip „Transparent-laden“ neben „Transparent Laden“ verdoppelt nur. */
.shownote-src {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--navy-700);
  padding: 0.15rem 0.4rem;
  margin-inline-end: 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  vertical-align: 0.05em;
}

/* Auf der Zeile mit Hover-Fläche hebt sich das Chip sonst nicht mehr ab. */
.entry--episode li:hover > .shownote-src {
  background: var(--navy-900);
  color: var(--ink);
}

/* ==========================================================================
   Podlove Web Player
   ========================================================================== */

/* Farben und der standardmäßig offene Kapitel-Tab werden in den Einstellungen
   des Plugins gesetzt, nicht hier. Siehe design/STYLEGUIDE.md, Abschnitt 6. */
.podlove-web-player {
  margin: 0 0 var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  max-width: 950px;
}

/* ==========================================================================
   Podlove Publisher — Contributor-Karten und Download-Zeile
   ========================================================================== */

/* Podlove schreibt sein CSS als <style> in den Body, also nach diesem Stylesheet.
   Bei gleicher Spezifität gewinnt es, deshalb der zusätzliche Selektor statt
   eines !important. Der weiße Kartenhintergrund ist dort fest verdrahtet, eine
   Textfarbe setzt das Plugin nicht — die Namen erbten sonst --ink auf Weiß. */
.entry__content .podlove-contributors-cards {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.entry__content .podlove-contributors-card + .podlove-contributors-card {
  border-top: 1px solid var(--line);
}

.entry__content .podlove-contributors-card-person {
  color: var(--ink);
}

.entry__content .podlove-contributors-card-person-details {
  color: var(--muted);
}

.entry__content .podlove-contributors-card-avatar img {
  border-radius: var(--radius-sm);
}

/* Download-Zeile: Auswahlliste und zwei Knöpfe nebeneinander. */
.entry__content .episode_downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.entry__content .episode_downloads select {
  font: inherit;
  font-size: var(--fs-sm);
  width: auto;
  background: var(--navy-800);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
}

/* In der schmalen Spalte passen Auswahl und beide Knöpfe nicht nebeneinander.
   Die Auswahl bekommt deshalb eine eigene Zeile, die Knöpfe teilen sich die zweite. */
@media (min-width: 1000px) {
  .episode-layout__media .episode_downloads select {
    flex: 1 0 100%;
    width: 100%;
  }
}

.entry__content .episode_downloads button {
  margin-left: 0;
}

/* „Show URL" ist die leisere der beiden Aktionen. */
.entry__content .podlove-download-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--line);
}

.entry__content .podlove-download-secondary:hover {
  background: var(--navy-700);
  border-color: var(--teal);
  color: var(--teal);
}


/* ==========================================================================
   Kommentare
   ========================================================================== */

.comments-area {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
  font-size: var(--fs-h3);
}

.comment-list {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.comment-list .children {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding-inline-start: var(--sp-5);
  border-inline-start: 1px solid var(--line);
  display: grid;
  gap: var(--sp-4);
}

.comment-body {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-3);
}

.comment-author .fn {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

.comment-author img {
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: var(--sp-2);
}

.comment-content {
  font-size: var(--fs-sm);
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply a {
  font-size: var(--fs-xs);
  font-weight: 500;
}

/* ==========================================================================
   Formulare und Knöpfe
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  font: inherit;
  font-size: var(--fs-sm);
  width: 100%;
  background: var(--navy-900);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgb(44 213 210 / 0.2);
}

.button,
button,
input[type="submit"] {
  display: inline-block;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  background: var(--teal);
  color: var(--on-accent);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.1rem;
  text-decoration: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: #45e3e0;
  color: var(--on-accent);
}

.search-form {
  display: flex;
  gap: var(--sp-2);
  max-width: 34rem;
  margin-bottom: var(--sp-5);
}

.search-form .button {
  flex: none;
}

.comment-form label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-1);
}

.comment-form p {
  margin-bottom: var(--sp-4);
}

/* ==========================================================================
   Blätternavigation
   ========================================================================== */

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.pagination .page-numbers {
  display: inline-block;
  min-inline-size: 2.5rem;
  text-align: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-family: var(--font-mono);
  color: var(--muted);
}

.pagination .page-numbers:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--on-accent);
  font-weight: 500;
}

/* ==========================================================================
   Fuß
   ========================================================================== */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--navy-800);
  padding-block: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: space-between;
}

.site-foot a {
  color: var(--muted);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.site-foot__name {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.site-foot__claim {
  margin-bottom: var(--sp-3);
  max-width: 44ch;
}

.site-foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.site-foot__heading {
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.subs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.subs a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: var(--fs-xs);
  font-weight: 500;
}

.subs a:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

/* ==========================================================================
   WordPress-Standardklassen
   ========================================================================== */

.alignleft {
  float: left;
  margin: 0 var(--sp-4) var(--sp-3) 0;
}

.alignright {
  float: right;
  margin: 0 0 var(--sp-3) var(--sp-4);
}

.aligncenter {
  margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption,
figcaption {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: var(--sp-2);
}

.sticky .episode {
  border-color: var(--amber);
}

/* ==========================================================================
   Bewegung
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .graph-line {
    stroke-dasharray: 4 6;
    animation: dtrfm-dash 9s linear infinite;
  }

  @keyframes dtrfm-dash {
    to {
      stroke-dashoffset: -100;
    }
  }
}

/* ==========================================================================
   Druck
   ========================================================================== */

@media print {
  .site-head,
  .site-foot,
  .podlove-web-player,
  .post-navigation,
  .comments-area {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
