/* ============================================================
   BUILDING THINKERS — PODCAST PAGE
   Shares base styles with homepage via bt-homepage.css
   ============================================================ */

/* ── Podcast page body class for Divi overrides ── */
body.bt-podcast-page #main-header,
body.bt-podcast-page #top-header,
body.bt-podcast-page #main-footer,
body.bt-podcast-page #footer-bottom,
body.bt-podcast-page .et_pb_section,
body.bt-podcast-page #et_builder_outer_content,
body.bt-podcast-page .et-db #et-boc .et-l {
  display: none !important;
}

/* ── Podcast Hero ── */
.podcast-hero {
  background: var(--deep-slate);
  padding: 10rem var(--section-pad-x) 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 60vh;
}

/* Layout 3: Immersive Background */
.podcast-hero.layout-3 {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.podcast-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 30, 34, 0.8),
    rgba(15, 30, 34, 0.95)
  );
  z-index: 1;
}

.podcast-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Layout 1: Centered */
.podcast-hero.layout-1 .podcast-hero-inner {
  max-width: 720px;
  text-align: left;
}

.podcast-hero.layout-1 .podcast-hero-text .section-label,
.podcast-hero.layout-1 .podcast-listen-links {
  justify-content: left;
  text-align: left;
}

/* Layout 2: Split */
.podcast-hero.layout-2 .podcast-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.podcast-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: block;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.podcast-hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.podcast-hero-text .section-label {
  text-align: left;
  margin-bottom: 1rem;
}

.podcast-headline {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--off-white);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.podcast-tagline {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--bright-blue);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.podcast-desc {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(251, 251, 248, 0.7);
  margin-bottom: 1.2rem;
}

.podcast-motto {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--off-white);
  margin: 2rem 0;
}

.podcast-listen-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.podcast-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(75, 198, 223, 0.15);
  border: 1.5px solid rgba(75, 198, 223, 0.4);
  color: var(--bright-blue);
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.podcast-listen-btn:hover {
  background: var(--bright-blue);
  border-color: var(--bright-blue);
  color: var(--deep-slate);
}

.podcast-listen-btn svg {
  flex-shrink: 0;
}

/* ── 12 Favorite Problems ── */
.favorite-problems {
  background: var(--off-white);
  padding: 5rem var(--section-pad-x);
}

.fp-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.fp-headline {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep-slate);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.fp-quote {
  font-family: "Lato", sans-serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--graphite);
  max-width: 700px;
  margin: 0 auto 1rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--bright-blue);
  background: rgba(75, 198, 223, 0.04);
}

.fp-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--deep-slate);
  margin-top: 0.8rem;
}

.fp-intro {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--graphite);
  text-align: center;
  max-width: 650px;
  margin: 2rem auto 3rem;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.fp-hex {
  background: white;
  border: 1.5px solid rgba(43, 74, 82, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
}

.fp-hex:hover {
  border-color: var(--bright-blue);
  box-shadow: 0 4px 16px rgba(75, 198, 223, 0.12);
}

.fp-num {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--bright-blue);
  background: rgba(75, 198, 223, 0.1);
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  text-align: center;
  margin-bottom: 0.8rem;
}

.fp-hex p {
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--deep-slate);
  margin: 0;
}

.fp-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .fp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .podcast-hero.layout-2 .podcast-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .podcast-hero-image img {
    transform: none !important;
    max-width: 320px;
    margin: 0 auto;
  }

  .podcast-hero.layout-2 .podcast-hero-text .section-label,
  .podcast-hero.layout-2 .podcast-listen-links {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .fp-hex {
    padding: 1.2rem 0.8rem;
  }
  .podcast-hero {
    padding: 8rem var(--section-pad-x) 3rem;
  }
}
