.podcast-page .site-shell {
  padding-bottom: 5rem;
}

.podcast-page main section[id] {
  scroll-margin-top: 6rem;
}

.podcast-hero {
  display: block;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 44, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 19, 8, 0.96), rgba(8, 11, 6, 0.84));
}

.podcast-hero h1 {
  margin: 0.65rem 0 0;
  font-family: "Cormorant Garamond", serif;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5.8vw, 4.4rem);
  line-height: 0.96;
}

.podcast-intro,
.section-lead {
  color: var(--muted);
  line-height: 1.8;
}

.podcast-intro {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.04rem;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 48rem;
}

.section-count {
  margin: 1rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.podcast-grid,
.archive-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.podcast-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.podcast-card,
.archive-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 16, 8, 0.92), rgba(8, 11, 6, 0.82));
  box-shadow: var(--shadow);
}

.podcast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.podcast-card:hover,
.archive-card:hover,
.link-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.podcast-card img,
.archive-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.podcast-card img {
  aspect-ratio: 16 / 9;
}

.podcast-card:not(.podcast-card-image) {
  background:
    radial-gradient(circle at top left, rgba(200, 255, 44, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(11, 16, 8, 0.94), rgba(8, 11, 6, 0.84));
}

.podcast-card:not(.podcast-card-image)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 68%);
  opacity: 0.85;
}

.podcast-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.05rem;
}

.podcast-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.podcast-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.podcast-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.podcast-card-copy > p:not(.podcast-tag) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.podcast-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(200, 255, 44, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.podcast-more {
  margin-top: 1.4rem;
}

.podcast-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(200, 255, 44, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.podcast-more > summary::-webkit-details-marker {
  display: none;
}

.podcast-more > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1;
}

.podcast-more[open] > summary::after {
  content: "-";
}

.podcast-more > summary:hover,
.podcast-more > summary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.podcast-more > .podcast-grid {
  margin-top: 1.25rem;
}

.button:focus-visible,
.link-pill:focus-visible,
.podcast-page .topnav a:focus-visible,
.podcast-page .mini-cta:focus-visible,
.podcast-more > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.archive-card img {
  aspect-ratio: 4 / 3;
}

.archive-card span {
  display: block;
  padding: 0.95rem 1rem 1.05rem;
  font-size: 0.96rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .podcast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .podcast-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .podcast-page .site-shell {
    width: min(calc(100% - 0.75rem), var(--max-width));
  }

  .podcast-page .topbar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "nav cta";
    gap: 0.7rem 0.9rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-radius: 22px;
  }

  .podcast-page .wordmark {
    grid-area: brand;
  }

  .podcast-page .topnav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 0.65rem;
    min-width: 0;
  }

  .podcast-page .mini-cta {
    grid-area: cta;
    justify-self: end;
    padding: 0.6rem 0.9rem;
  }

  .podcast-page .section {
    padding: 1.15rem;
  }

  .podcast-page .section-header {
    max-width: none;
  }

  .podcast-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 8vw, 3.35rem);
  }

  .podcast-intro {
    max-width: none;
    font-size: 0.98rem;
  }
}

@media (max-width: 560px) {
  .podcast-page .topbar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "cta";
  }

  .podcast-page .mini-cta {
    justify-self: start;
  }

  .podcast-actions {
    width: 100%;
  }

  .podcast-actions .button {
    flex: 1 1 0;
    min-width: 0;
  }
}
