/* =========================================================
   peter.css — Peter Mallouk theme overrides
   Loaded after assets/styles.css. Extends the I&I design
   language for the full personal site.
   ========================================================= */

/* ── Base font-size bump (Round 6 S1: 1.15 → 1.18rem) ── */
body { font-size: var(--pm-body-size, 1.18rem); line-height: 1.6; }

/* ── Design tokens (brand palette) ── */
:root {
  --cerulean:  #6FA8D5;
  --navy:      #1A2233;
  --slate:     #3A4452;
  --offwhite:  #F6F7F4;
  --paper:     #EFE9DF;
  --dark-band: rgba(0,0,0,0.55);
  --max:       1380px;
  --gutter:    clamp(20px, 4vw, 56px);

  /* ── Round 6 S1: type & rule tokens ── */
  --pm-body-size:        1.18rem;
  --pm-h1-size:          clamp(2.4rem, 5vw, 4rem);
  --pm-eyebrow-size:     0.85rem;
  --pm-eyebrow-tracking: 0.14em;

  /* ── Round 6 S8: sitewide content width + padding ── */
  --pm-content-width:    1140px;
  --pm-content-padding:  clamp(1rem, 4vw, 2.5rem);

  /* ── Kill green: override I&I green-tinted palette vars with brand navy ── */
  --slate-deep: #1A2233;   /* was #15252E  R=21 G=37 B=46 (teal cast) */
  --slate-2:    #2A3A52;   /* was #294655  R=41 G=70 B=85 (teal cast) */
  --teal-gray:  #6FA8D5;   /* was #6F9291  G-dominant → cerulean */
  --sage:       #2C5F8A;   /* was #5C8B76  green → brand secondary blue */
  --evergreen:  #1A2233;   /* alias → pure navy */
  --evergreen-2: #1E2A3E;  /* alias → deeper navy */
  --forest:     #2A3A52;   /* alias → corrected slate-2 */
  --ink:        #1A2233;   /* was #15252E */
}

/* Override hard-coded green rgba() in I&I hero/archive backgrounds */
.featured-hero {
  background-color: #1A2233;
  background-image:
    linear-gradient(180deg, rgba(26,34,51,0.55) 0%, rgba(26,34,51,0.92) 100%),
    url("../images/bg-blur.jpg");
}
.page-head {
  background-color: #1A2233;
  background-image:
    linear-gradient(180deg, rgba(26,34,51,0.55) 0%, rgba(26,34,51,0.92) 100%),
    url("../images/bg-blur.jpg");
}
.ep-head {
  background-color: #1A2233;
  background-image:
    linear-gradient(180deg, rgba(26,34,51,0.6) 0%, rgba(26,34,51,0.92) 100%),
    url("../images/bg-blur.jpg");
}
/* Nav background and ep-card badge */
.nav { background: rgba(26,34,51,0.82); }
.ep-img .num-badge { background: rgba(26,34,51,0.75); }
/* Hero veil (I&I home hero) */
.hero .veil {
  background:
    linear-gradient(90deg,
      rgba(15,27,45,0.78) 0%,
      rgba(15,27,45,0.45) 30%,
      rgba(15,27,45,0.05) 55%,
      transparent 75%);
}
.hero-stamp { background: rgba(15,27,45,0.65); }

/* ── Page-hero banner (inner pages) ── */
.pm-page-hero {
  position: relative;
  background: var(--navy);
  padding: clamp(60px,8vw,120px) var(--gutter) clamp(40px,5vw,80px);
  overflow: hidden;
}
.pm-page-hero .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.pm-page-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}
.pm-page-hero .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 12px;
}
.pm-page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* ── Hero (front page) ── */
.pm-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #e8eaec;
}
.pm-hero .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.pm-hero .veil { display: none; }
.pm-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) clamp(48px,7vw,100px);
}
.pm-hero .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 16px;
}
.pm-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem,7vw,6rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 12px;
  max-width: 800px;
  color: var(--offwhite);
}
.pm-hero .sub {
  font-size: clamp(1rem,2vw,1.25rem);
  color: rgba(246,247,244,1);
  max-width: 540px;
  margin: 0 0 32px;
}
.pm-hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Buttons ── */
.btn-cerulean {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cerulean);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  transition: opacity 0.15s;
}
.btn-cerulean:hover { opacity: 0.85; }
.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(246,247,244,0.45);
  color: var(--offwhite);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost-white:hover { border-color: var(--offwhite); }

/* ── NYT pullquote band ── */
.pm-pullquote {
  background: var(--navy);
  padding: clamp(48px,7vw,96px) var(--gutter);
  text-align: center;
}
.pm-pullquote-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pm-pullquote .rule {
  width: 40px;
  height: 3px;
  background: var(--cerulean);
  margin: 0 auto 28px;
}
.pm-pullquote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pm-pullquote .nyt-wordmark {
  display: block;
  margin: 0 0 28px;
  opacity: 0.8;
  filter: invert(1);
  max-width: 240px;
  width: 100%;
  height: auto;
}
.pm-pullquote blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.4rem,3vw,2.2rem);
  line-height: 1.45;
  margin: 0 0 20px;
  color: var(--offwhite);
  quotes: none;
}
.pm-pullquote .attr {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cerulean);
}
.pm-pullquote .attr a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Two-column about teaser ── */
.pm-about-teaser {
  padding: clamp(60px,8vw,112px) var(--gutter);
  background: var(--slate-deep, #15252E);
}
.pm-about-teaser-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 320px) 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
}
.pm-about-teaser img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.pm-about-teaser .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 12px;
}
.pm-about-teaser h2 {
  font-family: var(--display);
  font-size: clamp(2rem,4vw,3.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 20px;
}
.pm-about-teaser p { color: rgba(246,247,244,1); line-height: 1.7; }

/* ── R8-2: About page CP HQ photo — full-width horizontal rectangle,
   replacing the narrow (~320px) two-column thumbnail treatment.
   16:9 box, cover-fit, centered. ── */
.pm-about-hq { padding: 0 var(--gutter) clamp(40px,5vw,72px); background: var(--slate-deep, #15252E); }
.pm-about-hq-inner { max-width: var(--max); margin: 0 auto; }
.pm-about-hq-inner picture,
.pm-about-hq-inner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
}
.pm-about-teaser-inner--text-only { display: block; }

/* ── R9-1: CP HQ photo shrunk to 25% width, left-aligned, body copy to its
   right instead of below it. Stacks image-first below 900px. ── */
.pm-about-combo { padding: clamp(60px,8vw,100px) var(--gutter); background: var(--slate-deep, #15252E); }
.pm-about-combo-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: clamp(32px,5vw,64px);
  align-items: flex-start;
}
.pm-about-combo-img { flex: 0 0 30%; max-width: 30%; }
.pm-about-combo-img picture,
.pm-about-combo-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
}
.pm-about-combo-text { flex: 1; }
.pm-about-combo-text p { color: rgba(246,247,244,1); line-height: 1.7; margin: 0 0 20px; }
.pm-about-combo-text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .pm-about-combo-inner { flex-direction: column; }
  .pm-about-combo-img { flex: 0 0 auto; max-width: 100%; }
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 24px;
  color: var(--cerulean);
  text-decoration: none;
  transition: gap 0.15s;
}
.arrow-link:hover { gap: 10px; }

/* ── I&I featured block ── */
.pm-iandi-block {
  padding: clamp(60px,8vw,112px) var(--gutter);
  border-top: 3px solid var(--cerulean);
}
.pm-iandi-block-inner { max-width: var(--max); margin: 0 auto; }
.pm-iandi-block .section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 6px;
}
.pm-iandi-block h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem,3.5vw,3rem);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.pm-iandi-block .section-desc {
  color: rgba(246,247,244,1);
  max-width: 680px;
  margin-bottom: 36px;
}

/* ── Books strip ── */
.pm-books-strip {
  padding: clamp(60px,8vw,112px) var(--gutter);
  background: var(--navy);
}
.pm-books-strip-inner { max-width: var(--max); margin: 0 auto; }
.pm-books-strip h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem,3.5vw,3rem);
  text-transform: uppercase;
  margin: 0 0 36px;
}
.pm-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pm-book-card { display: flex; flex-direction: column; gap: 12px; }
.pm-book-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 2px;
}
.pm-book-card .title { font-weight: 600; font-size: 0.95rem; }
.pm-book-card .subtitle { font-size: 0.82rem; color: rgba(246,247,244,1); }
.pm-book-card .amazon-link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cerulean);
}

/* ── Awards highlights ── */
.pm-awards-highlights {
  padding: clamp(48px,6vw,80px) var(--gutter);
}
.pm-awards-highlights-inner { max-width: var(--max); margin: 0 auto; }
.pm-awards-highlights h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem,3vw,2.6rem);
  text-transform: uppercase;
  margin: 0 0 24px;
}
/* Base .pm-awards-list rules superseded by the Round 7 2-column grid
   version further down this file (R7-11). */

/* ── Closing CTA band ── */
.pm-cta-band {
  background: var(--navy);
  padding: clamp(60px,8vw,112px) var(--gutter);
  text-align: center;
}
.pm-cta-band h2 {
  font-family: var(--display);
  font-size: clamp(2rem,5vw,4rem);
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* ── Books page grid ── */
.pm-books-page { padding: clamp(60px,8vw,112px) var(--gutter); }
/* R8-12: tighten intro-to-first-book spacing (was hero bottom padding
   clamp(40,5vw,80) + this section's top padding clamp(60,8vw,112),
   ~120-190px combined) down to ~24px total. Must come after the
   shorthand padding rule above (same specificity, source order). */
.pm-books-hero { padding-bottom: 8px; }
.pm-books-page { padding-top: 16px; }
.pm-books-page-inner { max-width: var(--max); margin: 0 auto; }
.pm-books-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 36px 24px;
  margin-top: 48px;
}

/* ── News page list ── */
.pm-news-page { padding: clamp(60px,8vw,112px) var(--gutter); }
/* R8-13: tighten intro-to-first-item spacing, same approach as R8-12. */
.pm-news-hero { padding-bottom: 8px; }
.pm-news-page { padding-top: 16px; }
.pm-news-page-inner { max-width: var(--max); margin: 0 auto; }
.pm-news-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.pm-news-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(246,247,244,0.1);
}
/* R10: object-fit changed cover -> contain so the square crop never cuts
   off part of the photo; the navy fill shows in any letterboxed edge. */
/* R14: object-fit cover (was contain) — contain letterboxed wide images so
   the visible picture sat below the top of the box and the blue meta line. */
.pm-news-item img { display: block; margin: 0; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--slate-deep, #15252E); border-radius: 2px; }
.pm-news-item--square img { aspect-ratio: 1/1; }
.pm-news-item > div { min-width: 0; }
.pm-news-item .meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cerulean);
  /* R12: line-height 1 removes the half-leading above the text so the
     cap height lines up with the top edge of the thumbnail. */
  line-height: 1;
  margin: 0 0 12px;
}
.pm-news-item h3 { font-size: 1.2rem; margin: 0 0 4px; line-height: 1.3; }
.pm-news-item .read-more { font-size: 0.85rem; color: var(--cerulean); }
/* R9-5: multiple headlines sharing one image/source line, stacked. */
.pm-news-headline { margin-bottom: 14px; }
.pm-news-headline:last-child { margin-bottom: 0; }

/* ── About page structured sections ── */
.pm-about-section { padding: clamp(48px,6vw,80px) var(--gutter); }
.pm-about-section-inner { max-width: 820px; margin: 0 auto; }
.pm-about-section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem,3vw,2.8rem);
  text-transform: uppercase;
  margin: 0 0 28px;
  border-bottom: 2px solid var(--cerulean);
  padding-bottom: 10px;
}
.pm-edu-list, .pm-giving-list { list-style: none; margin: 0; padding: 0; }
.pm-edu-list li { padding: 10px 0; border-bottom: 1px solid rgba(246,247,244,0.1); }
.pm-edu-list li .degree { font-weight: 600; }
.pm-edu-list li .school { font-size: 0.88rem; color: rgba(246,247,244,1); }
.pm-giving-list li { padding: 14px 0; border-bottom: 1px solid rgba(246,247,244,0.1); }
.pm-giving-list li .org { font-weight: 600; }
.pm-giving-list li .role { font-size: 0.82rem; color: var(--cerulean); margin: 2px 0 4px; }
.pm-giving-list li .blurb { font-size: 0.88rem; color: rgba(246,247,244,1); font-style: italic; }
.pm-disclosure {
  font-size: 0.75rem;
  color: rgba(246,247,244,1);
  line-height: 1.65;
  margin-top: 32px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
}
.pm-disclosure a { text-decoration: underline; }

/* ── Contact page ── */
.pm-contact-page { padding: clamp(60px,8vw,112px) var(--gutter); }
/* R8-14: tighten intro-to-cards spacing, same approach as R8-12/13. */
.pm-contact-hero { padding-bottom: 8px; }
.pm-contact-page { padding-top: 16px; }
.pm-contact-page-inner { max-width: 680px; margin: 0 auto; }
.pm-contact-page p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 28px; }
.pm-social-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.pm-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  border: 1.5px solid rgba(246,247,244,0.25);
  border-radius: 2px;
  transition: border-color 0.15s;
}
.pm-social-row a:hover { border-color: var(--cerulean); color: var(--cerulean); }
.pm-social-row svg { width: 16px; height: 16px; }

/* ── Podcast page ── */
.pm-podcasts-section { padding: clamp(48px,6vw,80px) var(--gutter); }
.pm-podcasts-section-inner { max-width: var(--max); margin: 0 auto; }
.pm-podcasts-section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem,3vw,2.6rem);
  text-transform: uppercase;
  margin: 0 0 32px;
  border-top: 3px solid var(--cerulean);
  padding-top: 20px;
}
.pm-show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.pm-show-card {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pm-show-card .logo-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--navy); }
.pm-show-card .logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pm-show-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pm-show-card h3 { font-size: 1.05rem; margin: 0; }
.pm-show-card .subtitle-text { font-size: 0.82rem; color: var(--cerulean); }
.pm-show-card .desc { font-size: 0.88rem; color: rgba(246,247,244,1); line-height: 1.6; flex: 1; }
.pm-show-card .listen-btn {
  margin-top: 12px;
  align-self: flex-start;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
  border: 1.5px solid var(--cerulean);
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.pm-show-card .listen-btn:hover { background: var(--cerulean); color: var(--navy); }
.pm-show-card .btn-cerulean { margin-top: 12px; align-self: flex-start; }

/* Round 14: bottom-of-archive platform buttons match the rectangular CTAs. */
.pm-podcasts-section .listen-pill { border-radius: 2px; }

/* ── Nav overrides ── */
.nav .logo .pm-wordmark { font-family: var(--display); font-size: 2.3rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.03em; }
.nav .nav-links a { font-size: 0.95rem; letter-spacing: 0.08em; }
.nav .nav-social { display: flex; align-items: center; gap: 10px; }
.nav .nav-social a { display: flex; align-items: center; }
.nav .nav-social svg { width: 18px; height: 18px; opacity: 0.75; transition: opacity 0.15s; }
.nav .nav-social a:hover svg { opacity: 1; }
.nav .nav-social-cp img { width: 18px; height: 18px; opacity: 0.75; transition: opacity 0.15s; filter: brightness(0) invert(1); }
.nav .nav-social-cp:hover img { opacity: 1; }

/* ── Footer overrides ── */
footer.pm-footer { background: var(--navy); }
footer.pm-footer .foot-inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px,6vw,80px) var(--gutter) 32px; }
footer.pm-footer .foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer.pm-footer .foot-brand .wordmark { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 8px; }
footer.pm-footer .foot-brand p { font-size: 0.82rem; color: rgba(246,247,244,1); line-height: 1.6; }
footer.pm-footer h4 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cerulean); margin: 0 0 14px; }
footer.pm-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
footer.pm-footer ul a { font-size: 0.88rem; color: rgba(246,247,244,1); transition: color 0.15s; }
footer.pm-footer ul a:hover { color: var(--offwhite); }
footer.pm-footer .foot-rule { border: none; border-top: 1px solid rgba(246,247,244,0.1); margin: 0 0 18px; }
footer.pm-footer .foot-compliance { display: flex; flex-wrap: wrap; gap: 12px 20px; }
footer.pm-footer .foot-compliance a { font-size: 0.72rem; color: rgba(246,247,244,1); transition: color 0.12s; }
footer.pm-footer .foot-compliance a:hover { color: rgba(246,247,244,1); }
footer.pm-footer .foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
footer.pm-footer .foot-copy { font-size: 0.75rem; color: rgba(246,247,244,1); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pm-about-teaser-inner { grid-template-columns: 1fr; }
  .pm-about-teaser img { max-width: 360px; }
  .pm-books-grid { grid-template-columns: repeat(2, 1fr); }
  /* R13: news rows stay two-column on tablet (stack only at <=640px). */
  footer.pm-footer .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pm-books-grid { grid-template-columns: repeat(2, 1fr); }
  footer.pm-footer .foot-top { grid-template-columns: 1fr; }
}

/* ── Video card: enforce 16:9 on single episode pages; collapse for audio ── */
.ep-video .video-card {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
}
.video-card.is-audio {
  aspect-ratio: unset;
  height: auto;
}
.video-card.is-audio iframe {
  position: static;
  display: block;
  width: 100%;
  height: 200px;
}

/* ═══════════════════════════════════════════════════════════
   Round 6 additions
   ═══════════════════════════════════════════════════════════ */

/* ── S1: eyebrow / lead-in sizing (bump + tracking) ── */
.pm-hero .eyebrow,
.pm-page-hero .eyebrow,
.pm-about-teaser .eyebrow,
.pm-iandi-block .section-eyebrow,
.pm-featured-ep .eyebrow,
.eyebrow,
.section-eyebrow {
  font-size: var(--pm-eyebrow-size);
  letter-spacing: var(--pm-eyebrow-tracking);
  text-transform: uppercase;
}

/* ── S1: normalize H1 display size sitewide ── */
.pm-page-hero h1,
.ep-head h1 {
  font-size: var(--pm-h1-size);
}

/* ── S1: reusable cerulean rule under any H1 ── */
.pm-h1-rule {
  display: block;
  width: 80px;
  height: 3px;
  background: var(--cerulean);
  margin: 18px 0 0;
  border-radius: 2px;
}
/* R10: on the episode header, the rule sits between the subtitle and the
   guest/role line — give it equal space above and below instead of
   sitting flush against the line below. */
.ep-head .pm-h1-rule { margin: 18px 0; }

/* ── S3: top-align photos in 2-column content blocks ── */
.pm-about-teaser img,
.pm-about img,
.pm-two-col img,
.pm-book-block img {
  object-position: top center;
  align-self: start;
}
/* Columns start at the top of the row (image wrappers are the grid items). */
.pm-about-teaser-inner,
.pm-two-col-inner,
.pm-book-block {
  align-items: start;
}

/* ── S5: hero name/title hierarchy ── */
.pm-hero .pm-hero-name {
  font-family: var(--display);
  font-size: var(--pm-h1-size);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--offwhite);
  margin: 0;
  max-width: none;
}
.pm-hero .pm-hero-title {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cerulean);
  margin: 16px 0 6px;
}
.pm-hero .pm-hero-inner .sub {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(246,247,244,1);
  margin-top: 0;
}
.pm-hero .pm-h1-rule { margin: 16px 0 0; }
/* Re-enable a soft left→right veil so bottom-left text stays legible over the
   portrait (subject sits on the right of the frame). */
.pm-hero .veil {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,27,40,0.72) 0%, rgba(20,27,40,0.34) 40%, rgba(20,27,40,0) 66%);
}

/* ── S6: editorial featured episode (intro col + reversed-colour card) ── */
.pm-featured-ep {
  display: grid;
  grid-template-columns: 1fr 2fr;   /* card spans "columns 2 and 3" */
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 56px;
}
.pm-featured-ep-intro .eyebrow { color: var(--cerulean); }
.pm-featured-ep-intro h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 8px 0 0;
}
.pm-featured-ep-intro p { color: rgba(246,247,244,1); line-height: 1.7; margin: 20px 0 26px; }
.pm-featured-ep-intro .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.pm-featured-ep-card {
  background: var(--cerulean);
  color: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.pm-featured-ep-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.pm-featured-ep-thumb .video-card { width: 100%; height: 100%; aspect-ratio: 16 / 9; }
.pm-featured-ep-thumb .video-card .thumb,
.pm-featured-ep-thumb .video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-featured-ep-meta { padding: 18px 24px 22px; }
.pm-featured-ep-meta .date {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 8px;
}
.pm-featured-ep-meta h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; margin: 0 0 8px; }
.pm-featured-ep-meta h3 a { color: var(--navy); }
.pm-featured-ep-meta h3 a:hover { text-decoration: underline; }
.pm-featured-ep-meta .speaker { font-weight: 600; color: var(--navy); opacity: 0.85; margin: 0; }
@media (max-width: 860px) {
  .pm-featured-ep { grid-template-columns: 1fr; }
}

/* ── S7: low-weight "As seen in" logo strip (replaces the NYT pullquote band) ── */
.pm-as-seen-in {
  background: var(--navy);
  padding: 22px var(--pm-content-padding);
  border-top: 1px solid rgba(246,247,244,0.08);
  border-bottom: 1px solid rgba(246,247,244,0.08);
}
.pm-as-seen-in-inner {
  max-width: var(--pm-content-width);
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.pm-as-seen-in .eyebrow {
  color: var(--offwhite);
  font-size: var(--pm-eyebrow-size);
  letter-spacing: var(--pm-eyebrow-tracking);
  text-transform: uppercase;
  margin: 0;
}
.pm-logo-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.pm-logo-row img {
  max-height: 26px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.15s;
}
.pm-logo-row a:hover img { opacity: 0.9; }

/* ── S8: standardized content width + padding on every inner wrapper ── */
.pm-hero-inner,
.pm-page-hero-inner,
.pm-about-teaser-inner,
.pm-iandi-block-inner,
.pm-books-strip-inner,
.pm-awards-highlights-inner,
.pm-books-page-inner,
.pm-news-page-inner,
.pm-about-section-inner,
.pm-contact-page-inner,
.pm-podcasts-section-inner,
.pm-as-seen-in-inner,
footer.pm-footer .foot-inner {
  max-width: var(--pm-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pm-content-padding);
  padding-right: var(--pm-content-padding);
}
/* Horizontal padding now lives on the inner wrapper; zero it on the sections so
   it never doubles up. Vertical padding (set via the shorthand) is preserved. */
.pm-page-hero,
.pm-about-teaser,
.pm-iandi-block,
.pm-books-strip,
.pm-awards-highlights,
.pm-books-page,
.pm-news-page,
.pm-about-section,
.pm-contact-page,
.pm-podcasts-section,
.pm-cta-band {
  padding-left: 0;
  padding-right: 0;
}
/* CTA band is centred text with no inner wrapper — keep symmetric padding. */
.pm-cta-band { padding-left: var(--pm-content-padding); padding-right: var(--pm-content-padding); }

/* ── S10: Education 2-column (year left, degree/school right) to match Awards ── */
.pm-edu-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,247,244,0.1);
}
.pm-edu-list li .yr {
  min-width: 80px;
  flex: none;
  font-size: 0.78rem;
  color: var(--cerulean);
  letter-spacing: 0.06em;
}
.pm-edu-list li .edu-body { display: flex; flex-direction: column; gap: 2px; }
.pm-edu-list li .edu-body .degree { font-weight: 600; }
.pm-edu-list li .edu-body .school { font-size: 0.88rem; color: rgba(246,247,244,1); }
/* .pm-awards-full rules retired — About Awards now uses the shared
   .pm-awards-list 2-col grid (R7-11). */

/* ── S11: Books page — alternating image/copy blocks ── */
.pm-page-lede { color: rgba(246,247,244,1); line-height: 1.7; max-width: 62ch; margin: 18px 0 0; }
.pm-books-page .pm-books-page-inner { display: block; }
.pm-book-block {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid rgba(246,247,244,0.1);
}
.pm-book-block--reverse { grid-template-columns: 1fr minmax(220px, 320px); }
.pm-book-block--reverse .pm-book-block-cover { order: 2; }
.pm-book-block--reverse .pm-book-block-body  { order: 1; }
.pm-book-block-cover { align-self: start; }
.pm-book-block-cover img,
.pm-book-block-cover picture { width: 100%; height: auto; display: block; }
.pm-book-block-cover img {
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.pm-book-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.pm-book-subtitle { color: var(--cerulean); font-size: 1rem; margin: 0 0 16px; }
.pm-book-blurb { color: rgba(246,247,244,1); line-height: 1.7; margin: 0 0 24px; max-width: 54ch; }
@media (max-width: 720px) {
  .pm-book-block,
  .pm-book-block--reverse { grid-template-columns: 1fr; }
  .pm-book-block--reverse .pm-book-block-cover,
  .pm-book-block--reverse .pm-book-block-body { order: initial; }
  .pm-book-block-cover { max-width: 260px; }
}

/* ── R8-5: Podcasts hero — no rule, less bottom padding so the hero
   flows directly into the flagship section below it. ── */
.pm-podcasts-hero { padding-bottom: clamp(20px, 3vw, 36px); }
.pm-podcasts-section--flagship { padding-top: clamp(20px, 3vw, 32px); }

/* ── R8-4: Podcasts flagship — copy left (1/3), featured video right
   (2/3), mirroring the homepage featured-episode layout. ── */
.pm-flagship-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 48px;
}
.pm-flagship-copy .eyebrow { color: var(--cerulean); display: block; margin-bottom: 10px; }
/* R12: "Icons and Ideas" styled like the About page "Education" heading —
   larger display type, white, cerulean rule underneath. */
.pm-podcasts-section .pm-flagship-title {
  font-family: var(--display);
  font-size: clamp(1.6rem,3vw,2.8rem);
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 28px;
  border-top: 0;
  padding-top: 0;
  border-bottom: 2px solid var(--cerulean);
  padding-bottom: 10px;
}
/* R12: cover art, about half the width of the former featured video. */
.pm-flagship-grid { align-items: start; }
.pm-flagship-cover { justify-self: end; width: 50%; }
.pm-flagship-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
/* Final edits: the three platform buttons share one width/height and line up
   with the cover's edges (stacked, equal-size, centred label + icon). */
.pm-flagship-cover .pm-platform-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.pm-flagship-cover .pm-platform-pill { justify-content: center; box-sizing: border-box; width: 100%; height: 44px; padding: 0 16px; white-space: nowrap; }
@media (max-width: 860px) {
  .pm-flagship-grid { grid-template-columns: 1fr; }
  .pm-flagship-cover { justify-self: start; width: min(100%, 360px); }
}
@media (max-width: 640px) {
  .pm-news-item { grid-template-columns: 1fr; }
  .pm-news-item img { max-width: 180px; }
}
.listen-btn--ghost {
  background: transparent;
  border: 1px solid var(--cerulean);
  color: var(--cerulean);
}
.listen-btn--ghost:hover { background: var(--cerulean); color: var(--navy); }

/* ── S12: Contact — three inquiry cards + open-glyph social row ── */
.pm-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pm-inquiry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(246,247,244,0.12);
  border-radius: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.pm-inquiry-card:hover { border-color: var(--cerulean); background: rgba(111,168,213,0.08); transform: translateY(-2px); }
.pm-inquiry-card h3 { font-size: 1.15rem; margin: 0; line-height: 1.2; }
.pm-inquiry-card p { font-size: 0.9rem; color: rgba(246,247,244,1); margin: 0; line-height: 1.5; }
.pm-inquiry-arrow { color: var(--cerulean); margin-top: auto; padding-top: 12px; font-size: 1.1rem; }
@media (max-width: 720px) { .pm-inquiry-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   Round 7 additions
   ═══════════════════════════════════════════════════════════ */

/* ── R7-1: hero wordmark letter treatment — letters were blending at
   hero size. Opened tracking + tightened leading on both the hero H1
   and the smaller nav wordmark. ── */
.pm-hero .pm-hero-name,
.nav .logo .pm-wordmark {
  letter-spacing: 0.05em;
  line-height: 1.05;
}

/* ── R7-2: sitewide intro/lede blocks span full content width (remove
   the ~62ch cap so they match About/Home body copy) ── */
.pm-page-lede { max-width: none; }
.pm-podcasts-flagship { max-width: none; color: rgba(246,247,244,1); margin-bottom: 36px; }

/* ── R7-followup-1: homepage hero — R7-3's object-fit:contain
   letterboxed the ~16:10 box against a taller source photo, leaving a
   large empty navy strip above Peter's head (he's framed low/right in
   the source image). Switched to object-fit:cover with
   object-position:right so Peter stays in frame, and capped the
   desktop box height so the crop doesn't run tall enough to reopen
   empty space above him. NOTE: this replaces the R7-3 rule below, it
   does not touch .pm-page-hero-inner (About hero, fixed separately in
   R7-hotfix-1). ── */
.pm-hero {
  min-height: 0;
  width: 100%;
  height: 620px;
  background: var(--navy);
}
.pm-hero .bg-img {
  object-fit: cover;
  object-position: right center;
}
@media (max-width: 900px) {
  /* No fixed height here — aspect-ratio alone (no competing height
     constraint) correctly sizes width:100% down to a matching height,
     which is the failure mode desktop hit above.
     NOTE: a shorter/landscape ratio (4/3, width > height) here clips
     the hero H1 off the top of the box, because the text stack
     (name + rule + headline + subhead + CTA row) is taller than that
     box at mobile widths and .pm-hero has overflow:hidden. Kept the
     taller/portrait 3/4 ratio (matches pre-R7-followup behavior) so
     the full text stack fits — verified by screenshot below. */
  .pm-hero { height: auto; aspect-ratio: 3 / 4; }
  .pm-hero .bg-img { object-position: right center; }
}

/* ── R7-4 / R7-hotfix-2: "As seen in" strip — pull quote text alongside
   the NYT wordmark (Option B), footprint stays small/understated. The
   row is explicitly centered and capped at ~900px (narrower than the
   1140px content width) so the quote + logo read as one tight, centered
   unit instead of spreading across the full content width. ── */
/* R7-followup-2: R7-hotfix-2 already had this row centered with a
   900px cap, but the quote was right-aligned inside its own 620px box
   and the eyebrow above stretched full inner width — together the
   block still read as spread out rather than one tight centered unit.
   Center the eyebrow and the quote text itself, and tighten the cap
   further so quote + wordmark sit close together.
   NOTE: superseded by R8-1 below, which replaces the single centered
   column with a 2-column grid (brand left, quote right). Kept here
   only for the max-height reset; the flex/centering rules are
   overridden by the R8-1 block that follows. */
.pm-as-seen-in-inner {
  max-height: none;
}

/* ── R8-1: "As seen in" — 2-column grid. Left: eyebrow stacked directly
   above the NYT wordmark, both left-aligned. Right: the pull quote.
   Replaces the R7-followup single centered column. ── */
.pm-as-seen-in-inner {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.pm-as-seen-in-row {
  display: contents;
}
.pm-as-seen-in-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.pm-as-seen-in .eyebrow { display: block; text-align: left; margin: 0; }
.pm-nyt-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  color: rgba(246,247,244,1);
  margin: 0;
  text-align: left;
}
/* R11: sized up closer to the quote's visual weight (was 180px). */
.pm-logo-row img.nyt-wordmark { max-height: none; width: 156px; height: auto; aspect-ratio: 480 / 65; opacity: 0.85; filter: brightness(0) invert(1); }
@media (max-width: 768px) {
  .pm-as-seen-in-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .pm-as-seen-in-brand { align-items: center; }
  .pm-as-seen-in .eyebrow { text-align: center; }
  .pm-nyt-quote { text-align: center; }
}

/* ── R7-5 / R7-19: book covers — native 250×350, no responsive
   upscaling on either the homepage strip or the Books page blocks. ── */
.pm-book-card img {
  width: 250px;
  height: 350px;
  aspect-ratio: auto;
  object-fit: contain;
  max-width: 100%;
}
.pm-book-block-cover img {
  width: 250px;
  height: 350px;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.pm-book-block-cover { align-self: start; flex: none; }

/* ── R7-7 / R7-hotfix-1: About hero — image fills the box (cover) instead
   of being letterboxed (contain), so Peter isn't sitting low under a band
   of empty navy. Source photo is ~1.5:1 (2560×1707); at the 2:1 desktop
   box the crop is purely vertical (no horizontal cropping — Peter isn't
   cut off) so object-position's horizontal component is a no-op here,
   kept as documentation of intent. ── */
.pm-about-hero {
  padding: 0;
  aspect-ratio: 2 / 1;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
}
.pm-about-hero .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
}
.pm-about-hero .pm-page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(24px,4vw,48px) var(--gutter);
  background: linear-gradient(180deg, rgba(26,34,51,0) 0%, rgba(26,34,51,0.85) 100%);
}
@media (max-width: 768px) {
  .pm-about-hero { aspect-ratio: 4 / 3; }
  .pm-about-hero .bg-img { object-fit: cover; object-position: center center; }
}

/* ── R7-9: Giving Back blurb line — normal style, not italic ── */
.pm-giving-list li .blurb { font-style: normal; }

/* ── R7-11: Awards — clean 2-column grid (About + homepage highlights
   share this component). ── */
.pm-awards-list {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pm-awards-list li { display: contents; }
/* R8-3: match Education's year-column typography exactly (0.78rem,
   normal weight, cerulean, 0.06em tracking) — was inheriting the body
   size + bold weight, making Awards years render noticeably larger
   than Education's. */
.pm-awards-list .year {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cerulean);
  min-width: 0;
}
.pm-awards-list .name {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.5;
  font-style: normal;
}
.pm-awards-list .name a { text-decoration: underline; text-underline-offset: 3px; }
.pm-awards-list .award-sep { opacity: 0.5; margin: 0 2px; }

/* ── R7-13: episode template — top grid, AEO card, platform buttons,
   accordions ── */
.crumbs-bar { padding: 14px var(--pm-content-padding) 0; }
.crumbs-bar .crumbs-inner { max-width: var(--pm-content-width); margin: 0 auto; font-size: 0.8rem; color: rgba(246,247,244,1); }
.crumbs-bar .crumbs-inner a { color: rgba(246,247,244,1); }
.crumbs-bar .crumbs-inner a:hover { color: var(--cerulean); }
.crumbs-bar .crumbs-inner .sep { margin: 0 6px; opacity: 0.5; }

.pm-episode-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--pm-content-width);
  margin: 0 auto;
  padding: clamp(32px,5vw,56px) var(--pm-content-padding);
}
@media (max-width: 900px) {
  .pm-episode-top { grid-template-columns: 1fr; }
}
.pm-aeo-card {
  background: rgba(255,255,255,0.04);
  border-top: 3px solid var(--cerulean);
  border-radius: 4px;
  padding: 22px 24px;
}
.pm-aeo-card .label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin: 18px 0 6px;
}
.pm-aeo-card .label:first-child { margin-top: 0; }
.pm-aeo-card .copy { margin: 0 0 4px; line-height: 1.6; font-size: 0.98rem; }
.pm-aeo-card .copy.placeholder { color: rgba(246,247,244,1); font-style: italic; }

.pm-episode-media .video-wrap { margin-bottom: 18px; }
.pm-media-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cerulean); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.pm-audio-wrap { margin-top: 20px; }
.pm-audio-wrap iframe { width: 100%; border: none; border-radius: 4px; }

/* R8-10: platform buttons now live inside the media column, directly
   under the video/audio — left-aligned, not a separate full-width row. */
.pm-platform-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; margin-top: 20px; }
.pm-platform-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cerulean); color: var(--navy);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 10px 20px; border-radius: 2px;
}
.pm-platform-pill svg { flex: none; }
.pm-platform-pill:hover { opacity: 0.85; }
.pm-platform-row .btn-ghost-white { padding: 9px 20px; }

.pm-section-block { max-width: var(--pm-content-width); margin: 0 auto; padding: clamp(28px,4vw,44px) var(--pm-content-padding); border-top: 1px solid rgba(246,247,244,0.08); }
.pm-section-block h2 { font-family: var(--display); font-size: clamp(1.4rem,2.4vw,2rem); text-transform: uppercase; margin: 0 0 20px; }
.pm-learn-list, .pm-takeaway-list { margin: 0; padding-left: 1.2em; line-height: 1.7; }
/* R11: thin hairline dividers between items, replacing the thick blue
   rule the Key Takeaways block used to sit inside. */
.pm-learn-list li, .pm-takeaway-list li { padding: 8px 0; border-bottom: 1px solid rgba(246,247,244,0.08); }
.pm-learn-list li:last-child, .pm-takeaway-list li:last-child { border-bottom: 0; }
.pm-timestamp-list { list-style: none; margin: 0; padding: 0; }
.pm-timestamp-list li { display: flex; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(246,247,244,0.08); }
.pm-timestamp-list .ts { color: var(--cerulean); font-variant-numeric: tabular-nums; min-width: 64px; }
.pm-placeholder { color: rgba(246,247,244,1); font-style: italic; }

.pm-bio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .pm-bio-row { grid-template-columns: 1fr; } }
.pm-bio-card { display: flex; gap: 16px; align-items: flex-start; }
.pm-bio-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.pm-avatar-initials {
  width: 72px; height: 72px; border-radius: 50%; flex: none;
  background: var(--cerulean);
  color: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.pm-bio-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.pm-bio-card .role { font-size: 0.82rem; color: var(--cerulean); margin: 0 0 8px; }
.pm-bio-card p.bio-text { font-size: 0.9rem; color: rgba(246,247,244,1); line-height: 1.6; margin: 0 0 6px; }

.pm-related-grid, .pm-cross-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pm-related-grid, .pm-cross-promo-grid { grid-template-columns: 1fr; } }

.pm-cross-promo-grid { justify-content: center; }
.pm-show-circle { text-align: center; }
.pm-show-circle .circle-wrap { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; background: var(--navy); }
.pm-show-circle .circle-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pm-show-circle h4 { margin: 0 0 4px; font-size: 0.98rem; }
.pm-show-circle a.listen-mini { font-size: 0.78rem; color: var(--cerulean); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── R8-11: episode-template cross-promo tiles — square, slightly
   larger than the old 120px circles used on the Podcasts page.
   R9-3: true squares (no rounded corners), sized up another 5%
   (160px → 168px). ── */
.pm-show-tile { text-align: center; }
.pm-show-tile .tile-wrap {
  width: 168px;
  height: 168px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto 12px;
  background: var(--navy);
}
.pm-show-tile .tile-wrap img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pm-show-tile h4 { margin: 0 0 4px; font-size: 0.98rem; }
.pm-show-tile a.listen-mini { font-size: 0.78rem; color: var(--cerulean); text-transform: uppercase; letter-spacing: 0.06em; }

.pm-resource-list { list-style: none; margin: 0; padding: 0; }
.pm-resource-list li { padding: 8px 0; border-bottom: 1px solid rgba(246,247,244,0.08); }
.pm-resource-list a { color: var(--cerulean); }

.pm-accordion-wrap { max-width: var(--pm-content-width); margin: 0 auto; padding: clamp(28px,4vw,44px) var(--pm-content-padding) clamp(56px,8vw,96px); display: flex; flex-direction: column; gap: 10px; }
/* R8-8: Key Takeaways / Transcript now sit mid-page (moved up ahead of
   the bios section) instead of at the very bottom — trim the large
   bottom padding meant for the page's final block. */
.pm-accordion-wrap--upper { padding-bottom: clamp(28px,4vw,44px); border-top: 1px solid rgba(246,247,244,0.08); }
/* R11: Transcript + Disclosure combined into one wrap — sit closer
   together than the default accordion-wrap gap. */
.pm-accordion-wrap--tight { gap: 0; }
details.pm-accordion { border-top: 2px solid var(--cerulean); padding: 4px 0; }
details.pm-accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 4px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.pm-accordion summary::-webkit-details-marker { display: none; }
details.pm-accordion summary::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: var(--cerulean);
  transition: transform 0.2s;
}
details.pm-accordion[open] summary::after { transform: rotate(45deg); }
.pm-accordion-body { padding: 0 4px 20px; line-height: 1.7; color: rgba(246,247,244,1); }
.pm-accordion-body ul { margin: 0; padding-left: 1.2em; }

.pm-disclosure-text { font-size: 0.85rem; color: rgba(246,247,244,1); }

/* Open-glyph social row (override the earlier boxed style) */
.pm-social-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 52px; }
.pm-social-label {
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 2px;
}
.pm-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--offwhite);
}
.pm-social-row a:hover { border: none; color: var(--cerulean); }
.pm-social-row a svg { width: 22px; height: 22px; opacity: 0.75; transition: opacity 0.15s; }
.pm-social-row a:hover svg { opacity: 1; }

/* ── R7-followup-4: re-enabled Simplecast audio player (single-episode.php) ── */
/* R11: frame the embed in the site's light-blue accent — Spotify's own
   player chrome (progress bar, play button) is rendered inside a
   cross-origin iframe and can't be recolored from our CSS. */
.pm-audio-player {
  margin-top: 20px;
  padding: 3px;
  border-radius: 10px;
  background: var(--cerulean);
}
.pm-audio-player iframe { display: block; width: 100%; border: 0; border-radius: 8px; background: var(--navy); }

/* ── Final edits ── */
/* Homepage: halve the vertical gaps between the episodes block, Books,
   Awards & Recognition, and the closing CTA band. */
.pm-iandi-block      { padding-bottom: clamp(30px,4vw,56px); }
.pm-books-strip      { padding-top: clamp(30px,4vw,56px); padding-bottom: clamp(30px,4vw,56px); }
.pm-awards-highlights { padding-top: clamp(24px,3vw,40px); padding-bottom: clamp(24px,3vw,40px); }
.pm-cta-band         { padding-top: clamp(30px,4vw,56px); }

/* Homepage book titles are now H3s — keep the previous card-title look. */
.pm-book-card h3.title { font-family: inherit; font-size: 0.95rem; font-weight: 600; letter-spacing: normal; text-transform: none; line-height: 1.4; margin: 0; }

/* About: stacked Personal / Creative Planning award groups. */
.pm-awards-group + .pm-awards-group { margin-top: 48px; }
