:root {
  --podcast-bg: radial-gradient(140% 120% at 0% 0%, rgba(19, 104, 154, 0.55) 0%, rgba(19, 104, 154, 0) 50%),
    radial-gradient(120% 120% at 85% 20%, rgba(31, 183, 201, 0.35) 0%, rgba(31, 183, 201, 0) 60%),
    linear-gradient(135deg, #061427 0%, #0b2744 45%, #12395d 100%);
  --podcast-surface: rgba(255, 255, 255, 0.04);
  --podcast-panel: rgba(13, 24, 44, 0.72);
  --podcast-ink: #eef3ff;
  --podcast-muted: rgba(226, 238, 255, 0.78);
  --podcast-accent: #3fd3da;
  --podcast-border: rgba(255, 255, 255, 0.16);
  --podcast-underline: rgba(63, 211, 218, 0.85);
}

body.podcast-page {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--podcast-bg);
  color: var(--podcast-ink);
  margin: 0;
  min-height: 100vh;
}

.podcast-shell {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
  padding-bottom: clamp(40px, 10vw, 64px);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.podcast-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 10vw, 92px) 0 clamp(38px, 8vw, 68px);
  background: linear-gradient(180deg, rgba(6, 20, 39, 0.2) 0%, rgba(6, 20, 39, 0.75) 65%, rgba(6, 20, 39, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.podcast-hero::before,
.podcast-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.podcast-hero::before {
  background:
    radial-gradient(120% 80% at 12% 18%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(110% 90% at 88% 10%, rgba(63, 211, 218, 0.18) 0%, rgba(63, 211, 218, 0) 60%);
  opacity: 0.65;
}

.podcast-hero::after {
  background: linear-gradient(180deg, rgba(6, 20, 39, 0.1) 0%, rgba(6, 20, 39, 0.32) 60%, rgba(6, 20, 39, 0.6) 100%);
}

.podcast-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.podcast-hero__eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--podcast-muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: fit-content;
}

.podcast-hero__title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.podcast-hero__subline {
  margin: clamp(4px, 1vw, 8px) 0 clamp(14px, 3vw, 18px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--podcast-muted);
}

.podcast-hero__icon {
  display: inline-flex;
  width: clamp(46px, 10vw, 60px);
  height: clamp(46px, 10vw, 60px);
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 211, 218, 0.22), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  font-size: 1.4rem;
}

.podcast-hero__title {
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.podcast-hero__copy {
  display: grid;
  gap: 6px;
  max-width: 640px;
}

.podcast-hero__subtitle {
  margin: 0;
  font-weight: 700;
  color: #f7fbff;
  font-size: 1.1rem;
}

.podcast-hero__lede {
  margin: 0;
  color: var(--podcast-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.podcast-section {
  padding: 0 0 clamp(20px, 5vw, 32px);
}

.podcast-section--platforms {
  padding-top: 0;
}

.section-inner {
  background: var(--podcast-panel);
  border: 1px solid var(--podcast-border);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  gap: 14px;
  box-shadow: 0 22px 48px rgba(4, 16, 28, 0.28);
}

.section-inner h2 {
  margin: 0;
  font-size: 1.25rem;
}

.section-inner p {
  margin: 0;
  color: rgba(233, 242, 255, 0.9);
  line-height: 1.6;
}

.section-inner .muted,
.player-note,
.podcast-hero__lede {
  color: var(--podcast-muted);
}

.section-inner--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 24px);
}

@media (min-width: 720px) {
  .section-inner--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

.podcast-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  position: relative;
}

.podcast-card__heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.podcast-card__accent {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--podcast-underline);
  box-shadow: 0 10px 26px rgba(63, 211, 218, 0.3);
}

.podcast-card__accent--glow {
  width: 28px;
  height: 28px;
  box-shadow:
    0 0 0 8px rgba(63, 211, 218, 0.12),
    0 12px 36px rgba(63, 211, 218, 0.45);
}

.podcast-card--about {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.podcast-feature {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06) 0%, rgba(63, 211, 218, 0.12) 40%, rgba(12, 26, 46, 0.8) 100%);
  border: 1px solid rgba(63, 211, 218, 0.35);
  box-shadow: 0 26px 64px rgba(3, 14, 26, 0.45);
}

.podcast-feature__content {
  display: grid;
  gap: 10px;
}

.podcast-feature__art {
  display: grid;
  align-items: center;
}

.episode-title {
  margin: 6px 0 4px;
  font-size: 1.05rem;
}

.episode-brief-title {
  margin: 10px 0 0;
  font-weight: 800;
  color: #f7fbff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.episode-brief {
  margin: 6px 0 0;
  color: rgba(233, 242, 255, 0.92);
}

.listen-cta {
  margin-top: 14px;
  padding-inline: 20px;
  background: linear-gradient(135deg, #ffffff, #dff7ff);
  color: #0b5fa5;
  box-shadow: 0 16px 36px rgba(2, 12, 22, 0.35);
}

.listen-cta:hover,
.listen-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(2, 12, 22, 0.45);
}

.episode-card {
  background: #0f172a;
  color: #e5edff;
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 32px rgba(4, 12, 22, 0.4);
}

.episode-card__label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(229, 237, 255, 0.72);
}

.episode-card__title {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
}

.episode-card__meta {
  margin: 0;
  color: rgba(229, 237, 255, 0.7);
}

.episode-hub {
  margin-top: clamp(12px, 3vw, 16px);
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(233, 242, 255, 0.9);
}

.episode-hub__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
  font-size: 0.75rem;
  color: var(--podcast-muted);
}

.episode-hub__title {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
}

.episode-hub__meta {
  margin: 0;
  color: rgba(233, 242, 255, 0.7);
}

.podcast-card--player {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-shell {
  display: grid;
  gap: 12px;
}

.player-embed {
  position: relative;
  width: 100%;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: radial-gradient(120% 80% at 18% 30%, rgba(63, 211, 218, 0.12) 0%, rgba(63, 211, 218, 0) 60%), #0f172a;
}

.podcast-player-frame {
  position: relative;
  width: 100%;
  height: 352px;
}

.podcast-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.player-note {
  font-size: 0.95rem;
  margin: 0;
}

.podcast-card--narration {
  background: linear-gradient(160deg, rgba(6, 34, 34, 0.75) 0%, rgba(7, 52, 52, 0.8) 50%, rgba(6, 20, 39, 0.85) 100%);
  border: 1px solid rgba(31, 183, 201, 0.28);
  box-shadow: 0 18px 36px rgba(2, 12, 22, 0.38);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--podcast-accent);
  border-radius: 10px;
}

.podcast-card--platforms {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.platform-badges {
  display: grid;
  gap: clamp(16px, 3vw, 20px);
  margin-top: 18px;
  grid-template-columns: 1fr;
  justify-items: start;
}

@media (min-width: 640px) {
  .platform-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
  min-height: 0;
  height: auto;
  justify-self: start;
}

.platform-badge:hover,
.platform-badge:focus-visible {
  transform: translateY(-2px);
  background: transparent;
  border: none;
  box-shadow: none;
}

.platform-badge:focus-visible {
  outline: 2px solid var(--podcast-accent);
  outline-offset: 6px;
}

.podcast-platform-badge,
.podcast-platform-logo {
  width: 220px;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.podcast-card--topics {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.podcast-card--topics p {
  margin: 0 0 14px;
}

.podcast-card--topics p:last-child {
  margin-bottom: 0;
}

.podcast-card--topics a {
  color: var(--podcast-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--podcast-underline);
  transition: all 0.2s ease;
}

.podcast-card--topics a:hover,
.podcast-card--topics a:focus-visible {
  color: #fff;
  border-bottom-color: var(--podcast-accent);
}

.podcast-card--faq {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f7fbff;
}

.faq-answer {
  margin: 0;
  color: rgba(233, 242, 255, 0.9);
  line-height: 1.6;
}

/* =============================================
   Podcast Page Custom Ad Slot
   ============================================= */

.podcast-ad-slot {
  --ad-border: rgba(129, 155, 211, 0.15);
  --ad-bg: rgba(240, 245, 255, 0.4);
  --ad-label-color: rgba(71, 85, 105, 0.85);
  
  width: 100%;
  max-width: 970px;
  min-height: 250px;
  margin: clamp(3rem, 5vw, 4.5rem) auto;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--ad-border);
  background: var(--ad-bg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.podcast-ad-slot:hover {
  border-color: rgba(129, 155, 211, 0.35);
  box-shadow: 0 4px 12px -4px rgba(96, 165, 250, 0.15);
}

/* Ad Link Wrapper */
.podcast-ad-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.podcast-ad-link:hover {
  opacity: 0.92;
}

.podcast-ad-link:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.8);
  outline-offset: 4px;
}

/* Ad Image */
.podcast-ad-slot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Optional: Ad Label (like "Advertisement" or "Sponsored") */
.podcast-ad-slot::before {
  content: "Advertisement";
  position: absolute;
  top: 8px;
  left: 12px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ad-label-color);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .podcast-ad-slot {
    max-width: calc(100% - 32px);
    min-height: 180px;
    margin: clamp(2rem, 4vw, 3rem) auto;
  }
  
  .podcast-ad-slot::before {
    font-size: 0.65rem;
    padding: 2px 6px;
    top: 6px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .podcast-ad-slot {
    min-height: 120px;
    border-radius: 12px;
  }
  
  .podcast-ad-slot img {
    max-height: 120px;
  }
}

/* Dark Mode Support (if podcast page adds dark theme toggle) */
@media (prefers-color-scheme: dark) {
  .podcast-ad-slot {
    --ad-border: rgba(148, 163, 184, 0.25);
    --ad-bg: rgba(17, 24, 39, 0.5);
    --ad-label-color: rgba(226, 232, 240, 0.85);
  }
  
  .podcast-ad-slot::before {
    background: rgba(15, 23, 42, 0.9);
  }
}

/* Empty State (for development/testing) */
.podcast-ad-slot--empty {
  border: 2px dashed var(--ad-border);
  background: transparent;
}

.podcast-ad-slot--empty::after {
  content: "Ad Slot Ready";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ad-label-color);
  font-weight: 600;
}
