/* Podkāsti — Mediju Līga editorial */
.podcasts-page,
.podcast-episode-page {
  --pd-lime: #acdd00;
  --pd-lime-dark: #8bb100;
  --pd-ink: #0a0a0a;
  --pd-navy: #060b1b;
  --pd-muted: #9ca3af;
  --pd-line: rgba(0, 0, 0, 0.08);
  --pd-bg: #f7f7f8;
  --pd-font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --pd-font-body: Montserrat, Inter, system-ui, sans-serif;
  font-family: var(--pd-font-body);
  color: var(--pd-ink);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Index head ── */
.pc-head {
  background: #fff;
  border: 1px solid var(--pd-line);
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.04);
}

.pc-head__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1rem;
  border-bottom: 1px solid var(--pd-line);
  background:
    linear-gradient(90deg, rgba(172, 221, 0, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.pc-head__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pd-lime-dark);
}

.pc-head__title {
  margin: 0;
  font-family: var(--pd-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--pd-ink);
}

.pc-head__sub {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--pd-muted);
  font-weight: 500;
  max-width: 28rem;
}

.pc-head__mark {
  display: none;
  width: 56px;
  height: 56px;
  background: var(--pd-navy);
  color: var(--pd-lime);
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .pc-head__mark { display: inline-flex; }
}

/* ── Episode list (index) ── */
.pc-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pc-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--pd-line);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.03);
}

.pc-row:hover {
  border-color: rgba(172, 221, 0, 0.55);
  background: linear-gradient(90deg, rgba(172, 221, 0, 0.06), #fff 40%);
  color: inherit;
  transform: translateY(-1px);
}

.pc-row__cover {
  position: relative;
  width: 96px;
  height: 96px;
  background: var(--pd-navy);
  overflow: hidden;
}

.pc-row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-row__cover-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pd-lime);
  font-size: 1.6rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(172, 221, 0, 0.22), transparent 55%),
    var(--pd-navy);
}

.pc-row__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 27, 0.35);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pc-row__play span {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pd-lime);
  color: var(--pd-navy);
  font-size: 0.75rem;
}

.pc-row:hover .pc-row__play { opacity: 1; }

.pc-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
  margin-bottom: 0.3rem;
}

.pc-row__meta .is-lime { color: var(--pd-lime-dark); }

.pc-row__title {
  margin: 0 0 0.25rem;
  font-family: var(--pd-font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--pd-ink);
}

.pc-row__guest {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.pc-row__dur {
  display: none;
  font-family: var(--pd-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--pd-navy);
  padding-right: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .pc-row__dur { display: block; }
}

@media (max-width: 520px) {
  .pc-row {
    grid-template-columns: 72px 1fr;
  }
  .pc-row__cover {
    width: 72px;
    height: 72px;
  }
}

.pc-empty {
  background: #fff;
  border: 1px solid var(--pd-line);
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--pd-muted);
}

.pc-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pd-navy);
  color: var(--pd-lime);
  font-size: 1.35rem;
}

.pc-empty p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.pc-pager {
  margin-top: 1.25rem;
}

/* ── Episode page ── */
.podcast-episode-page {
  max-width: 860px;
}

.pc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
  text-decoration: none;
}

.pc-back:hover {
  color: var(--pd-navy);
  text-decoration: none;
}

.pc-ep {
  background: #fff;
  border: 1px solid var(--pd-line);
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.04);
  margin-bottom: 1.25rem;
}

.pc-ep__head {
  padding: 1.35rem 1.35rem 1.1rem;
  border-bottom: 1px solid var(--pd-line);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.pc-ep__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-lime-dark);
}

.pc-ep__title {
  margin: 0 0 0.85rem;
  font-family: var(--pd-font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pc-ep__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.78rem;
  color: var(--pd-muted);
  margin-bottom: 0.9rem;
}

.pc-ep__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #64748b;
}

.pc-ep__meta-item strong {
  color: var(--pd-ink);
  font-weight: 700;
}

.pc-ep__dot { opacity: 0.45; }

.pc-ep__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pc-ep__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--pd-ink);
  border-radius: 0;
  background: var(--pd-navy);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.pc-ep__btn:hover {
  background: var(--pd-ink);
  border-color: var(--pd-lime);
  color: #fff;
  text-decoration: none;
}

.pc-ep__btn--ghost {
  background: transparent;
  color: var(--pd-ink);
}

.pc-ep__btn--ghost:hover {
  background: rgba(172, 221, 0, 0.08);
  border-color: var(--pd-lime);
  color: var(--pd-ink);
}

.pc-ep__btn--lime {
  background: var(--pd-lime);
  border-color: var(--pd-lime);
  color: var(--pd-navy);
}

.pc-ep__btn--lime:hover {
  background: var(--pd-lime-dark);
  border-color: var(--pd-lime-dark);
  color: var(--pd-navy);
}

/* Player stage */
.pc-stage {
  position: relative;
  background: var(--pd-navy);
  color: #fff;
  padding: 1.35rem;
  overflow: hidden;
}

.pc-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(172, 221, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(172, 221, 0, 0.08), transparent 50%);
  pointer-events: none;
}

.pc-stage__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 640px) {
  .pc-stage__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.pc-stage__art {
  width: 160px;
  aspect-ratio: 1;
  background: #0a1224;
  border: 2px solid rgba(172, 221, 0, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pc-stage__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-stage__art-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pd-lime);
  font-size: 2.6rem;
  background:
    radial-gradient(circle at 35% 30%, rgba(172, 221, 0, 0.25), transparent 55%),
    #0a1224;
}

.pc-stage__label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-lime);
}

.pc-stage__people {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (max-width: 640px) {
  .pc-stage__art { width: 140px; }
}

/* Custom player */
.pc-player {
  --pc-progress: 0%;
}

.pc-player__controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .pc-player__controls {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pc-player__track {
    order: 10;
    flex: 1 1 100%;
    margin-top: 0.35rem;
  }
}

.pc-player__btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 0;
  background: var(--pd-lime);
  color: var(--pd-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.12s ease;
}

.pc-player__btn:hover {
  background: #c5f033;
  transform: scale(1.03);
}

.pc-player__btn:active {
  transform: scale(0.97);
}

.pc-player__skip {
  min-width: 40px;
  height: 36px;
  padding: 0 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pc-player__skip:hover {
  border-color: var(--pd-lime);
  color: var(--pd-lime);
  background: rgba(172, 221, 0, 0.08);
}

.pc-player__track {
  flex: 1;
  min-width: 0;
}

.pc-player__bar {
  position: relative;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 0;
  cursor: pointer;
  margin-bottom: 0.4rem;
  overflow: hidden;
}

.pc-player__bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pc-progress);
  background: linear-gradient(90deg, var(--pd-lime), #c8f03a);
}

.pc-player__bar-knob {
  position: absolute;
  top: 50%;
  left: var(--pc-progress);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: #fff;
  border: 2px solid var(--pd-lime);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pc-player__bar:hover .pc-player__bar-knob {
  opacity: 1;
}

.pc-player__times {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.pc-player__speed {
  margin-left: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  border-radius: 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pc-player__speed:hover {
  border-color: var(--pd-lime);
  color: var(--pd-lime);
  background: rgba(172, 221, 0, 0.08);
}

.pc-ep__body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.pc-ep__body h2 {
  margin: 0 0 0.65rem;
  font-family: var(--pd-font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pc-ep__body p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1f2937;
  white-space: pre-wrap;
}

/* Related */
.pc-related {
  margin-top: 0.25rem;
}

.pc-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pc-related__title {
  margin: 0;
  font-family: var(--pd-font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pc-related__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-navy);
  text-decoration: none;
}

.pc-related__link:hover {
  color: var(--pd-lime-dark);
}

/* Homepage strip */
.podcasts-home-block {
  margin: 0 0 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.04);
  overflow: hidden;
}

.podcasts-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.podcasts-home-head h3 {
  margin: 0;
  font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0a0a0a;
  line-height: 0.95;
}

.podcasts-home-head .pc-home-kicker {
  display: block;
  margin: 0 0 0.15rem;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #acdd00;
}

.podcasts-home-head a {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #060b1b;
  text-decoration: none;
}

.podcasts-home-head a:hover { color: #8bb100; }

.podcasts-home-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.85rem 1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.podcasts-home-scroll::-webkit-scrollbar { display: none; }

.podcasts-home-item {
  flex: 0 0 132px;
  scroll-snap-align: start;
  text-decoration: none !important;
  color: inherit;
}

.podcasts-home-item__cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #060b1b;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.podcasts-home-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.podcasts-home-item__cover-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #acdd00;
  font-size: 1.6rem;
}

.podcasts-home-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 27, 0.35);
  opacity: 0;
  transition: opacity 0.15s ease;
  color: #060b1b;
}

.podcasts-home-item__play i {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #acdd00;
  font-size: 0.75rem;
}

.podcasts-home-item:hover .podcasts-home-item__play { opacity: 1; }

.podcasts-home-item__title {
  margin: 0.45rem 0 0;
  font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #0a0a0a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcasts-home-item__dur {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.68rem;
  color: #9ca3af;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
