/*
 * rem-single.css -- Real Estate Moguls Article Single
 * v1.6.0: Magazine-grade two-column layout (2026-04-12)
 *
 * Bands:
 *   00 · Reading progress bar
 *   01 · Full-bleed hero with gradient scrim
 *   02 · Two-column layout (article + sidebar)
 *   03 · Article body typography
 *   04 · Share row
 *   05 · Sidebar modules (explore, ads, popular)
 *   06 · Author credential card
 *   07 · Related posts grid
 *   08 · Responsive breakpoints
 */


/* ── 00: READING PROGRESS BAR ──────────────────────────────────────────── */

.rem-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent, #C9A84C);
  z-index: 9999;
  pointer-events: none;
  transition: width .12s linear;
}


/* ── 00-B: NAV SPACER — hide on single posts; hero absorbs the offset ── */

.rem-nav-spacer {
  display: none;
}


/* ── 01: FULL-BLEED HERO ───────────────────────────────────────────────── */

.rem-single-hero {
  position: relative;
  min-height: 1080px;
  display: flex;
  align-items: flex-end;
  background-color: var(--authority, #0D1B2A);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

/* Gradient scrim: transparent top two-thirds (photo shows full), dark at bottom (text sits) */
.rem-single-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13,27,42, 0.0)  0%,
      rgba(13,27,42, 0.03) 25%,
      rgba(13,27,42, 0.12) 45%,
      rgba(13,27,42, 0.45) 65%,
      rgba(13,27,42, 0.82) 80%,
      rgba(13,27,42, 0.94) 100%
    );
}

/* Content overlay at the bottom */
.rem-single-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 56px;
}

.rem-single-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Category pill */
.rem-single-hero__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
  text-decoration: none;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.rem-single-hero__cat:hover {
  background: var(--accent, #C9A84C);
  color: var(--authority, #0D1B2A);
}

/* Title — spans full content width, no max-width constraint */
.rem-single-hero__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* Byline row */
.rem-single-hero__byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rem-single-hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.2);
}
.rem-single-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rem-single-hero__author {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}
.rem-single-hero__author:hover {
  color: var(--accent, #C9A84C);
}

.rem-single-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.rem-single-hero__sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
}


/* ── 02: TWO-COLUMN LAYOUT ─────────────────────────────────────────────── */

.rem-single-columns {
  background: #fff;
  padding-bottom: 32px;
}

.rem-single-columns__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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


/* ── 03: ARTICLE BODY TYPOGRAPHY ───────────────────────────────────────── */

.rem-single-body {
  padding: 12px 0 40px;
  max-width: 720px;
}

/* Paragraphs */
.rem-single-body p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: rgba(13,27,42,.85);
  margin: 0 0 24px;
}

/* Drop cap on first paragraph */
.rem-single-body > p:first-of-type::first-letter {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 4.2em;
  font-weight: 800;
  float: left;
  line-height: 0.78;
  margin: 6px 10px 0 0;
  color: var(--authority, #0D1B2A);
  letter-spacing: -0.02em;
}

/* Headings */
.rem-single-body h2 {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--authority, #0D1B2A);
  margin: 48px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.rem-single-body h3 {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--authority, #0D1B2A);
  margin: 36px 0 12px;
}

/* Links */
.rem-single-body a {
  color: var(--primary, #29ABE2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}
.rem-single-body a:hover {
  color: var(--authority, #0D1B2A);
}

.rem-single-body strong { font-weight: 700; color: var(--authority, #0D1B2A); }

/* Lists */
.rem-single-body ul,
.rem-single-body ol {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: rgba(13,27,42,.85);
  margin: 0 0 24px;
  padding-left: 24px;
}
.rem-single-body li { margin-bottom: 8px; }

/* Blockquote / Pull quote */
.rem-single-body blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--primary, #29ABE2);
  background: rgba(41,171,226,.04);
}
.rem-single-body blockquote p {
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: var(--authority, #0D1B2A);
  line-height: 1.55;
  margin: 0;
}
.rem-single-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: rgba(13,27,42,.45);
  letter-spacing: 0.04em;
}

/* Images inside content */
.rem-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 12px 0;
}

.rem-single-body figure {
  margin: 16px 0;
}
.rem-single-body figcaption {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(13,27,42,.45);
  margin-top: 8px;
  text-align: center;
}

/* Embedded video / audio / podcast players */
.rem-single-body iframe {
  max-width: 100%;
  width: 100%;
  margin: 12px 0;
  border: 0;
  display: block;
}
.rem-single-body .wp-block-embed,
.rem-single-body .wp-block-audio,
.rem-single-body .wp-block-embed__wrapper,
.rem-single-body .podcast-player,
.rem-single-body .buzzsprout-player {
  max-width: 100%;
  margin: 12px 0;
  overflow: visible;
}
/* Ensure all embeds and their containers never clip children */
.rem-single-body div[class*="embed"],
.rem-single-body div[class*="player"],
.rem-single-body figure.wp-block-embed {
  overflow: visible;
  max-height: none;
}
/* Responsive video embeds (16:9 aspect) */
.rem-single-body .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.rem-single-body .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}


/* ── 04: SHARE ROW ─────────────────────────────────────────────────────── */

.rem-single-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(13,27,42,.08);
  max-width: 720px;
}

.rem-single-share__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13,27,42,.35);
}

.rem-single-share__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rem-single-share__btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--authority, #0D1B2A);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid rgba(13,27,42,.15);
  border-radius: 3px;
  background: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.rem-single-share__btn:hover {
  border-color: var(--primary, #29ABE2);
  color: var(--primary, #29ABE2);
}


/* ── 05: SIDEBAR MODULES ──────────────────────────────────────────────── */

.rem-single-sidebar {
  padding-top: 56px;
}

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

/* Module heading */
.rem-sidebar-heading {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--authority, #0D1B2A);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--authority, #0D1B2A);
}

/* ── Explore: Graphical category navigation ── */

.rem-sidebar-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rem-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--authority, #0D1B2A);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.rem-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,27,42,.18);
}
.rem-cat-card--active {
  outline: 2px solid var(--accent, #C9A84C);
  outline-offset: -2px;
}

.rem-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .65;
  transition: opacity .3s;
}
.rem-cat-card:hover .rem-cat-card__img {
  opacity: .45;
}

.rem-cat-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 100%);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ── Ad placeholder ── */

.rem-sidebar-ad {
  margin: 16px 0;
}
/* Ensure the last sidebar module has bottom breathing room before author band */
.rem-single-sidebar__sticky > :last-child {
  margin-bottom: 16px;
}

.rem-ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  border: 1px dashed rgba(13,27,42,.12);
  border-radius: 4px;
  background: var(--background, #F2F4F7);
}

.rem-ad-placeholder__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13,27,42,.22);
}

/* ── Popular posts ── */

.rem-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rem-sidebar-post {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(13,27,42,.06);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.rem-sidebar-post:first-child {
  padding-top: 0;
}
.rem-sidebar-post:last-child {
  border-bottom: none;
}
.rem-sidebar-post:hover {
  background: rgba(13,27,42,.02);
}

.rem-sidebar-post__thumb {
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(13,27,42,.06);
}
.rem-sidebar-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rem-sidebar-post__cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  display: block;
  margin-bottom: 4px;
}

.rem-sidebar-post__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--authority, #0D1B2A);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rem-sidebar-post:hover .rem-sidebar-post__title {
  color: var(--primary, #29ABE2);
}


/* ── 06: AUTHOR CREDENTIAL CARD ────────────────────────────────────────── */

.rem-single-author-band {
  background: var(--authority, #0D1B2A);
  border-top: 4px solid var(--accent, #C9A84C);
}

.rem-single-author-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.rem-single-author-band__portrait {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201,168,76,.3);
}
.rem-single-author-band__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rem-single-author-band__eye {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #C9A84C);
  display: block;
  margin-bottom: 8px;
}

.rem-single-author-band__name {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.rem-single-author-band__name a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}
.rem-single-author-band__name a:hover { opacity: .78; }

.rem-single-author-band__role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--primary, #29ABE2);
  margin: 0 0 12px;
}

.rem-single-author-band__bio {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin: 0 0 16px;
  max-width: 56ch;
}

.rem-single-author-band__cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent, #C9A84C);
  text-decoration: none;
  transition: opacity .2s;
}
.rem-single-author-band__cta:hover { opacity: .65; }


/* ── 07: RELATED POSTS GRID ────────────────────────────────────────────── */

.rem-single-related {
  background: var(--background, #F2F4F7);
  padding: 56px 0;
}

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

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

.rem-single-related__heading {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--authority, #0D1B2A);
  margin: 0 0 32px;
}

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

/* Related card */
.rem-related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(13,27,42,.06);
  margin-bottom: 14px;
}
.rem-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.rem-related-card:hover .rem-related-card__media img {
  transform: scale(1.03);
}

.rem-related-card__cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary, #29ABE2);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: color .2s;
}
.rem-related-card__cat:hover { color: var(--authority, #0D1B2A); }

.rem-related-card__title {
  font-family: var(--font-display, 'Afacad', sans-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--authority, #0D1B2A);
  margin: 0 0 8px;
}
.rem-related-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.rem-related-card__title a:hover { color: var(--primary, #29ABE2); }

.rem-related-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(13,27,42,.6);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rem-related-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(13,27,42,.45);
}

.rem-related-card__sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(13,27,42,.25);
  border-radius: 50%;
}


/* ── 08: RESPONSIVE ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .rem-single-columns__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 32px;
  }

  .rem-single-sidebar {
    padding-top: 32px;
    border-top: 1px solid rgba(13,27,42,.08);
  }
  .rem-single-sidebar__sticky {
    position: static;
  }

  .rem-sidebar-cats {
    grid-template-columns: repeat(4, 1fr);
  }

  .rem-single-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rem-single-hero {
    min-height: 350px;
  }
  .rem-single-hero__content {
    padding: 0 24px 40px;
  }
  .rem-single-hero__title {
    font-size: clamp(26px, 6vw, 40px);
  }

  .rem-single-columns__inner {
    padding: 0 24px;
  }
  .rem-single-body {
    padding: 10px 0 32px;
  }
  .rem-single-body p { font-size: 17px; }
  .rem-single-body > p:first-of-type::first-letter { font-size: 3.5em; }

  .rem-single-share {
    flex-wrap: wrap;
    gap: 10px;
  }

  .rem-single-author-band__inner {
    padding: 36px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .rem-single-related__inner { padding: 0 24px; }

  .rem-sidebar-cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .rem-ad-placeholder { min-height: 180px; }
}

@media (max-width: 480px) {
  .rem-single-hero {
    min-height: 500px;
  }
  .rem-single-hero__content {
    padding: 0 20px 32px;
  }
  .rem-single-hero__title {
    font-size: clamp(22px, 7vw, 34px);
  }
  .rem-single-hero__byline { flex-wrap: wrap; }

  .rem-single-columns__inner {
    padding: 0 20px;
  }
  .rem-single-body { padding: 8px 0 24px; }
  .rem-single-body p { font-size: 16px; line-height: 1.75; }

  .rem-single-related__grid {
    grid-template-columns: 1fr;
  }

  .rem-sidebar-cats {
    grid-template-columns: 1fr 1fr;
  }

  .rem-sidebar-post {
    grid-template-columns: 72px 1fr;
  }

  .rem-single-author-band__inner { padding: 28px 20px; }
  .rem-single-related__inner { padding: 0 20px; }
}


/* ── ARTICLE BODY TOP PADDING ─────────────────────────────────────── */
.rem-single-body {
  padding-top: 40px;
}

/* ── SIDEBAR AUTHOR CARD ──────────────────────────────────────────── */
.rem-sb-author-card {
  position: relative;
  background: var(--authority, #0D1B2A);
  border-radius: 10px;
  padding: 32px 24px 28px;
  text-align: center;
  overflow: hidden;
}
.rem-sb-author-card__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-sb-author-card__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-sb-author-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  position: relative;
  z-index: 1;
}
.rem-sb-author-card__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-sb-author-card__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-sb-author-card__cta:hover { background: #1d8ab5; color: #fff; }

/* ── SIDEBAR ELFSIGHT ─────────────────────────────────────────────── */
.rem-sb-elfsight { width: 100%; overflow: hidden; }

/* ── SIDEBAR ARTICLES ─────────────────────────────────────────────── */
.rem-sb-articles {
  background: var(--background, #F2F4F7);
  border-radius: 8px;
  padding: 18px 16px;
}
.rem-sb-articles__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-sb-art-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13,27,42,.07);
  transition: opacity .15s;
}
.rem-sb-art-row:last-child { border-bottom: none; }
.rem-sb-art-row:hover { opacity: .75; }
.rem-sb-art-row__thumb {
  width: 52px; height: 40px;
  border-radius: 4px; overflow: hidden; flex-shrink: 0;
  background: var(--authority, #0D1B2A);
}
.rem-sb-art-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rem-sb-art-row__body { flex: 1; min-width: 0; }
.rem-sb-art-row__cat {
  display: block;
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent, #C9A84C); margin-bottom: 2px;
}
.rem-sb-art-row__title {
  font-family: var(--font-display);
  font-size: 13px; 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;
}

/* ── SIDEBAR STICKY SPACING ───────────────────────────────────────── */
.rem-single-sidebar__sticky {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── BOTTOM AUTHOR CARD ───────────────────────────────────────────── */
.rem-single-author-card-bottom {
  background: #4A5568;
  padding: 48px 0;
}
.rem-single-author-card-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.rem-single-author-card-bottom__photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid #C9A84C;
}
.rem-single-author-card-bottom__photo img { width: 100%; height: 100%; object-fit: cover; }
.rem-single-author-card-bottom__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #C9A84C; margin-bottom: 6px;
}
.rem-single-author-card-bottom__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: #fff; margin: 0 0 4px;
}
.rem-single-author-card-bottom__title {
  font-family: var(--font-body);
  font-size: 13px; color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
.rem-single-author-card-bottom__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #0D1B2A; background: #C9A84C;
  padding: 10px 20px; border-radius: 2px;
  text-decoration: none; transition: background .2s;
}
.rem-single-author-card-bottom__cta:hover { background: #b8923e; color: #fff; }

/* Hide on mobile */
@media (max-width: 768px) {
  .rem-single-author-card-bottom { display: none; }
}
@media (max-width: 768px) {
  .rem-single-author-card-bottom__inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── FROM THE AUTHOR: EPISODES ─────────────────────────────────────── */
.rem-single-episodes {
  background: var(--authority, #0D1B2A);
  padding: 64px 0 72px;
}
.rem-single-episodes__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.rem-single-episodes__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.rem-single-episodes__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-single-episodes__title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: #fff; margin: 0;
}
.rem-single-episodes__all-link {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--primary, #29ABE2);
  text-decoration: none; white-space: nowrap;
}
.rem-single-episodes__all-link:hover { color: var(--accent, #C9A84C); }
.rem-single-episodes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rem-single-ep-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; overflow: hidden;
  transition: background .2s, border-color .2s, transform .2s;
}
.rem-single-ep-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}
.rem-single-ep-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.rem-single-ep-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.rem-single-ep-card:hover .rem-single-ep-card__thumb img { transform: scale(1.04); }
.rem-single-ep-card__fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); }
.rem-single-ep-card__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(13,27,42,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s;
}
.rem-single-ep-card:hover .rem-single-ep-card__play { background: var(--primary, #29ABE2); border-color: var(--primary, #29ABE2); }
.rem-single-ep-card__body { padding: 16px; }
.rem-single-ep-card__meta { display: flex; gap: 8px; margin-bottom: 8px; }
.rem-single-ep-card__num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary, #29ABE2);
}
.rem-single-ep-card__dur { font-size: 11px; color: rgba(255,255,255,0.4); }
.rem-single-ep-card__title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: #fff; line-height: 1.3; margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rem-single-ep-card__cta {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary, #29ABE2);
}
@media (max-width: 768px) {
  .rem-single-episodes { padding: 48px 0 56px; }
  .rem-single-episodes__inner { padding: 0 20px; }
  .rem-single-episodes__grid { grid-template-columns: 1fr; }
  .rem-single-episodes__title { font-size: 24px; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .rem-single-episodes__grid { grid-template-columns: repeat(2, 1fr); }
}
