/* ========================================================
   Mindful Zen — Podcasts page (/podcasts.html)
   Curated free meditation talks & guided sessions.
   Each episode = a card with a native HTML5 audio player.
   ======================================================== */

.pod-main {
  max-width: 980px;
  padding-top: 24px;
  padding-bottom: 60px;
}

/* HERO */
.pod-hero {
  text-align: center;
  padding: 28px 16px 24px;
  margin-bottom: 24px;
}
.pod-hero-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.25));
}
.pod-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--mag-ink, #1a1a1a);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.pod-subtitle {
  font-size: 15px;
  color: var(--mag-ink-soft, #666);
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.55;
}

/* FILTER CHIPS */
.pod-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.pod-filter-chip {
  padding: 8px 18px;
  background: var(--mag-card, #fff);
  border: 1px solid var(--mag-border, #e5e5e5);
  border-radius: 999px;
  color: var(--mag-ink-soft, #555);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.pod-filter-chip:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-1px);
}
.pod-filter-chip.active {
  background: linear-gradient(135deg, #7c3aed, #0d9488);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}
.pod-filter-chip.active:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* GRID */
.pod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

/* EPISODE CARD */
.pod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: var(--mag-card, #fff);
  border: 1px solid var(--mag-border, #e5e5e5);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.pod-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.10);
}
.pod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #5eead4);
  opacity: 0.6;
}

.pod-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.pod-emoji {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.10), rgba(94,234,212,0.12));
  border-radius: 14px;
  font-size: 28px;
  line-height: 1;
}
.pod-head-text { flex: 1; min-width: 0; }
.pod-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--mag-ink, #1a1a1a);
  margin: 0 0 4px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.pod-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mag-ink-soft, #888);
}
.pod-host { font-weight: 600; }
.pod-dot { opacity: 0.4; }
.pod-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(124, 58, 237, 0.10);
  color: #7c3aed;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pod-desc {
  font-size: 13.5px;
  color: var(--mag-ink-soft, #666);
  line-height: 1.55;
  margin: 4px 0 14px;
}

.pod-audio {
  width: 100%;
  height: 38px;
  margin-top: 4px;
  border-radius: 999px;
  outline: none;
}
.pod-audio::-webkit-media-controls-panel {
  background: rgba(124, 58, 237, 0.06);
  border-radius: 999px;
}

@media (max-width: 540px) {
  .pod-title { font-size: 24px; }
  .pod-grid { grid-template-columns: 1fr; }
  .pod-card { padding: 18px 16px 14px; }
}
