/**
 * @file podcast-card.css
 * Podcast card styling.
 */

.podcast-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--vg-h-16);
  margin-bottom: var(--vg-space-3);
  padding-bottom: var(--vg-space-3);
  border-bottom: 1px solid var(--vg-color-border);
}

.podcast-card:last-child {
  border-bottom: none;
}

/* Cover art: square aspect ratio */
.podcast-card__cover {
  aspect-ratio: 1;
  overflow: hidden;
}

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

/* Episode label */
.podcast-card__episode {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vg-color-accent);
  margin-bottom: var(--vg-h-4);
}

/* Title */
.podcast-card__title {
  font-size: 1.1rem;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: var(--vg-space-1);
}

.podcast-card__title a {
  color: var(--vg-color-heading);
  text-decoration: none;
}

.podcast-card__title a:hover {
  color: var(--vg-color-primary);
}

/* Excerpt */
.podcast-card__excerpt {
  font-size: 0.85rem;
  line-height: 24px;
  color: var(--vg-color-text);
}

/* Responsive: stack on very small screens */
@media (max-width: 480px) {
  .podcast-card {
    grid-template-columns: 1fr;
  }

  .podcast-card__cover {
    max-width: 160px;
  }
}
