/* Podcast «اخبار آلمان» — Liste, Episodenseite, fixierter Player (RTL) */

.podcast-shell { padding-bottom: 7.5rem; }

.podcast-hero { margin: 1.2rem 0 1.6rem; }
.podcast-hero__lead { font-size: 1.05rem; color: var(--ink-soft, #45555e); max-width: 46rem; }

.podcast-ai-note {
  background: #eef6f8;
  border: 1px solid #cfe3e8;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 46rem;
}

.podcast-list { display: grid; gap: 1rem; }
.podcast-card {
  background: #fff;
  border: 1px solid #dde5ea;
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.podcast-card--latest { border-color: var(--sea, #2f6f7e); box-shadow: 0 2px 10px rgba(47, 111, 126, 0.12); }
.podcast-card__meta {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  font-size: 0.85rem; color: #5a6b74; margin-bottom: 0.35rem;
}
.podcast-card__number { font-weight: 700; color: var(--sea, #2f6f7e); }
.podcast-card h2 { margin: 0.15rem 0 0.4rem; font-size: 1.2rem; line-height: 1.6; }
.podcast-card h2 a { color: inherit; text-decoration: none; }
.podcast-card h2 a:hover { color: var(--sea, #2f6f7e); }
.podcast-card__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.7rem; }

.podcast-pagination { display: flex; justify-content: space-between; margin: 1.4rem 0; }

.podcast-episode-head { margin: 1rem 0 1.4rem; }
.podcast-episode-head h1 { margin: 0.3rem 0; line-height: 1.5; }
.podcast-episode-head__meta { color: #5a6b74; font-size: 0.95rem; }
.podcast-episode-head__desc { max-width: 48rem; line-height: 1.9; }

.podcast-corrections {
  background: #fff7e8;
  border: 1px solid #ecd9ae;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
}
.podcast-corrections h2 { font-size: 1rem; margin: 0 0 0.4rem; }
.podcast-corrections li { font-size: 0.92rem; }
.podcast-corrections time { color: #8a6d1d; font-size: 0.85rem; margin-inline-end: 0.4rem; }

.podcast-chapters ol { list-style: none; padding: 0; display: grid; gap: 0.3rem; }
.podcast-seek {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  background: #f4f8fa; border: 1px solid #dde5ea; border-radius: 9px;
  padding: 0.5rem 0.8rem; cursor: pointer; font: inherit; text-align: start;
}
.podcast-seek:hover { border-color: var(--sea, #2f6f7e); }
.podcast-seek__time {
  font-variant-numeric: tabular-nums; font-weight: 700;
  color: var(--sea, #2f6f7e); min-width: 3.2rem;
}

.podcast-transcript { margin-top: 1.6rem; }
.podcast-line {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  cursor: pointer;
  align-items: baseline;
}
.podcast-line:hover { background: #f4f8fa; }
.podcast-line.is-active { background: #e8f2f5; outline: 1px solid #bcd7de; }
.podcast-line__speaker { font-weight: 700; color: var(--sea, #2f6f7e); font-size: 0.92rem; }
.podcast-line__text { margin: 0; line-height: 1.95; }
.podcast-line__time { font-size: 0.8rem; color: #8aa0a9; font-variant-numeric: tabular-nums; }

.podcast-sources { margin-top: 1.8rem; }
.podcast-sources__topic h3 { margin: 0.8rem 0 0.3rem; font-size: 1.02rem; }
.podcast-sources__topic ul { margin: 0; padding-inline-start: 1.2rem; }
.podcast-sources__topic li { line-height: 1.9; font-size: 0.95rem; }
.podcast-sources__note { margin-top: 1rem; font-size: 0.88rem; color: #5a6b74; }

/* Hero-Badge auf dunklem Grund gut lesbar (Betreiber-Wunsch: weiß) */
.podcast-hero .chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Großer Player (Spotify-Stil) — Übersicht & Episodenseite */
.bigp svg[hidden], .podcast-player svg[hidden], .pmini svg[hidden] {
  display: none !important; /* [hidden] greift nicht sicher auf SVG */
}
.bigp { margin: 0.9rem 0 0.4rem; }
.bigp__timeline {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem; font-variant-numeric: tabular-nums; color: #6b8691;
}
.bigp__time { min-width: 2.6rem; }
.bigp__time:last-child { text-align: right; }
.bigp__bar {
  position: relative; flex: 1; height: 6px; border-radius: 999px;
  background: #e3edf1; cursor: pointer; touch-action: none;
}
.bigp__bar::before { /* größere Touch-Fläche */
  content: ""; position: absolute; inset: -10px 0;
}
.bigp__buffer {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px;
  background: #cfdfe6;
}
.bigp__fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #10646f, #2f8fa0);
}
.bigp__thumb {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 2px solid #10646f;
  box-shadow: 0 1px 5px rgba(13, 42, 51, 0.35);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease; pointer-events: none;
}
.bigp__bar:hover .bigp__thumb,
.bigp--scrub .bigp__thumb,
.bigp__bar:focus-visible .bigp__thumb { transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .bigp__thumb { transform: translate(-50%, -50%) scale(1); } }
.bigp__bar:focus-visible { outline: 2px solid #7fc4d2; outline-offset: 4px; }

.bigp__controls {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin-top: 0.8rem; min-height: 64px;
}
.bigp__center { display: flex; align-items: center; gap: 1.4rem; }
.bigp button {
  background: transparent; border: 0; cursor: pointer; font: inherit;
  display: grid; place-items: center; color: #46626d;
}
.bigp__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: #10646f !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(16, 100, 111, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bigp__play:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(16, 100, 111, 0.45); }
.bigp__play:active { transform: scale(0.97); }
.bigp--playing .bigp__play { background: #0d3b45 !important; }
.bigp__skip {
  width: 46px; height: 46px; border-radius: 50%;
  transition: color 0.15s ease, transform 0.15s ease;
}
.bigp__skip:hover { color: #10646f; transform: scale(1.08); }
.bigp__rate, .bigp__spacer {
  position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
}
.bigp__spacer { inset-inline-start: auto; inset-inline-end: 0; width: 52px; }
.bigp__rate {
  min-width: 56px; padding: 0.3rem 0.7rem; border-radius: 999px;
  border: 1.5px solid #d6e2e7 !important; font-size: 0.86rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: #46626d;
  transition: all 0.15s ease;
}
.bigp__rate:hover { border-color: #10646f !important; color: #10646f; }
.bigp__rate.is-active { background: #10646f !important; border-color: #10646f !important; color: #fff; }

/* Cookie-Knopf über den fixierten Player heben (sonst verdeckt er Play) */
body:has(.podcast-player) .cookie-reopen {
  bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

/* Fixierter Player (Episodenseite) */
.podcast-player {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(16, 36, 43, 0.97); color: #eef6f8;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem max(1rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.3);
}
.podcast-player button {
  background: transparent; border: 0; color: #b9cdd4; cursor: pointer;
  font: inherit; display: grid; place-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}
.podcast-player button:hover { color: #fff; }
.podcast-player__play {
  width: 3rem; height: 3rem; border-radius: 50%; flex: 0 0 auto;
  background: #eef6f8 !important; color: #10242b !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.podcast-player__play:hover { transform: scale(1.07); }
.podcast-player__play:active { transform: scale(0.96); }
.podcast-player__back, .podcast-player__fwd {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
}
.podcast-player__timeline {
  flex: 1; display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-variant-numeric: tabular-nums; color: #9db4bc;
}
.podcast-player .bigp__bar { background: #2c4a53; }
.podcast-player .bigp__buffer { background: #3d5f69; }
.podcast-player .bigp__fill { background: linear-gradient(90deg, #7fc4d2, #a8dde8); }
.podcast-player .bigp__thumb { border-color: #7fc4d2; }
.podcast-player__rate {
  min-width: 52px; padding: 0.25rem 0.55rem; border-radius: 999px;
  border: 1.5px solid #35565f !important; font-size: 0.82rem; font-weight: 700;
  font-variant-numeric: tabular-nums; flex: 0 0 auto;
}
.podcast-player__rate:hover { border-color: #7fc4d2 !important; }
.podcast-player__rate.is-active {
  background: #7fc4d2 !important; border-color: #7fc4d2 !important; color: #10242b !important;
}

@media (max-width: 560px) {
  .podcast-line { grid-template-columns: 1fr auto; }
  .podcast-line__speaker { grid-column: 1 / -1; }
  .podcast-player { flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
  .podcast-player__timeline { order: 5; flex-basis: 100%; }
  .bigp__center { gap: 1rem; }
  .bigp__play { width: 58px; height: 58px; }
}

/* Hörerfragen-Formular */
.podcast-question {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid #dde5ea;
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.podcast-question form { display: grid; gap: 0.6rem; max-width: 34rem; }
.podcast-question input[type="text"], .podcast-question textarea {
  border: 1px solid #c9d6dc; border-radius: 9px; padding: 0.55rem 0.7rem;
  font: inherit; background: #fbfdfe;
}
.podcast-question__status { font-size: 0.9rem; color: var(--sea, #2f6f7e); }

/* «Täglich empfangen»-Block */
.podcast-follow {
  background: #fff;
  border: 1px solid #dde5ea;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}
.podcast-follow h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.podcast-follow__buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ===== Runde 4: Listen-Redesign (Hero, Feature, Kalender, Archiv) ===== */

.podcast-hero--banner {
  display: grid; grid-template-columns: 1fr 220px; gap: 1.4rem;
  align-items: center;
  background:
    radial-gradient(800px 260px at 15% -30%, rgba(127, 196, 210, 0.2), transparent 60%),
    linear-gradient(135deg, #0f232a, #14313b);
  color: #eef6f8; border-radius: 20px;
  padding: 1.6rem 1.8rem; margin-bottom: 1.4rem;
}
.podcast-hero--banner h1 { color: #ffffff; }
.podcast-hero--banner .podcast-hero__lead { color: #cfe3e9; }
.podcast-hero--banner .podcast-ai-note { color: #9db9c1; background: rgba(255,255,255,0.06); }
.podcast-hero__art { border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,0.45); justify-self: end; }

.pfeature {
  background: #ffffff; border: 1px solid #dde5ea; border-radius: 18px;
  padding: 1.3rem 1.5rem; margin: 0 0 1.4rem;
  box-shadow: 0 8px 24px rgba(16, 42, 51, 0.07);
}
.pfeature__badge {
  display: inline-block; background: #e5f3f6; color: #10646f;
  border-radius: 999px; padding: 0.2rem 0.8rem;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem;
}
.pfeature__title { margin: 0 0 0.25rem; font-size: 1.35rem; }
.pfeature__title a { color: #10242b; text-decoration: none; }
.pfeature__title a:hover { color: #1d6e7e; }
.pfeature__meta { color: #6b8691; margin: 0 0 0.4rem; font-size: 0.9rem; }
.pfeature__desc { margin: 0 0 0.4rem; }
.pfeature .pmini__time { color: #6b8691; }
.pfeature .pmini__bar { background: #e3edf1; }

/* Kalender */
.pcal { background: #ffffff; border: 1px solid #dde5ea; border-radius: 18px;
  padding: 1.1rem 1.3rem; margin: 0 0 1.4rem; }
.pcal__head { display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }
.pcal__head h2 { margin: 0; font-size: 1.1rem; }
.pcal__nav { display: flex; align-items: center; gap: 0.5rem; }
.pcal__title { font-weight: 700; }
.pcal__title small { color: #6b8691; font-weight: 400; margin-inline-start: 0.4rem; }
.pcal__navbtn { display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  align-items: center; justify-content: center; border: 1px solid #cfdde3;
  color: #10646f; text-decoration: none; font-size: 1.1rem; }
.pcal__navbtn:hover { background: #e5f3f6; }
.pcal__navbtn--off { opacity: 0.3; pointer-events: none; }
.pcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pcal__wd { text-align: center; font-size: 0.78rem; color: #6b8691; padding-bottom: 2px; }
.pcal__wd--fri { color: #b4762a; }
.pcal__day { position: relative; min-height: 58px; border-radius: 12px;
  border: 1px solid #e3edf1; background: #f7fafb;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; text-decoration: none; }
.pcal__day--empty { border: none; background: transparent; }
.pcal__day--future { opacity: 0.4; }
.pcal__jd { font-weight: 700; color: #22424d; font-size: 1.02rem; }
.pcal__gd { font-size: 0.66rem; color: #93a9b1; }
.pcal__dot { font-size: 0.6rem; color: #1d8a9c; line-height: 1; }
.pcal__day--ep { background: #e5f3f6; border-color: #bfe0e8; }
.pcal__day--ep:hover { background: #d2ebf1; transform: translateY(-1px); }
.pcal__day--ep .pcal__jd { color: #0f5560; }
.pcal__day--today { outline: 2px solid #7fc4d2; outline-offset: 1px; }
.pcal__legend { margin: 0.7rem 0 0; font-size: 0.8rem; color: #6b8691; }

/* Archiv-Grid */
.parchive h2 { font-size: 1.15rem; margin: 0 0 0.8rem; }
.parchive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0.9rem; }
.parchive .podcast-card { margin: 0; }
.parchive .podcast-card h3 { margin: 0.35rem 0; font-size: 1.02rem; }
.parchive .podcast-card h3 a { color: #10242b; text-decoration: none; }
.parchive .podcast-card h3 a:hover { color: #1d6e7e; }

/* Mini-Player (Light-Variante der Liste) */
.pmini { display: flex; align-items: center; gap: 0.7rem; margin: 0.5rem 0; }
.pmini__btn { width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: #10646f; color: #ffffff; display: inline-flex; align-items: center;
  justify-content: center; box-shadow: 0 6px 16px rgba(16, 100, 111, 0.35);
  transition: transform 0.12s ease; }
.pmini__btn:hover { transform: scale(1.06); }
.pmini--playing .pmini__btn { background: #7fc4d2; color: #0f232a; }
.pmini__bar { flex: 1; height: 8px; border-radius: 999px; background: #e3edf1;
  cursor: pointer; overflow: hidden; }
.pmini__fill { width: 0; height: 100%; background: #10646f; border-radius: 999px; }
.pmini__time { font-size: 0.8rem; color: #6b8691; min-width: 86px; text-align: left; }

@media (max-width: 720px) {
  .podcast-hero--banner { grid-template-columns: 1fr; }
  .podcast-hero__art { justify-self: center; width: 170px; height: 170px; }
  .pcal__day { min-height: 48px; }
}
