/* ═══════════════════════════════════════════════════════════════════ */
/* PODCAST CARD — rendered by the Archive Cards block via                */
/* template-parts/archive-cards/archive-card-podcasts.php. Same card as  */
/* the podcast_cards content block, standalone here. The grid columns    */
/* are owned by archive_cards.css; this file styles the card interior.   */

.podcast-card {
  display: flex;
  flex-direction: column;

  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--box-border-radius-sm);
  overflow: hidden;

  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.podcast-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

/* media */

.podcast-card__image {
  display: block;
  height: 225px;
  overflow: hidden;
}

.podcast-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
  transition: transform 0.5s ease;
}

.podcast-card:hover .podcast-card__image img {
  transform: scale(1.04);
}

/* body */

.podcast-card__content {
  flex: 1 1 auto;
  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-card__title {
  margin: 0;
  color: var(--blue-dk);
}

.podcast-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.podcast-card:hover .podcast-card__title a {
  color: var(--purple-dk);
}

.podcast-card__excerpt {
  flex: 1;
  margin: 0;
}

/* platform links */

.podcast-card__platforms {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 16px;
}

.podcast-card__platforms a {
  display: inline-flex;
  align-items: center;
  color: var(--purple-dk);

  transition: color 0.2s ease, transform 0.2s ease;
}

.podcast-card__platforms a:hover {
  color: var(--purple-md);
  transform: scale(1.15);
}

/* Size via the .icon wrapper (em-based), not the raw svg, so every platform
   icon shares the same line-box and centers on the same baseline. */
.podcast-card__platforms .icon {
  font-size: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .podcast-card:hover {
    transform: none;
  }
}
