/* ===================== Podcast ===================== */
.mm-web-podcast {
  padding: 41px var(--gutter) 0; /* šedé pozadí začíná 41 px nad eyebrow (dle Figmy) */
  background: var(--bg-subtle);
  color: var(--fg-base);
}

/* Lead + autoři — pravý sloupec 907 px (stejný rytmus jako Konference) */
.mm-web-podcast__copy {
  max-width: 907px;
  margin: 80px 0 0 auto;
}

.mm-web-podcast__authors {
  display: flex;
  gap: 32px;
  margin: 64px 0 0;
  padding: 0 0 64px;
  list-style: none;
  border-bottom: 1px solid rgba(10, 44, 34, 0.07);
}
.mm-web-podcast__author { flex: 1; }
.mm-web-podcast__author-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mm-web-podcast__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.mm-web-podcast__author-name {
  margin: 0;
  font-family: "Founders Grotesk", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}
.mm-web-podcast__author-role {
  margin: 4px 0 0;
  font-family: "Inter Display", system-ui, sans-serif;
  font-size: 14px;
}
.mm-web-podcast__author-bio {
  margin: 24px 0 0;
  font-family: "Inter Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.mm-web-podcast__author-links {
  margin: 24px 0 0;
  font-family: "Inter Display", system-ui, sans-serif;
  font-size: 14px;
  opacity: 0.6;
}
.mm-web-podcast__author-links a { color: inherit; }
.mm-web-podcast__author-links a:hover { text-decoration: none; }

/* Epizody — 3 thumbnaily vedle sebe */
.mm-web-podcast__episodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 128px 0 0;
  padding: 0;
  list-style: none;
}
/* Celá karta je odkaz; na hover se fotka uvnitř výřezu lehce přiblíží */
.mm-web-podcast__episode-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.mm-web-podcast__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-contrast);
}
/* Images::get_image() vrací <picture> – nechceme ho jako box, ať platí object-fit na <img>. */
picture.mm-web-podcast__thumb-photo {
  display: contents;
}
.mm-web-podcast__thumb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mm-web-podcast__episode-link:hover .mm-web-podcast__thumb-photo {
  transform: scale(1.05);
}
.mm-web-podcast__thumb-logo {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 60px;
  height: auto;
}
.mm-web-podcast__episode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.mm-web-podcast__episode-name {
  margin: 0;
  font-family: "Founders Grotesk", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.mm-web-podcast__duration {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  flex-shrink: 0;
  background: var(--blue-muted);
  border-radius: 4px;
  font-family: "Inter Display", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
}
.mm-web-podcast__episode-desc {
  margin: 8px 0 0;
  font-family: "Inter Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.mm-web-podcast__cta {
  margin: 80px 0 0;
  padding-bottom: 128px; /* spodek šedého pozadí sekce */
  text-align: center;
}

/* ===================== Mobil (≤900px) ===================== */
@media (max-width: 900px) {
  .mm-web-podcast__copy { margin-top: 48px; }

  /* autoři pod sebou */
  .mm-web-podcast__authors {
    flex-direction: column;
    gap: 64px;
    margin-top: 48px;
    padding-bottom: 40px;
  }
  .mm-web-podcast__author-name { font-size: 28px; }

  /* epizody = swipe carousel (1 karta na obrazovku, tečky generuje JS) */
  .mm-web-podcast__episodes {
    display: flex;
    gap: 16px;
    margin-top: 64px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mm-web-podcast__episodes::-webkit-scrollbar { display: none; }
  .mm-web-podcast__episode {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .mm-web-podcast__cta {
    margin-top: 48px;
    padding-bottom: 64px; /* spodek šedého pozadí (desktop 128) */
  }
}
