/* =============================================
   PODCASTS PAGE
   assets/css/podcasts.css
   ============================================= */

.section-podcasts { background:var(--c-bg); }

/* Podcasts meta count */
.podcasts-meta {
  font-size:.85rem; color:var(--c-text-soft);
  margin-bottom:1.75rem;
}
.podcasts-meta span { font-weight:700; color:var(--c-text); }

/* Featured btn */
.podcast-featured-info .btn { margin-top:.5rem; }

/* ---- Video container (YouTube embed) ---- */
.video-container {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: #0d1b2a;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Featured episode */
.podcast-featured {
  display: flex;
  flex-direction: row;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 4rem;
  border: 1.5px solid var(--c-border);
}
.podcast-featured .video-container {
  width: 45%;
}
.podcast-featured-info {
  padding: 2.5rem 3rem;
  background: var(--c-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}
.podcast-featured-cat {
  font-size:.72rem; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--c-gold); display:block;
}
.podcast-featured-info h2 {
  font-family:var(--ff-serif); font-size:1.6rem;
  font-weight:700; color:var(--c-navy); line-height:1.25;
}
.podcast-featured-info p {
  font-size:.95rem; color:var(--c-text-soft); line-height:1.7;
}

/* Episodes grid */
.episodes-heading {
  font-family:var(--ff-serif); font-size:1.5rem;
  font-weight:700; color:var(--c-navy);
  margin-bottom:2rem;
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.podcast-card {
  background: var(--c-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Spotify container — layout vertical: reproductor arriba (ancho completo), contenido abajo */
.podcast-card .spotify-container {
  width: 100%;
  flex-shrink: 0;
  padding: 1rem;
  padding-bottom: 0;
  background: var(--c-card);
}
.podcast-card .spotify-container iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: none;
  border-radius: 12px;
}

.podcast-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.podcast-cat {
  font-size:.7rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--c-gold);
}
.podcast-info h3 {
  font-family:var(--ff-serif); font-size:1rem;
  font-weight:600; color:var(--c-navy); line-height:1.35;
}
.podcast-info p {
  font-size:.86rem; color:var(--c-text-soft); line-height:1.6; flex:1;
}

/* Empty state */
.podcasts-empty {
  grid-column:1/-1; text-align:center;
  padding:4rem 2rem; color:var(--c-text-soft);
  font-style:italic;
}

/* All episodes CTA */
.podcasts-cta { text-align:center; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .podcast-featured {
    flex-direction: column;
  }
  .podcast-featured .video-container {
    width: 100%;
    border-radius: 16px 16px 0 0;
  }
  .podcast-featured-info {
    padding: 2rem;
  }

  .podcast-card {
    flex-direction: column;
  }
  .podcast-card .spotify-container {
    padding: 1rem 1rem 0;
  }
}
@media (max-width: 520px) {
  .podcasts-grid {
    grid-template-columns: 1fr;
  }
}
