/**
 * rem-episode-single.css — Real Estate Moguls
 * Episode single page — premium media platform treatment.
 * v36 full redesign: cinematic hero, immersive media zone,
 * editorial sidebar, Netflix-meets-magazine visual language.
 *
 * Brand tokens (from rem-master.css):
 *   --authority: #0D1B2A  --primary: #29ABE2
 *   --accent: #C9A84C     --background: #F2F4F7
 *   --font-display: Afacad  --font-body: Avenir Next stack
 */


/* ════════════════════════════════════════════════════════════════════
   1. CINEMATIC HERO
   Full-bleed featured image with deep gradient, left-anchored
   content, wide inner max-width to use the full viewport.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-header {
  position: relative;
  background-color: var(--authority, #0D1B2A);
  background-size: cover;
  background-position: center 30%;
  min-height: 1080px;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--band-h, 3px) + var(--nav-h, 92px));
  overflow: hidden;
}

/* Multi-layer scrim: dark vignette left-heavy so text pops */
.rem-ep-header__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,  rgba(74,85,104,0.92) 0%, rgba(74,85,104,0.50) 55%, rgba(74,85,104,0.08) 100%),
    linear-gradient(180deg, rgba(13,27,42,0.0)  0%, rgba(13,27,42,0.85) 100%);
  z-index: 1;
}

.rem-ep-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 64px;
}

/* Gold accent rule above breadcrumb */
.rem-ep-header__inner::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent, #C9A84C);
  margin-bottom: 20px;
}

/* Breadcrumb */
.rem-ep-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.rem-ep-breadcrumb a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  text-decoration: none;
  transition: color .15s;
}
.rem-ep-breadcrumb a:hover { color: #fff; }
.rem-ep-breadcrumb__sep { color: rgba(255,255,255,0.25); font-size: 12px; }
.rem-ep-breadcrumb span:not(.rem-ep-breadcrumb__sep) {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Labels row */
.rem-ep-header__labels {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.rem-ep-label {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.rem-ep-label--num {
  background: var(--primary, #29ABE2);
  color: #fff;
}
.rem-ep-label--dur {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
}
.rem-ep-label--type {
  background: rgba(201,168,76,0.18);
  color: var(--accent, #C9A84C);
  border: 1px solid rgba(201,168,76,0.3);
}

/* Episode title — cinematic scale */
.rem-ep-header__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 720px;
}

/* Meta row */
.rem-ep-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rem-ep-header__host {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.rem-ep-header__host a {
  color: var(--accent, #C9A84C);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}
.rem-ep-header__host a:hover { color: #fff; }
.rem-ep-header__date {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Sponsor badge in hero */
.rem-ep-header__sponsor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 2px;
}
.rem-ep-header__sponsor a {
  color: var(--accent, #C9A84C);
  text-decoration: none;
}
.rem-ep-header__sponsor a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .rem-ep-header {
    min-height: 350px;
    background-position: center center;
  }
  .rem-ep-header__scrim {
    background: linear-gradient(180deg, rgba(13,27,42,0.4) 0%, rgba(13,27,42,0.95) 70%);
  }
  .rem-ep-header__inner {
    padding: 40px 20px 48px;
  }
  .rem-ep-header__inner::before { display: none; }
  .rem-ep-header__title { font-size: clamp(26px, 7vw, 40px); }
  .rem-ep-host { display: none; }
}


/* ════════════════════════════════════════════════════════════════════
   2. PAGE BODY — TWO-COLUMN GRID
   Main content (fluid) + Sidebar (fixed 300px).
   Collapses to single column on tablet/mobile.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-body {
  background: #fff;
}

.rem-ep-body__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 960px) {
  .rem-ep-body__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px 56px;
  }
}


/* ════════════════════════════════════════════════════════════════════
   3. MEDIA ZONE — VIDEO + AUDIO
   Video pulls full width with a dark lift off the page.
   Audio player is styled as a sleek dark bar, not a native control.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-main {
  min-width: 0;
}

/* Video — punches out visually, slight overlap with hero */
.rem-ep-video {
  margin-top: -48px;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}
.rem-ep-video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 24px 64px rgba(13,27,42,0.35), 0 4px 12px rgba(13,27,42,0.2);
}
.rem-ep-video__wrap iframe,
.rem-ep-video__wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* If no video: hero image thumbnail as media anchor */
.rem-ep-thumb {
  margin-top: -48px;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13,27,42,0.35);
  aspect-ratio: 16 / 9;
  background: var(--authority, #0D1B2A);
}
.rem-ep-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Audio player — immersive dark bar */
.rem-ep-audio {
  margin-top: 10px;
  margin-bottom: 0;
}
.rem-ep-audio__player {
  background: var(--authority, #0D1B2A);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(201,168,76,0.2);
}
.rem-ep-audio__player audio {
  width: 100%;
  display: block;
  accent-color: var(--primary, #29ABE2);
  height: 36px;
}

/* Media zone label */
.rem-ep-media-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f3;
}
.rem-ep-media-label__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
}
.rem-ep-media-label__rule {
  flex: 1;
  height: 1px;
  background: #eef0f3;
}

@media (max-width: 768px) {
  .rem-ep-video,
  .rem-ep-thumb {
    margin-top: -32px;
    border-radius: 6px;
  }
}


/* ════════════════════════════════════════════════════════════════════
   4. EPISODE CONTENT / PROSE
   Magazine-editorial feel. Wide measure, generous line height,
   drop cap on first paragraph, pull quotes styled as editorial asides.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-content {
  margin-top: 36px;
}

.rem-ep-prose {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: #2d3748;
}

/* Contain all content images and figures within the prose column */
.rem-ep-prose img {
  max-width: 100%;
  height: auto;
}

.rem-ep-prose figure {
  max-width: 100%;
  margin: 16px 0;
}

.rem-ep-prose figure.aligncenter,
.rem-ep-prose figure.alignleft,
.rem-ep-prose figure.alignright,
.rem-ep-prose .wp-block-image figure {
  max-width: 100% !important;
  width: auto !important;
}

.rem-ep-prose .wp-block-image {
  max-width: 100%;
}

.rem-ep-prose iframe {
  max-width: 100%;
  width: 100%;
  border: 0;
  display: block;
}

.rem-ep-prose > p:first-of-type::first-letter {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 4.2em;
  font-weight: 800;
  line-height: .72;
  float: left;
  margin: 6px 10px -4px 0;
  color: var(--authority, #0D1B2A);
}
.rem-ep-prose h2 {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  margin: 44px 0 14px;
  padding-top: 8px;
  border-top: 2px solid var(--accent, #C9A84C);
  display: inline-block;
}
.rem-ep-prose h3 {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  margin: 32px 0 10px;
}
.rem-ep-prose p { margin: 0 0 22px; }
.rem-ep-prose ul,
.rem-ep-prose ol { margin: 0 0 22px; padding-left: 28px; }
.rem-ep-prose li { margin-bottom: 6px; }
.rem-ep-prose blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--primary, #29ABE2);
  background: #f0f8fe;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 19px;
  color: var(--authority, #0D1B2A);
  line-height: 1.6;
}
.rem-ep-prose blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--slate, #4A5568);
}
.rem-ep-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0 24px;
}
.rem-ep-prose a {
  color: var(--primary, #29ABE2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.rem-ep-prose a:hover { color: var(--authority, #0D1B2A); }

/* Transcript */
.rem-ep-transcript {
  margin: 32px 0;
  padding: 16px 20px;
  background: #f7fbfe;
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 8px;
}
.rem-ep-transcript__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary, #29ABE2);
  text-decoration: none;
}
.rem-ep-transcript__link:hover { text-decoration: underline; }

/* Sponsor note — inline in main column */
.rem-ep-sponsor-note {
  display: none; /* hidden — sponsor shows in hero meta only */
}


/* ════════════════════════════════════════════════════════════════════
   5. HOST CARD — AUTHORITY TREATMENT
   Full dark card with gold accent, headshot, bio, CTA.
   Reads as a featured profile, not a byline.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-host {
  margin-top: 56px;
  padding-top: 0;
  border-top: none;
}

.rem-ep-section-title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  margin: 0 0 20px;
}

.rem-ep-host__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  margin: 0 0 16px;
}

.rem-ep-host__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 32px;
  background: #4A5568;
  border-radius: 12px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
/* Blue top border */
.rem-ep-host__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary, #29ABE2), var(--accent, #C9A84C));
}

.rem-ep-host__photo {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(41,171,226,0.4);
}
.rem-ep-host__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.rem-ep-host__info { min-width: 0; }

.rem-ep-host__name {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.rem-ep-host__title {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--primary, #29ABE2);
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.rem-ep-host__bio {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 18px;
}
.rem-ep-host__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary, #29ABE2);
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
}
.rem-ep-host__link:hover { background: #1d8ab5; color: #fff; }

@media (max-width: 600px) {
  .rem-ep-host__card {
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 20px;
  }
  .rem-ep-host__photo { width: 80px; height: 80px; }
  .rem-ep-host__name { font-size: 18px; }
}


/* ════════════════════════════════════════════════════════════════════
   6. SIDEBAR
   Sticky at nav offset. Host mini card, ad unit, subscribe.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-sidebar {
  position: sticky;
  top: calc(var(--band-h, 3px) + var(--nav-h, 92px) - 16px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
}

/* Host mini card */
.rem-ep-sidebar__host {
  position: relative;
  background: #4A5568;
  border-radius: 10px;
  padding: 32px 24px 28px;
  text-align: center;
  overflow: hidden;
}
.rem-ep-sidebar__host-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(41,171,226,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.rem-ep-sidebar__host-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #29ABE2;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.rem-ep-sidebar__host-name {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  position: relative;
  z-index: 1;
}
.rem-ep-sidebar__host-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.rem-ep-sidebar__host-cta {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: #29ABE2;
  padding: 8px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
  position: relative;
  z-index: 1;
  text-align: center;
}
.rem-ep-sidebar__host-cta:hover { background: #1d8ab5; color: #fff; }

/* Ad unit */
.rem-ep-ad {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  background: #fafafa;
}
.rem-ep-ad a { display: block; text-decoration: none; }
.rem-ep-ad img {
  width: 100%; height: auto;
  display: block;
  transition: opacity .2s;
}
.rem-ep-ad a:hover img { opacity: .92; }
.rem-ep-ad__label {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(13,27,42,0.28);
  text-align: center;
  padding: 7px 10px 6px;
  border-top: 1px solid #e8eaed;
}

/* Subscribe strip */
.rem-ep-sidebar__subscribe {
  background: var(--background, #F2F4F7);
  border-radius: 8px;
  padding: 18px 20px;
}
.rem-ep-sidebar__subscribe-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate, #4A5568);
  margin-bottom: 12px;
}
.rem-ep-sidebar__subscribe a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--authority, #0D1B2A);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13,27,42,.07);
  transition: color .15s;
}
.rem-ep-sidebar__subscribe a:last-child { border-bottom: none; }
.rem-ep-sidebar__subscribe a:hover { color: var(--primary, #29ABE2); }
.rem-ep-sidebar__subscribe svg { flex-shrink: 0; color: var(--primary, #29ABE2); }

/* Sidebar — recent episodes grid */
.rem-ep-sidebar__eps {
  background: var(--background, #F2F4F7);
  border-radius: 8px;
  padding: 18px 16px;
}
.rem-ep-sidebar__eps-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate, #4A5568);
  margin-bottom: 14px;
}
.rem-ep-sidebar__eps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rem-ep-sidebar__ep-card {
  display: block;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaed;
  transition: box-shadow .2s, transform .2s;
}
.rem-ep-sidebar__ep-card:hover {
  box-shadow: 0 4px 12px rgba(13,27,42,0.1);
  transform: translateY(-2px);
}
.rem-ep-sidebar__ep-thumb {
  aspect-ratio: 16 / 9;
  background: var(--authority, #0D1B2A);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rem-ep-sidebar__ep-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rem-ep-sidebar__ep-play {
  font-size: 18px;
  color: var(--primary, #29ABE2);
}
.rem-ep-sidebar__ep-body {
  padding: 8px 10px 10px;
}
.rem-ep-sidebar__ep-num {
  display: block;
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  margin-bottom: 3px;
}
.rem-ep-sidebar__ep-title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rem-ep-sidebar__ep-card--full {
  grid-column: 1 / -1;
}
.rem-ep-sidebar__ep-card--full .rem-ep-sidebar__ep-thumb {
  aspect-ratio: 16 / 7;
}

/* Elfsight sidebar slot */
.rem-ep-sidebar__elfsight {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 960px) {
  .rem-ep-sidebar {
    position: static;
    padding-top: 0;
  }
  /* On mobile, show sidebar content in a horizontal row where possible */
  .rem-ep-sidebar__host {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 20px;
  }
  .rem-ep-sidebar__host-photo {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
  }
  .rem-ep-sidebar__host-body { flex: 1; }
  .rem-ep-sidebar__host-cta { width: auto; }
}


/* ════════════════════════════════════════════════════════════════════
   7. RELATED EPISODES
   Full-bleed dark section. Cards with thumbnail, episode number,
   title. Strong visual break from the body.
   ════════════════════════════════════════════════════════════════════ */

.rem-ep-related {
  background: var(--authority, #0D1B2A);
  padding: 64px 0 72px;
}

.rem-ep-related__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.rem-ep-related__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.rem-ep-related__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
  margin-bottom: 6px;
  display: block;
}

.rem-ep-section-title--related {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.rem-ep-related__all-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #29ABE2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.rem-ep-related__all-link:hover { color: var(--accent, #C9A84C); }

.rem-ep-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rem-ep-related-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background .2s, transform .2s, border-color .2s;
}
.rem-ep-related-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.3);
}

.rem-ep-related-card__thumb {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rem-ep-related-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.rem-ep-related-card:hover .rem-ep-related-card__thumb img {
  transform: scale(1.04);
}

/* Play icon overlay on thumbnail */
.rem-ep-related-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.2);
  transition: background .2s;
}
.rem-ep-related-card:hover .rem-ep-related-card__thumb::after {
  background: rgba(13,27,42,0.05);
}

.rem-ep-related-card__play {
  font-size: 32px;
  color: var(--primary, #29ABE2);
  position: relative;
  z-index: 1;
}

.rem-ep-related-card__body {
  padding: 16px 18px 18px;
}

.rem-ep-related-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rem-ep-related-card__num {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
}

.rem-ep-related-card__dur {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.rem-ep-related-card__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rem-ep-related__all {
  display: none; /* handled by header link above */
}

@media (max-width: 768px) {
  .rem-ep-related {
    padding: 48px 0 56px;
  }
  .rem-ep-related__inner { padding: 0 20px; }
  .rem-ep-related__grid { grid-template-columns: 1fr; }
  .rem-ep-related__header { flex-direction: column; gap: 8px; }
}

@media (min-width: 640px) and (max-width: 960px) {
  .rem-ep-related__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── FROM THE HOST: ARTICLES ─────────────────────────────────────── */
.rem-ep-articles {
  background: #fff;
  padding: 72px 0 80px;
  border-top: 1px solid #eef0f3;
}
.rem-ep-articles__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.rem-ep-articles__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.rem-ep-articles__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
  margin-bottom: 6px;
}
.rem-ep-articles__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  margin: 0;
}
.rem-ep-articles__host-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #29ABE2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.rem-ep-articles__host-link:hover { color: var(--authority, #0D1B2A); }
.rem-ep-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rem-ep-art-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  transition: box-shadow .2s, transform .2s;
}
.rem-ep-art-card:hover {
  box-shadow: 0 8px 32px rgba(13,27,42,0.09);
  transform: translateY(-3px);
}
.rem-ep-art-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--authority, #0D1B2A);
}
.rem-ep-art-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.rem-ep-art-card:hover .rem-ep-art-card__img img { transform: scale(1.04); }
.rem-ep-art-card__body { padding: 20px; }
.rem-ep-art-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
  margin-bottom: 8px;
}
.rem-ep-art-card__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  line-height: 1.3;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rem-ep-art-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--slate, #4A5568);
  opacity: .7;
}
.rem-ep-art-card__sep { opacity: .4; }
@media (max-width: 768px) {
  .rem-ep-articles { padding: 48px 0 56px; }
  .rem-ep-articles__inner { padding: 0 20px; }
  .rem-ep-articles__grid { grid-template-columns: 1fr; }
  .rem-ep-articles__title { font-size: 24px; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .rem-ep-articles__grid { grid-template-columns: repeat(2, 1fr); }
}
