/* Blog-style intro banner: text first, a single contained photo underneath
   (if any) — never a split two-column "magazine" layout. Width is capped to
   the same reading measure as article body copy (--container-article) so
   the homepage/show-page intro reads like the opening of a blog post. */
.pod-hero {
  max-width: var(--container-article);
  margin-inline: auto;
  padding-block: var(--space-7);
}

.pod-hero__title {
  margin: 0 0 var(--space-4);
}

.pod-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}

.pod-hero__cta {
  margin-top: var(--space-6);
}

@media screen and (max-width: 44.9375em) {
  .pod-hero {
    padding-block: var(--space-6);
  }
}

/* Episode/article post header — full-width cover image above the title,
   then a compact meta line (date · reading time) beneath it. */
.pod-post-cover {
  display: block;
  width: 100%;
  max-width: var(--container-article);
  margin: 0 auto var(--space-6);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.pod-post-meta {
  max-width: var(--container-article);
  margin: calc(var(--space-5) * -1) auto var(--space-5);
  color: var(--pod-ink-faint);
  font-size: 0.88rem;
}

/* Buttons — shared by CTA, newsletter, player subscribe links */
.pod-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7em 1.4em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Doubled-up class (".x.x") on the color rules: Material's own
   `.md-typeset a { color: var(--md-typeset-a-color) }` (and its `:hover`/
   `:focus` variant) sits inside an article using `.md-typeset`, and its
   specificity (class + element [+ pseudo-class]) otherwise beats a plain
   `.pod-button--primary` and leaves the button using link-blue text instead
   of the intended background-contrasting color. */
.pod-button--primary {
  background: var(--pod-ink);
}

.pod-button--primary.pod-button--primary {
  color: var(--pod-bg);
}

.pod-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.pod-button--primary.pod-button--primary:hover,
.pod-button--primary.pod-button--primary:focus {
  color: var(--pod-bg);
}

.pod-button--ghost {
  background: transparent;
  border: 1px solid var(--pod-border-strong);
}

.pod-button--ghost.pod-button--ghost {
  color: var(--pod-ink);
}

.pod-button--ghost:hover {
  border-color: var(--pod-ink);
}

.pod-button--ghost.pod-button--ghost:hover,
.pod-button--ghost.pod-button--ghost:focus {
  color: var(--pod-ink);
}

@media (prefers-reduced-motion: reduce) {
  .pod-button--primary:hover {
    transform: none;
  }
}
