/* Episodes carousel — Law Disrupted style, Dimopoulos palette */

.epx {
  --epx-card: 380px;
  --epx-gap: 28px;
  --epx-blue: #7BA9C8;
  --epx-deep: #0F2748;
  padding: 80px 64px 64px;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

/* Light tone: matches Option A hero / light sections */
.epx--light {
  background: #eef3f7;  /* very pale Dimopoulos blue */
  color: #1f1d1a;
}
/* Dark tone: matches Options B / C hero */
.epx--dark {
  background: #131211;
  color: #f6f4ef;
}

/* Header */
.epx-head { text-align: center; margin-bottom: 48px; }
.epx-eyebrow {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--epx-deep);
}
.epx--dark .epx-eyebrow { color: var(--epx-blue); }

/* Carousel layout — nav buttons OUTSIDE the viewport so they don't overlap cards */
.epx-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 16px;
  align-items: center;
}
.epx-viewport {
  overflow: hidden;
}
.epx-track {
  display: flex;
  gap: var(--epx-gap);
  transition: transform 480ms cubic-bezier(0.22, 0.94, 0.32, 1);
}
.epx-card {
  flex: 0 0 var(--epx-card);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 39, 72, 0.08), 0 2px 6px rgba(15, 39, 72, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.epx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 39, 72, 0.16), 0 4px 10px rgba(15, 39, 72, 0.08);
}
.epx--dark .epx-card {
  background: #1f1d1a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Nav buttons */
.epx-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms ease;
  margin: 0 auto;
}
.epx--light .epx-nav { color: var(--epx-deep); border-color: rgba(15,39,72,0.25); }
.epx--light .epx-nav:hover:not(:disabled) { background: var(--epx-deep); color: #fff; border-color: var(--epx-deep); }
.epx--dark .epx-nav  { color: var(--epx-blue); border-color: rgba(123,169,200,0.4); }
.epx--dark .epx-nav:hover:not(:disabled) { background: var(--epx-blue); color: #131211; border-color: var(--epx-blue); }
.epx-nav:disabled { opacity: 0.3; cursor: not-allowed; }

/* Thumbnail with accent strokes */
.epx-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1c1a18;
  overflow: hidden;
}
.epx-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); display: block; }

/* Two angled brand-blue stripes mimicking the brush-stroke pattern of the
   Law Disrupted card; subtle, sit on top of the image. */
.epx-stroke {
  position: absolute;
  width: 140%;
  height: 14px;
  background: var(--epx-blue);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: normal;
}
.epx-stroke--tl {
  top: 22%; left: -20%;
  transform: rotate(-9deg);
  clip-path: polygon(2% 30%, 12% 0%, 96% 10%, 100% 70%, 88% 100%, 8% 90%);
}
.epx-stroke--br {
  bottom: 18%; left: -20%;
  transform: rotate(-9deg);
  height: 8px;
  opacity: 0.7;
  clip-path: polygon(4% 50%, 16% 0%, 92% 20%, 100% 80%, 80% 100%, 6% 80%);
}

.epx-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0F2748;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 180ms ease, background 180ms ease;
}
.epx-play svg { margin-left: 3px; }
.epx-card:hover .epx-play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }

/* Body */
.epx-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.epx-num {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--epx-blue);
  font-weight: 700;
}
.epx-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--epx-deep);
  text-wrap: balance;
}
.epx--dark .epx-title { color: #f6f4ef; }
.epx-guest {
  font-size: 14px;
  color: #6b6358;
  margin: 0;
  line-height: 1.45;
}
.epx--dark .epx-guest { color: rgba(246,244,239,0.6); }
.epx-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(15,39,72,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8a8278;
  text-transform: uppercase;
}
.epx--dark .epx-foot { border-top-color: rgba(246,244,239,0.1); color: rgba(246,244,239,0.45); }
.epx-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

/* CTA */
.epx-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.epx-cta {
  display: inline-block;
  padding: 16px 36px;
  border: 1.5px solid;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
}
.epx--light .epx-cta {
  color: var(--epx-deep);
  border-color: var(--epx-deep);
  background: transparent;
}
.epx--light .epx-cta:hover { background: var(--epx-deep); color: #fff; }
.epx--dark .epx-cta {
  color: var(--epx-blue);
  border-color: var(--epx-blue);
}
.epx--dark .epx-cta:hover { background: var(--epx-blue); color: #131211; }
