/* Podcast navigation aligned to the Anna / REAL navy-and-paper system. */
@media (min-width: 701px) {
  .header.wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 66px 54px;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: 120px;
    margin: 0;
    padding: 0 clamp(28px, 4vw, 72px);
    background: linear-gradient(to bottom, #102338 0 66px, #f1e8d8 66px 120px);
    border: 0;
    box-sizing: border-box;
  }

  .header .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: #f8f6f1;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -.55px;
  }

  .header .brand-real {
    padding: 0;
    color: #d9c59e;
    background: transparent;
    border-radius: 0;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
  }

  .header nav {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.3vw, 38px);
    min-width: 0;
    margin: 0;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .header nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 2px;
    color: #172b40;
    text-decoration: none;
    white-space: nowrap;
  }

  .header nav a:not(:last-child)::after {
    position: absolute;
    right: 2px;
    bottom: 2px;
    left: 2px;
    height: 1px;
    background: #b69c70;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
  }

  .header nav a:hover::after,
  .header nav a:focus-visible::after { transform: scaleX(1); }

  .header nav a:last-child {
    min-height: 38px;
    padding: 0 16px;
    color: #f8f6f1;
    background: #102338;
    border: 1px solid #102338;
    border-radius: 2px;
  }
}

@media (max-width: 700px) {
  .header.wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 58px auto;
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0 24px 10px;
    background: linear-gradient(to bottom, #102338 0 58px, #f1e8d8 58px 100%);
    border: 0;
    box-sizing: border-box;
  }

  .header .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: #f8f6f1;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -.5px;
  }

  .header .brand-real {
    padding: 0;
    color: #d9c59e;
    background: transparent;
    border-radius: 0;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
  }

  .header nav {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 0 12px;
    width: 100%;
    margin: 0;
    padding: 0 0 3px;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .header nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 5px 2px;
    color: #172b40;
    border-bottom: 1px solid rgba(16, 35, 56, .14);
    text-decoration: none;
    line-height: 1.25;
  }

  .header nav a:last-child {
    justify-content: center;
    grid-column: 1 / -1;
    min-height: 40px;
    margin-top: 7px;
    color: #f8f6f1;
    background: #102338;
    border: 1px solid #102338;
    border-radius: 2px;
  }
}

@media (max-width: 360px) {
  .header.wrap { padding-inline: 16px; }
  .header nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .header nav a { font-size: 9px; }
  .header nav a:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .header nav a::after { transition: none; }
}

/* Refined Oct 22: keep the podcast header composed and bounded like its sister sites. */
@media (min-width: 701px) {
  .header.wrap {
    width: min(1680px, calc(100% - 80px));
    margin: 0 auto;
    padding: 0 0 12px;
    grid-template-rows: 66px 54px;
    background: linear-gradient(to bottom, #102338 0 66px, transparent 66px 100%);
  }
  .header .brand {
    align-self: center;
    padding-left: 22px;
  }
  .header nav {
    justify-content: flex-start;
    gap: 0;
    padding: 0 8px;
    background: #f1e8d8;
    border: 1px solid rgba(16, 35, 56, .16);
    border-radius: 2px;
    box-shadow: 0 5px 14px rgba(4, 14, 24, .08);
  }
  .header nav a {
    flex: 0 0 auto;
    padding: 0 20px;
    border-right: 1px solid rgba(16, 35, 56, .15);
  }
  .header nav a:last-child {
    margin-left: auto;
    border: 1px solid #102338;
  }
}
@media (min-width: 701px) and (max-width: 1040px) {
  .header.wrap { width: calc(100% - 32px); }
  .header nav { justify-content: space-between; }
  .header nav a { padding-inline: 10px; font-size: 10px; }
}
@media (max-width: 700px) {
  .header.wrap {
    width: calc(100% - 20px);
    margin: 10px auto 0;
    padding: 0 16px 10px;
    border: 1px solid rgba(16, 35, 56, .18);
    border-radius: 2px;
    box-shadow: 0 5px 14px rgba(4, 14, 24, .08);
  }
  .header nav {
    border-top: 1px solid rgba(16, 35, 56, .16);
  }
}


/* Keep the animated hover rule optically centered within each divided nav cell. */
@media (min-width: 701px) {
  .header nav a:not(:last-child)::after {
    right: clamp(8px, .9vw, 14px);
    bottom: 6px;
    left: clamp(8px, .9vw, 14px);
  }
}


/* Clearer podcast navigation and supporting copy, tuned to the existing editorial palette. */
@media (min-width: 701px) {
  .header nav { font-size: 12px; }
  .header nav a:not(:last-child) {
    padding-left: clamp(12px, 1vw, 16px);
    padding-right: clamp(12px, 1vw, 16px);
  }
  .header nav a:last-child { padding-inline: 18px; }
}

@media (min-width: 701px) and (max-width: 1040px) {
  .header nav { font-size: 11px; }
  .header nav a:not(:last-child) { padding-inline: 11px; }
}

@media (max-width: 700px) {
  .header nav { font-size: 11px; letter-spacing: .035em; gap: 0 14px; }
  .header nav a { min-height: 44px; padding: 6px 4px; color: #12283c; }
  .header nav a:last-child { font-size: 11px; }
}

@media (max-width: 360px) {
  .header nav { font-size: 10px; gap: 0 10px; }
  .header nav a { font-size: 10px; }
}

.eyebrow {
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
}

.hero .hero-note,
.episode-meta,
.host-link,
.episode-link,
.question-reassurance,
.form-intro,
.teaser-series-note,
.archive-episode .episode-meta {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.hero .hero-note { color: #e2eaf0 !important; }
