/* 5500RADAR Blog articles
 *
 * The index is owned by insights.css. This file gives long-form articles an
 * editorial header, a real visual, and a calm 68-72 character reading measure.
 */

.page-article {
  --article-paper: #f4f2ea;
  --article-paper-raised: #fffefa;
  --article-paper-muted: #e9e6dc;
  --article-ink: #0d1417;
  --article-ink-muted: #526064;
  --article-rule: rgb(13 20 23 / 0.22);
  --article-rule-strong: rgb(13 20 23 / 0.46);
  --article-accent: #0a4e63;
  --article-rail: clamp(190px, 20vw, 236px);
  background: var(--article-paper);
  color: var(--article-ink);
}

.page-article main {
  background: var(--article-paper);
}

/* Topic archives use the same quiet reading system as the blog index. The
 * shared secondary hero normally carries the filing-chamber horizon; that
 * image competes with an archive label, so topic pages intentionally resolve
 * to a compact graphite masthead instead. */
.page-insights .secondary-hero {
  min-height: 0;
  padding: clamp(112px, 10vw, 148px) 0 clamp(64px, 7vw, 92px);
  border-bottom: 1px solid rgb(244 246 242 / 0.2);
  background: #111b1e;
}

.page-insights .secondary-hero::before {
  display: none;
}

.page-insights .secondary-hero::after {
  content: none;
  display: none;
}

.page-insights .secondary-hero .wrap {
  min-height: 0;
  padding-block: 0;
}

.page-insights .secondary-hero .label {
  color: #70d7ed;
}

.page-insights .secondary-hero h1 {
  max-width: 14ch;
  margin: 14px 0 22px;
  color: #f4f6f2;
  font-size: clamp(3rem, 6vw, 5.75rem);
}

.page-insights .secondary-hero .lede {
  max-width: 62ch;
  margin: 0;
  color: #b8c7c8;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}

.page-insights .briefings-section {
  padding: clamp(72px, 8vw, 112px) 0 clamp(104px, 10vw, 156px);
  background: #f2f3ef;
}

.page-insights .topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 clamp(54px, 6vw, 82px);
  padding: 0;
  border-block: 1px solid rgb(83 102 107 / 0.28);
}

.page-insights .topic-row a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-right: 1px solid rgb(83 102 107 / 0.28);
  color: #2f444a;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.page-insights .topic-row a:hover,
.page-insights .topic-row a:focus-visible,
.page-insights .topic-row a[aria-current="page"] {
  background: #e5eae7;
  color: #0b6e83;
}

.page-insights .topic-row a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #0e7e9b;
  outline-offset: -2px;
}

.page-insights .topic-count {
  color: #53666b;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.page-insights .featured-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
  padding-bottom: clamp(62px, 7vw, 92px);
  border-bottom: 1px solid rgb(83 102 107 / 0.42);
}

.page-insights .featured-copy,
.page-insights .compact-post-list article {
  min-width: 0;
}

.page-insights .featured-brief .post-meta,
.page-insights .compact-post-list .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 22px;
  color: #53666b;
  font-size: 12px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.page-insights .featured-brief .post-topic,
.page-insights .compact-post-list .post-topic {
  color: #0b6e83;
  font-weight: 700;
  text-decoration: none;
}

.page-insights .featured-brief h3,
.page-insights .compact-post-list h3 {
  max-width: 25ch;
  margin: 0 0 18px;
  color: #15262c;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.75rem);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: -0.038em;
}

.page-insights .featured-brief h3 a,
.page-insights .compact-post-list h3 a {
  color: inherit;
  text-decoration: none;
}

.page-insights .featured-brief h3 a:hover,
.page-insights .compact-post-list h3 a:hover {
  color: #0b6e83;
}

.page-insights .featured-copy > p,
.page-insights .compact-post-list article > p {
  max-width: 67ch;
  margin: 0 0 24px;
  color: #45595e;
  font-size: 16px;
  line-height: 1.68;
}

.page-insights .featured-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgb(83 102 107 / 0.28);
  background: #111b1e;
}

.page-insights .featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-insights .post-coordinate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0;
  border-top: 1px solid rgb(83 102 107 / 0.32);
}

.page-insights .post-coordinate div {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid rgb(83 102 107 / 0.24);
}

.page-insights .post-coordinate dt {
  margin: 0 0 5px;
  color: #53666b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-insights .post-coordinate dd {
  margin: 0;
  color: #15262c;
  font-size: 13px;
  line-height: 1.45;
}

.page-insights .read-on {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b6e83;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.page-insights .compact-post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 6vw, 82px);
}

.page-insights .compact-post-list article {
  padding: clamp(46px, 5vw, 68px) 0;
  border-bottom: 1px solid rgb(83 102 107 / 0.28);
}

.page-insights .compact-post-list h3 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.page-insights .post-empty {
  max-width: 54ch;
  margin: 0;
  padding-block: 36px;
  color: #53666b;
  font-size: 17px;
  line-height: 1.65;
}

.page-article .post {
  max-width: none;
  margin: 0;
  padding-block: clamp(108px, 9vw, 142px) clamp(100px, 10vw, 150px);
}

.page-article .post-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 0.78fr);
  column-gap: clamp(40px, 6vw, 78px);
  padding: 0;
  margin: 0;
  border: 0;
}

.page-article .post-breadcrumb {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
  color: var(--article-ink-muted);
  font-size: 13px;
  line-height: 1.45;
}

.page-article .post-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-article .post-breadcrumb a + a::before {
  content: "/";
  margin-right: 18px;
  color: var(--article-rule-strong);
}

.page-article .post-breadcrumb a:hover {
  color: var(--article-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-article .post-meta {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 10px;
  color: var(--article-ink-muted);
  font-size: 13px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.page-article .post-topic {
  color: var(--article-accent);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-article .post-head h1 {
  grid-column: 2;
  max-width: 21ch;
  margin: 0;
  color: var(--article-ink);
  font: 740 clamp(3.25rem, 4.7vw, 4.35rem) / 0.99 Archivo, Arial, sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-article .post-head .standfirst {
  grid-column: 2;
  max-width: 68ch;
  margin: 28px 0 0;
  color: var(--article-ink-muted);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.62;
  text-wrap: pretty;
}

.page-article .post-byline {
  grid-column: 2;
  margin: 18px 0 0;
  color: var(--article-ink-muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.5;
}

.page-article .post-head--speaker {
  grid-template-columns: minmax(150px, 0.2fr) minmax(0, 0.55fr) minmax(260px, 0.25fr);
  margin-bottom: clamp(68px, 7vw, 96px);
}

.page-article .post-head--speaker .post-breadcrumb {
  grid-column: 2 / 4;
}

.page-article .post-speaker {
  grid-column: 3;
  grid-row: 2 / span 3;
  align-self: start;
  min-width: 0;
  margin: 0;
}

.page-article .post-speaker-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--article-rule-strong);
  border-radius: 2px;
  background: #d8d9d5;
}

.page-article .post-speaker picture,
.page-article .post-speaker img {
  width: 100%;
  height: 100%;
  display: block;
}

.page-article .post-speaker img {
  object-fit: cover;
  object-position: center;
}

.page-article .post-speaker figcaption {
  display: grid;
  gap: 3px;
  padding-top: 14px;
  color: var(--article-ink-muted);
  font-size: 12px;
  line-height: 1.48;
}

.page-article .post-speaker figcaption strong {
  color: var(--article-ink);
  font-size: 14px;
  font-weight: 720;
}

.page-article .post-speaker figcaption span {
  color: var(--article-accent);
  font-weight: 650;
}

.page-article .post-speaker figcaption small {
  margin-top: 5px;
  color: var(--article-ink-muted);
  font: inherit;
}

.page-article .post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  margin: clamp(56px, 6vw, 82px) 0 clamp(68px, 7vw, 96px);
  overflow: hidden;
  border: 0;
  background: #05090b;
  box-shadow: 0 24px 60px -48px rgba(13, 20, 23, 0.38);
}

.page-article .post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(5 9 11 / 0.08), transparent 35%, rgb(50 181 216 / 0.08));
}

.page-article .post-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-article .post-cover picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-article .post-cover--editorial {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.page-article .post-cover--editorial::after {
  display: none;
}

.page-article .post-cover--editorial img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.page-article .post-cover figcaption {
  margin-top: 12px;
  color: var(--article-ink-muted);
  font-size: 12px;
  line-height: 1.5;
}

.page-article .post > .post-body,
.page-article .post > .post-sources,
.page-article .post > .post-foot,
.page-article .post > .post-next {
  width: calc(100% - var(--article-rail));
  max-width: 72ch;
  margin-left: var(--article-rail);
}

.page-article .post-body > * {
  max-width: none;
}

.page-article .post-body p,
.page-article .post-body li {
  color: var(--article-ink);
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.72;
}

.page-article .post-body p {
  margin: 0 0 1.45em;
}

.page-article .post-body > p:first-child {
  color: #263438;
  font-size: clamp(19px, 1.55vw, 21px);
  line-height: 1.62;
}

.page-article .post-body h2 {
  max-width: 19ch;
  margin: clamp(58px, 7vw, 82px) 0 22px;
  color: var(--article-ink);
  font: 720 clamp(2rem, 3vw, 2.75rem) / 1.06 Archivo, Arial, sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-article .post-body h3 {
  margin: 46px 0 14px;
  color: var(--article-ink);
  font: 700 clamp(1.25rem, 1.8vw, 1.55rem) / 1.2 Archivo, Arial, sans-serif;
  letter-spacing: -0.018em;
}

.page-article .post-body ul,
.page-article .post-body ol {
  margin: 0 0 30px;
  padding-left: 24px;
}

.page-article .post-body li {
  padding-left: 7px;
  margin-bottom: 11px;
}

.page-article .post-body a,
.page-article .post-sources a,
.page-article .post-next a {
  color: var(--article-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-article .post-body strong,
.page-article .post-body b {
  color: var(--article-ink);
  font-weight: 720;
}

.page-article .post-body blockquote {
  margin: clamp(38px, 5vw, 56px) 0;
  padding: 28px 0 8px;
  border-block: 1px solid var(--article-rule-strong);
}

.page-article .post-body blockquote p {
  max-width: 40ch;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 560;
  line-height: 1.32;
  letter-spacing: -0.018em;
}

.page-article .post-note {
  margin: clamp(38px, 5vw, 54px) 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--article-rule);
  border-radius: 2px;
  background: var(--article-paper-muted);
}

.page-article .post-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--article-accent);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-article .post-note p:last-child {
  margin-bottom: 0;
}

.page-article .table-scroll {
  max-width: 100%;
  margin: 34px 0 42px;
  overflow-x: auto;
  border: 1px solid var(--article-rule);
  background: var(--article-paper-raised);
}

.page-article .post-body table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
}

.page-article .post-body th,
.page-article .post-body td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--article-rule);
  line-height: 1.48;
}

.page-article .post-body tr:last-child td {
  border-bottom: 0;
}

.page-article .post-body thead th {
  background: #11191c;
  color: #f4f2ea;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.page-article .post-sources {
  margin-top: clamp(70px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--article-rule-strong);
}

.page-article .post-sources h2 {
  margin: 0 0 20px;
  color: var(--article-ink);
  font: 700 1.2rem / 1.2 Archivo, Arial, sans-serif;
}

.page-article .post-sources ol {
  margin: 0;
  padding-left: 22px;
}

.page-article .post-sources li {
  padding-left: 5px;
  margin-bottom: 12px;
  color: var(--article-ink-muted);
  font-size: 15px;
  line-height: 1.62;
}

.page-article .post-foot {
  margin-top: 54px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #11191c;
  border-radius: 2px;
  background: #11191c;
  color: #f4f2ea;
}

.page-article .post-foot h2 {
  margin: 0 0 12px;
  color: #f4f2ea;
  font: 720 clamp(1.65rem, 2.6vw, 2.2rem) / 1.08 Archivo, Arial, sans-serif;
  letter-spacing: -0.025em;
}

.page-article .post-foot p {
  max-width: 58ch;
  margin: 0 0 24px;
  color: #c4cbca;
  font-size: 16px;
  line-height: 1.62;
}

.page-article .post-foot .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-article .post-foot .btn {
  min-height: 48px;
  border-radius: 2px;
}

.page-article .post-foot .btn-dark {
  border-color: #116c88;
  background: #116c88;
  color: #fff;
}

.page-article .post-foot .btn-dark:hover {
  border-color: #0f6883;
  background: #0f6883;
  color: #fff;
}

.page-article .post-foot .btn-ghost {
  border-color: rgb(244 242 234 / 0.38);
  background: transparent;
  color: #f4f2ea;
}

.page-article .post-foot .btn-ghost:hover {
  border-color: #f4f2ea;
  color: #fff;
}

.page-article .post-next {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--article-rule);
  color: var(--article-ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.page-article a:focus-visible {
  outline: 2px solid #116c88;
  outline-offset: 4px;
}

@supports (animation-timeline: scroll()) {
  .page-article::before {
    content: "";
    position: fixed;
    z-index: 110;
    top: 68px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #32b5d8;
    transform: scaleX(0);
    transform-origin: left center;
    animation: article-reading-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-article .post-head {
    animation: article-head-enter 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .page-article .post-cover {
    animation: article-cover-enter 950ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .page-article .post-cover img {
    animation: article-image-settle 1.4s 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes article-reading-progress {
  to { transform: scaleX(1); }
}

@keyframes article-head-enter {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes article-cover-enter {
  from { opacity: 0.35; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes article-image-settle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (max-width: 1100px) {
  .page-article .post-head--speaker {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
    column-gap: clamp(34px, 5vw, 58px);
  }

  .page-article .post-head--speaker .post-breadcrumb {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .page-article .post-head--speaker .post-meta {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-top: 0;
  }

  .page-article .post-head--speaker h1 {
    grid-column: 1;
    grid-row: 3;
    margin-top: 26px;
  }

  .page-article .post-head--speaker .standfirst {
    grid-column: 1;
    grid-row: 4;
  }

  .page-article .post-head--speaker .post-byline {
    grid-column: 1;
    grid-row: 5;
  }

  .page-article .post-head--speaker .post-speaker {
    grid-column: 2;
    grid-row: 2 / span 4;
  }
}

@media (max-width: 860px) {
  .page-article {
    --article-rail: 0px;
  }

  .page-article .post-head {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .page-article .post-head--speaker {
    margin-bottom: 58px;
  }

  .page-article .post-meta {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-top: 0;
  }

  .page-article .post-breadcrumb,
  .page-article .post-head h1,
  .page-article .post-head .standfirst,
  .page-article .post-byline {
    grid-column: 1;
  }

  .page-article .post-head--speaker .post-breadcrumb,
  .page-article .post-head--speaker .post-meta,
  .page-article .post-head--speaker h1,
  .page-article .post-head--speaker .standfirst,
  .page-article .post-head--speaker .post-byline,
  .page-article .post-head--speaker .post-speaker {
    grid-column: 1;
    grid-row: auto;
  }

  .page-article .post-head--speaker h1 {
    margin-top: 0;
  }

  .page-article .post-head--speaker .post-speaker {
    width: min(100%, 360px);
    margin-top: 4px;
  }

  .page-article .post-breadcrumb {
    margin-bottom: 0;
  }

  .page-article .post-head .standfirst {
    margin-top: 0;
  }

  .page-article .post > .post-body,
  .page-article .post > .post-sources,
  .page-article .post > .post-foot,
  .page-article .post > .post-next {
    width: 100%;
    max-width: 72ch;
    margin-left: 0;
  }

  .page-article .post-cover {
    aspect-ratio: 16 / 9;
  }

  .page-insights .featured-brief,
  .page-insights .compact-post-list {
    grid-template-columns: 1fr;
  }

  .page-insights .featured-image {
    order: -1;
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .page-article .post {
    padding-block: 100px 92px;
  }

  .page-article .post-head {
    row-gap: 22px;
  }

  .page-article .post-speaker-frame {
    aspect-ratio: 1;
  }

  .page-article .post-head h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10.5vw, 2.8rem);
    line-height: 1.02;
  }

  .page-article .post-cover {
    width: auto;
    margin: 38px calc(var(--gutter) * -1) 58px;
    border-inline: 0;
  }

  .page-article .post-body h2 {
    margin-top: 54px;
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .page-article .post-body blockquote p {
    font-size: 1.4rem;
  }

  .page-article .post-note {
    padding: 22px 20px;
  }

  .page-article .post-foot {
    padding: 26px 20px;
  }

  .page-article .post-foot .actions,
  .page-article .post-foot .btn {
    width: 100%;
  }

  .page-insights .secondary-hero {
    padding-block: 104px 62px;
  }

  .page-insights .topic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-insights .topic-row a {
    border-bottom: 1px solid rgb(83 102 107 / 0.2);
  }

  .page-insights .post-coordinate {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-article::before {
    display: none;
  }

  .page-article .post-head,
  .page-article .post-cover,
  .page-article .post-cover img {
    animation: none;
  }
}
