/* ==========================================================================
   TibaRay - FLASH Effect Podcast Stylesheet (podcast.css)
   Scoped to match TibaRay Site Design & Typography
   ========================================================================== */

/* Eyebrows & Accent Lines */
.eyebrow {
  display: block;
  color: var(--gold, #e7b934);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.accentline {
  width: 48px;
  height: 3px;
  background: var(--gold, #e7b934);
  margin: 16px 0;
  border-radius: 2px;
}

.center .accentline {
  margin: 16px auto;
}

/* Base Wrap for podcast pages */
.podcast-wrap,
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Next In Series - 3 Card Grid */
.podcast-grid-3,
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Episode Preview Cards */
.episodecard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.episodecard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary, #08a9df);
}


/* Centered, balanced episode grid for full-width views (e.g. flash-effect.html) */
.podcast-grid-centered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 32px;
  margin: 0 auto;
}

/* Headshot framing with natural portrait aspect ratio */
.episodecard-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.episodecard-img-wrap img,
.episodecard img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 5%;
  display: block;
  transition: transform 0.35s ease;
}


.episodecard:hover img {
  transform: scale(1.03);
}

.episodecard .cardbody {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.episodecard h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 0;
  color: var(--secondary, #08223c);
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.episodecard .small {
  font-size: 0.9rem;
  color: var(--text-sub, #4b5563);
  margin-top: 4px;
  line-height: 1.5;
}

.episodecard .status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

/* Featured Episode 01 Card */
.card.featured,
.podcast-featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 24px;
}

.card.featured:hover,
.podcast-featured-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card.featured .portrait,
.podcast-featured-card .portrait {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #1f2937;
}

.card.featured .cardbody,
.cardbody {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge,
.podcast-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary, #08a9df);
  background: rgba(8, 169, 223, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  align-self: flex-start;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

/* Sidebar Recent Posts Styles (matches site theme) */
.recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-item a {
  text-decoration: none;
  display: block;
  transition: var(--transition, all 0.2s ease);
}

.recent-post-item .recent-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 4px;
}

.recent-post-item a:hover .recent-title {
  color: var(--primary, #08a9df);
}

.recent-post-item .recent-date {
  font-size: 0.8rem;
  color: var(--text-sub, #64748b);
  display: block;
}

.recent-post-item .recent-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold, #e7b934);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* In-Page Media Sub-Nav */
.media-nav {
  display: flex;
  gap: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  justify-content: center;
  position: sticky;
  top: 76px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.media-nav a {
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
  border-bottom: 3px solid transparent;
  color: var(--secondary, #08223c);
  text-decoration: none;
  transition: all 0.2s;
}

.media-nav a:hover,
.media-nav a.active {
  border-color: var(--primary, #08a9df);
  color: var(--primary, #08a9df);
}

/* Media Panels (Video & Audio) */
.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mediapanel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.panelhead {
  padding: 24px 28px 18px;
  border-bottom: 1px solid #f1f5f9;
}

.panelhead h3 {
  font-size: 1.35rem;
  margin: 6px 0 2px;
  color: var(--secondary, #08223c);
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.panelhead p {
  font-size: 0.875rem;
  margin: 4px 0 0;
  color: var(--text-sub, #64748b);
}

.panelbody {
  padding: 28px;
}

.film {
  position: relative;
  background: #0b233a;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.film > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film .watchlabel {
  position: absolute;
  left: 20px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  color: var(--secondary, #08223c);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.spotify-embed {
  width: 100%;
  border: 0;
  display: block;
  border-radius: 8px;
  height: 152px;
}

/* Left-Aligned Branded Episode Hero */
.branded-episode-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: 155px;
  padding-bottom: 75px;
}

.branded-episode-hero .hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 34, 60, 0.96) 0%, rgba(8, 34, 60, 0.92) 38%, rgba(8, 34, 60, 0.4) 75%, rgba(8, 34, 60, 0.15) 100%);
  z-index: 1;
}

.branded-episode-hero .hero-container {
  width: 100%;
  max-width: var(--container-width, 1360px);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.branded-episode-hero .hero-content-left {
  max-width: 640px;
  text-align: left;
}

.branded-episode-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.branded-episode-hero .episode-tagline {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  color: #f1f5f9;
  margin: 0 0 12px;
}

.branded-episode-hero .episode-host {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0 0 24px;
}

.branded-episode-hero .episode-logo-img {
  max-width: 260px;
  height: auto;
  display: block;
}

/* Series Landing Hero */
.hero.serieshero {
  position: relative;
  background: #08223c url(assets/flash-effect-series-hero.webp) center/cover no-repeat;
  color: #ffffff;
  padding-top: 140px;
  padding-bottom: 70px;
}

.hero.serieshero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 23, 43, 0.65);
}

.hero.serieshero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero.serieshero h1 {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 12px auto 20px;
  letter-spacing: -0.02em;
}

.hero.serieshero .hero-balanced-subtext {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #f1f5f9;
  max-width: 760px;
  margin: 0 auto;
}

/* Breadcrumb Navigation */
.breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--primary, #08a9df);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Summary Section */
.summary {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.summary h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.3;
  margin: 12px 0 18px;
  color: var(--secondary, #08223c);
  font-weight: 700;
}

.summary p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-sub, #4b5563);
  max-width: 820px;
  margin: 0 auto;
}

/* Styled Topics List with Icon Bullets */
.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics-list li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 1rem;
  position: relative;
  line-height: 1.5;
}

.topics-list li:last-child {
  border-bottom: none;
}

.topics-list li::before {
  content: "\f00c"; /* FontAwesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 4px;
  top: 14px;
  color: var(--primary, #08a9df);
  font-size: 0.95rem;
}

/* Notice / Disclaimer */
.notice {
  font-size: 0.875rem;
  color: #64748b;
  border-left: 3px solid var(--gold, #e7b934);
  padding: 12px 18px;
  background: #f8fafc;
  margin: 36px 0;
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
}

/* Bottom Episode Navigation */
.footnav.episode-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 48px;
}

.episode-bottom-nav > a,
.episode-bottom-nav > .nav-disabled {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  padding: 8px 14px;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.episode-nav-prev {
  text-align: left;
}

.episode-nav-all {
  text-align: center;
}

.episode-nav-next {
  text-align: right;
}

.episode-bottom-nav a {
  color: var(--primary, #08a9df);
  transition: all 0.2s;
}

.episode-bottom-nav a:hover {
  color: var(--primary-dark, #056e92);
}

.episode-bottom-nav .nav-disabled {
  color: #cbd5e1;
  cursor: default;
}

/* Transcript Styling */
.transcript-header {
  background: linear-gradient(115deg, #08223c 0%, #173c5e 100%);
  color: #ffffff;
  padding-top: 140px;
  padding-bottom: 40px;
}

.transcript-header .series-lockup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.transcript-header h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin: 10px 0;
  color: #ffffff;
  font-weight: 800;
}

.transcript-header p {
  color: #cbd5e1;
  margin: 0;
  font-size: 1.1rem;
}

.transcript-header .series-lockup > img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
}

.transcript-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.transcript-toc {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 110px;
}

.transcript-toc h2 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--secondary, #08223c);
  font-weight: 700;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.transcript-toc a {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.transcript-toc a:hover {
  color: var(--primary, #08a9df);
}

.transcript-article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 40px 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.editor-note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #64748b;
  background: #f8fafc;
  padding: 16px 20px;
  border-left: 3px solid var(--gold, #e7b934);
  border-radius: 0 4px 4px 0;
  margin: 0 0 28px;
}

.transcript-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.transcript-chapter {
  scroll-margin-top: 130px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}

.transcript-chapter:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 20px;
}

.transcript-chapter h2 {
  font-size: 1.5rem;
  margin: 0 0 24px;
  color: var(--secondary, #08223c);
  font-weight: 700;
}

.transcript-turn {
  margin-bottom: 26px;
}

.speakerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.speakerline strong {
  font-size: 0.95rem;
  color: var(--primary, #08a9df);
  font-weight: 700;
}

.speakerline .timestamp {
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: monospace;
}

.transcript-turn p {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin: 0 0 12px;
}

.transcript-end {
  padding-top: 28px;
  margin-top: 36px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.guesthead {
  height: 220px;
  width: 170px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.preview {
  background: #f1f5f9;
  color: #64748b;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-secondary, 'Barlow', sans-serif);
}

.follow {
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 48px;
}

.row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.row > * {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   Comprehensive Responsive System for FLASH Effect Podcast Pages
   Breakpoints:
     - Laptop / Desktop (max-width: 1199px)
     - Tablet Landscape & Portrait (max-width: 1023px)
     - Mobile & Small Tablet (max-width: 767px)
     - Small Mobile (max-width: 480px)
   ========================================================================== */

/* Mobile Avatar in Episode Heroes (Hidden by default on Desktop/Tablet) */
.hero-mobile-guest {
  display: none;
}

/* Guest Profile Row Component */
.guest-profile-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 40px;
}

.guest-profile-img {
  width: 170px;
  height: 220px;
  border-radius: 8px;
  flex: 0 0 170px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.guest-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.guest-profile-text {
  flex: 1;
}

/* Media availability card stretching and alignment */
.podcast-grid-3 > .mediapanel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.podcast-grid-3 > .mediapanel .panelbody {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.podcast-grid-3 > .mediapanel .status {
  margin-top: auto;
  padding-top: 16px;
  display: block;
}

/* ==========================================================================
   LAPTOP / DESKTOP (max-width: 1199px)
   ========================================================================== */
@media (max-width: 1199px) {
  .podcast-wrap,
  .wrap {
    padding: 36px 20px;
  }

  .branded-episode-hero .hero-content-left {
    max-width: 540px;
  }

  .podcast-grid-3 {
    gap: 20px;
  }

  .podcast-grid-centered {
    gap: 24px;
  }

  .card.featured {
    grid-template-columns: 240px 1fr;
  }

  .card.featured .cardbody {
    padding: 28px 32px;
  }
}

/* ==========================================================================
   TABLET (max-width: 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  .hero.serieshero {
    padding-top: 135px;
    padding-bottom: 60px;
  }

  .hero.serieshero .hero-overlay {
    background: rgba(5, 23, 43, 0.78);
  }

  .hero.serieshero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  }

  .branded-episode-hero {
    min-height: 400px;
    padding-top: 140px;
    padding-bottom: 60px;
    background-position: 85% center;
  }

  .branded-episode-hero .hero-overlay-left {
    background: linear-gradient(90deg, rgba(8, 34, 60, 0.98) 0%, rgba(8, 34, 60, 0.94) 50%, rgba(8, 34, 60, 0.75) 80%, rgba(8, 34, 60, 0.45) 100%);
  }

  .branded-episode-hero .hero-content-left {
    max-width: 480px;
  }

  .podcast-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .podcast-grid-centered {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 24px;
  }

  .episodecard-img-wrap,
  .episodecard-img-wrap img {
    height: 260px;
  }

  .media-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .transcript-layout {
    grid-template-columns: 1fr;
  }

  .transcript-toc {
    position: static;
    margin-bottom: 24px;
  }

  .card.featured {
    grid-template-columns: 220px 1fr;
  }

  .card.featured .cardbody {
    padding: 24px 28px;
  }
}

/* ==========================================================================
   MOBILE & SMALL TABLET (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  /* Series Hero on Mobile: Omit panoramic faces, present elegant brand gradient */
  .hero.serieshero {
    background: radial-gradient(circle at 50% 25%, rgba(8, 169, 223, 0.16) 0%, rgba(5, 23, 43, 0) 70%),
                linear-gradient(180deg, #05172b 0%, #08223c 55%, #0b3158 100%) !important;
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero.serieshero .hero-content {
    padding: 0 16px;
  }

  .hero.serieshero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin: 8px auto 14px;
  }

  .hero.serieshero .hero-balanced-subtext {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero.serieshero .hero-balanced-subtext div {
    display: inline;
  }

  .hero.serieshero .hero-balanced-subtext div::after {
    content: " ";
  }

  /* Branded Episode Hero on Mobile: Clean typography & mobile guest avatar */
  .branded-episode-hero {
    background-image: none !important;
    background: radial-gradient(circle at 85% 15%, rgba(8, 169, 223, 0.14) 0%, transparent 65%),
                linear-gradient(165deg, #05182d 0%, #08223c 60%, #0b3158 100%) !important;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 44px;
  }

  .branded-episode-hero .hero-container {
    padding: 0 20px;
  }

  .branded-episode-hero .hero-content-left {
    max-width: 100%;
    text-align: left;
  }

  .branded-episode-hero .hero-mobile-guest {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold, #e7b934);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
  }

  .branded-episode-hero .hero-mobile-guest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
  }

  .branded-episode-hero h1 {
    font-size: 2.25rem;
    margin: 8px 0 12px;
  }

  .branded-episode-hero .episode-tagline {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0 0 8px;
  }

  .branded-episode-hero .episode-host {
    font-size: 0.9rem;
    margin: 0 0 18px;
  }

  .branded-episode-hero .episode-logo-img {
    max-width: 180px;
  }

  /* In-Page Media Sub-Nav: Swipeable horizontal bar */
  .media-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
    top: 70px;
  }

  .media-nav::-webkit-scrollbar {
    display: none;
  }

  .media-nav a {
    padding: 13px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  /* Featured Episode Card: Stacked */
  .card.featured,
  .podcast-featured-card {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .card.featured .portrait,
  .podcast-featured-card .portrait {
    width: 100%;
    height: 260px;
    min-height: auto;
    object-position: center 15%;
  }

  .card.featured .cardbody,
  .cardbody {
    padding: 24px 20px;
  }

  /* Episode Card Grids: Single Column Centered */
  .podcast-grid-3,
  .podcast-grid-centered,
  .grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
    gap: 24px;
  }

  .episodecard-img-wrap,
  .episodecard-img-wrap img {
    height: 250px;
  }

  /* Guest Profile Row */
  .guest-profile-wrap {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 32px;
  }

  .guest-profile-img {
    margin: 0 auto;
    width: 150px;
    height: 195px;
  }

  /* Bottom Episode Navigation */
  .footnav.episode-bottom-nav {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    margin-top: 36px;
  }

  .episode-bottom-nav > a,
  .episode-bottom-nav > .nav-disabled {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    background: #f8fafc;
    box-sizing: border-box;
  }

  .episode-bottom-nav .episode-nav-all {
    order: -1;
    background: rgba(8, 169, 223, 0.08);
  }

  /* Transcript on Mobile */
  .transcript-header {
    padding-top: 120px;
    padding-bottom: 30px;
  }

  .transcript-header .series-lockup {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .transcript-header .series-lockup > img {
    width: 160px;
  }

  .transcript-header h1 {
    font-size: 1.85rem;
  }

  .transcript-article {
    padding: 22px 18px;
  }

  .speakerline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .follow.row {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
  }
}

/* ==========================================================================
   EXTRA-SMALL MOBILE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .podcast-wrap,
  .wrap {
    padding: 28px 16px;
  }

  .card.featured .portrait,
  .podcast-featured-card .portrait {
    height: 230px;
  }

  .episodecard-img-wrap,
  .episodecard-img-wrap img {
    height: 230px;
  }

  .summary h2 {
    font-size: 1.6rem;
  }

  .branded-episode-hero h1 {
    font-size: 2rem;
  }
}
