/* Podcast audience proof, editorial highlights and chronological archive. */

:root {
  --podcast-accent-text: #58c7f7;
}

html[data-theme='light'] {
  --podcast-accent-text: #0a06e5;
}

.podcast-audience.section {
  padding: 88px 0 78px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff !important;
}

.podcast-audience-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}

.podcast-audience-intro .section-kicker,
.episodes-heading .section-kicker,
.podcast-latest-header .section-kicker {
  grid-column: 1 / -1;
  display: block;
  margin-bottom: 16px;
  color: var(--podcast-accent-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.podcast-audience-intro .section-kicker {
  margin-bottom: -44px;
}

.podcast-audience-intro h2,
.episodes-heading h2,
.podcast-latest-header h2 {
  margin: 0;
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.podcast-audience-intro p,
.episodes-heading p,
.podcast-latest-header p {
  max-width: 460px;
  margin: 0;
  color: #5f5f5a;
  font-size: 16px;
  line-height: 1.6;
}

.podcast-audience-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #111111;
  border-bottom: 1px solid #d9d9d5;
}

.podcast-audience-stats > div {
  min-width: 0;
  padding: 27px 26px 29px 0;
}

.podcast-audience-stats > div + div {
  padding-left: 26px;
  border-left: 1px solid #d9d9d5;
}

.podcast-audience-stats dt {
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.podcast-audience-stats dd {
  max-width: 175px;
  margin-top: 10px;
  color: #696964;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.podcast-audience-logos {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 3.28fr);
  gap: 44px;
  align-items: center;
  padding: 30px 0 27px;
  border-bottom: 1px solid #d9d9d5;
}

.podcast-audience-logos > p {
  margin: 0;
  color: #696964;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.podcast-audience-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
}

.podcast-audience-logo {
  --podcast-logo-width: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
}

.podcast-audience-logo-grid img {
  display: block;
  width: var(--podcast-logo-width);
  max-width: 100%;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  opacity: 0.58;
}

.podcast-audience-logo--jpmorgan { --podcast-logo-width: 128px; }
.podcast-audience-logo--goldman { --podcast-logo-width: 124px; }
.podcast-audience-logo--blackrock { --podcast-logo-width: 114px; }
.podcast-audience-logo--citi { --podcast-logo-width: 54px; }
.podcast-audience-logo--mastercard { --podcast-logo-width: 48px; }
.podcast-audience-logo--vaneck { --podcast-logo-width: 80px; }

.podcast-audience-source {
  margin: 15px 0 0;
  color: #999993;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.episodes-section.section {
  padding: 108px 0 118px;
  background: #f4f4f2 !important;
}

.episodes-header,
.podcast-latest-header {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
}

.episodes-header {
  margin-bottom: 46px;
  padding: 0;
  border: 0;
}

.episodes-heading {
  max-width: 780px;
}

.episodes-heading p,
.podcast-latest-header p {
  margin-top: 18px;
}

.episodes-all-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  color: #111111;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 160ms ease, color 160ms ease;
}

.episodes-all-link:hover {
  border-color: var(--podcast-accent-text);
  color: var(--podcast-accent-text);
}

.podcast-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.podcast-highlight-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.1);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.podcast-highlight-card:hover,
.podcast-highlight-card:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.18), 0 18px 46px rgba(18, 24, 40, 0.1);
  transform: translateY(-3px);
}

.podcast-highlight-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b0c0e;
}

.podcast-highlight-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.3), transparent 45%);
  content: '';
  pointer-events: none;
}

.podcast-highlight-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.86) contrast(1.03);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-highlight-card--hester .podcast-highlight-image img {
  object-position: center 20%;
}

.podcast-highlight-card--raoul .podcast-highlight-image img {
  object-position: center 26%;
}

.podcast-highlight-card:hover .podcast-highlight-image img,
.podcast-highlight-card:focus-visible .podcast-highlight-image img {
  transform: scale(1.025);
}

.podcast-highlight-play {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);
}

.podcast-highlight-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.podcast-highlight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
}

.podcast-highlight-topic {
  display: block;
  margin-bottom: 15px;
  color: var(--podcast-accent-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.podcast-highlight-body h3 {
  margin: 0 0 14px;
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.podcast-highlight-body p {
  margin: 0;
  color: #656560;
  font-size: 14px;
  line-height: 1.58;
}

.podcast-highlight-link {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: #111111;
  font-size: 12px;
  font-weight: 600;
}

.podcast-latest {
  margin-top: 108px;
  padding-top: 72px;
  border-top: 1px solid #cfcfca;
}

.podcast-latest-header {
  margin-bottom: 40px;
}

.podcast-latest-header > div {
  max-width: 740px;
}

.episodes-updated {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  color: #8a8a84;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.episodes-updated::before {
  width: 3px;
  height: 3px;
  margin-right: 12px;
  background: #0a06e5;
  border-radius: 50%;
  content: '';
}

#latest-episodes.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.podcast-latest #latest-episodes .episode-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.09);
  transform: none;
}

.podcast-latest #latest-episodes .episode-card:hover,
.podcast-latest #latest-episodes .episode-card:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.16), 0 15px 34px rgba(18, 24, 40, 0.08);
  transform: translateY(-2px);
}

.podcast-latest #latest-episodes .episode-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #090a0d;
}

.podcast-latest #latest-episodes .episode-thumb img,
.podcast-latest #latest-episodes .episode-card:hover .episode-thumb img,
.podcast-latest #latest-episodes .episode-card:focus-visible .episode-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.podcast-latest #latest-episodes .episode-play-overlay {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 12px;
  left: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 8, 10, 0.84);
  color: #ffffff;
  transform: none;
}

.podcast-latest #latest-episodes .episode-play-overlay svg {
  width: 14px;
  height: 14px;
}

.podcast-latest #latest-episodes .episode-card:hover .episode-play-overlay,
.podcast-latest #latest-episodes .episode-card:focus-visible .episode-play-overlay {
  background: #0a06e5;
  transform: none;
}

.podcast-latest #latest-episodes .episode-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: auto;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(7, 8, 10, 0.84);
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
}

.podcast-latest #latest-episodes .episode-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  padding: 20px;
}

.podcast-latest #latest-episodes .episode-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 1.18em;
  margin: 0;
  color: #111111;
  font-family: 'Sora', sans-serif;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.18;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.podcast-latest #latest-episodes .episode-guest-role {
  margin: 6px 0 0;
  color: #777771;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-transform: uppercase;
}

.podcast-latest #latest-episodes .episode-topic {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  margin: 16px 0 20px;
  color: #555550;
  font-size: 14px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.podcast-latest #latest-episodes .episode-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e1e1dd;
  color: #8a8a84;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.podcast-latest #latest-episodes .episode-card-meta span:first-child {
  color: var(--podcast-accent-text);
  font-weight: 600;
}

html[data-theme='dark'] .podcast-audience.section {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #0b0c10 !important;
}

html[data-theme='dark'] .episodes-section.section {
  background: #111217 !important;
}

html[data-theme='dark'] :is(.podcast-audience-intro h2, .episodes-heading h2, .podcast-latest-header h2) {
  color: #ededed;
}

html[data-theme='dark'] :is(.podcast-audience-intro p, .episodes-heading p, .podcast-latest-header p) {
  color: #a0a0a0;
}

html[data-theme='dark'] .podcast-audience-stats {
  border-top-color: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html[data-theme='dark'] .podcast-audience-stats > div + div {
  border-left-color: rgba(255, 255, 255, 0.14);
}

html[data-theme='dark'] .podcast-audience-stats dt {
  color: #ededed;
}

html[data-theme='dark'] .podcast-audience-logos {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html[data-theme='dark'] .podcast-audience-logos > p {
  color: #9b9b96;
}

html[data-theme='dark'] .podcast-audience-logo-grid img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.62;
}

html[data-theme='dark'] :is(.podcast-highlight-card, .podcast-latest #latest-episodes .episode-card) {
  background: #0b0c10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html[data-theme='dark'] :is(.podcast-highlight-body h3, .podcast-highlight-link, .podcast-latest #latest-episodes .episode-title, .episodes-all-link) {
  color: #ededed;
}

html[data-theme='dark'] .podcast-latest #latest-episodes .episode-guest-role {
  color: #92928c;
}

html[data-theme='dark'] .podcast-latest #latest-episodes .episode-topic {
  color: #b2b2ac;
}

html[data-theme='dark'] :is(.podcast-highlight-body p, .podcast-audience-stats dd) {
  color: #9b9b96;
}

html[data-theme='dark'] .podcast-latest {
  border-top-color: rgba(255, 255, 255, 0.14);
}

html[data-theme='dark'] .podcast-latest #latest-episodes .episode-card-meta {
  border-top-color: rgba(255, 255, 255, 0.11);
}

@media (max-width: 980px) {
  .podcast-audience-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .podcast-audience-intro .section-kicker {
    margin-bottom: 0;
  }

  .podcast-audience-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .podcast-audience-logos {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .podcast-audience-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .podcast-audience-stats > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid #d9d9d5;
    border-left: 0;
  }

  .podcast-audience-stats > div:nth-child(4) {
    border-top: 1px solid #d9d9d5;
  }

  .podcast-highlight-body {
    min-height: 290px;
  }

  #latest-episodes.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .podcast-audience.section {
    padding: 70px 0 64px;
  }

  .episodes-section.section {
    padding: 78px 0 88px;
  }

  .episodes-header,
  .podcast-latest-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .podcast-highlights-grid {
    grid-template-columns: 1fr;
  }

  .podcast-highlight-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .podcast-highlight-image {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }

  .podcast-highlight-body {
    min-height: 320px;
  }

  .podcast-latest {
    margin-top: 80px;
    padding-top: 58px;
  }
}

@media (max-width: 640px) {
  .podcast-audience-stats > div {
    padding: 22px 16px 24px 0;
  }

  .podcast-audience-stats > div + div {
    padding-left: 16px;
  }

  .podcast-audience-stats > div:nth-child(3) {
    padding-left: 0;
  }

  .podcast-audience-stats dt {
    font-size: 32px;
  }

  .podcast-audience-stats dd {
    font-size: 8px;
  }

  .podcast-audience-logos {
    padding: 26px 0 24px;
  }

  .podcast-audience-logo-grid {
    gap: 20px 14px;
  }

  .podcast-audience-logo-grid img {
    max-height: 26px;
  }

  .podcast-highlight-card {
    display: flex;
  }

  .podcast-highlight-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .podcast-highlight-body {
    min-height: 0;
    padding: 21px;
  }

  .podcast-highlight-body h3 {
    font-size: 23px;
  }

  .podcast-latest {
    margin-top: 70px;
    padding-top: 50px;
  }

  .episodes-updated {
    display: flex;
    margin: 5px 0 0;
  }

  .episodes-updated::before {
    display: none;
  }

  #latest-episodes.episodes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .podcast-latest #latest-episodes .episode-body {
    min-height: 150px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .podcast-highlight-card,
  .podcast-highlight-image img,
  .podcast-latest #latest-episodes .episode-card,
  .episodes-all-link {
    transition: none;
  }
}
