@font-face {
  font-family: "Figtree";
  src: url("../common/fonts/Figtree-Variable.ttf") format("truetype");
  font-display: swap;
}

:root {
  --news-ink: #0b1b35;
  --news-muted: #58708f;
  --news-blue: #176cff;
  --news-line: #d8e5fa;
  --news-surface: #ffffff;
  --news-wash: #f3f7ff;
}

.news-page {
  min-height: 100vh;
  color: var(--news-ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(54, 130, 255, 0.12), transparent 25rem),
    var(--news-wash);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

.news-page *,
.news-page *::before,
.news-page *::after { box-sizing: border-box; }

.news-main { overflow: hidden; }

.news-hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: end;
}

.news-kicker,
.news-section-kicker {
  margin: 0 0 18px;
  color: var(--news-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.news-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.news-hero-deck {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--news-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: #7086a2;
  font-size: 13px;
  font-weight: 700;
}

.news-hero-meta span + span::before {
  content: "·";
  margin-right: 24px;
  color: #afc0d7;
}

.news-hero-visual {
  min-height: 360px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #d9e7fb;
  box-shadow: 0 24px 60px rgba(24, 77, 145, .14);
}

.news-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.news-hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  color: #fff;
  border-radius: 14px;
  background: rgba(5, 25, 58, .72);
  backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 1.35;
}

.news-article-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 90px;
}

.news-lead {
  margin: 0 0 34px;
  padding: 26px 30px;
  color: #183965;
  border: 1px solid var(--news-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.6;
}

.news-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 54px;
}

.news-fact {
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--news-line);
  border-radius: 18px;
  background: var(--news-surface);
}

.news-fact strong {
  display: block;
  color: var(--news-blue);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.05em;
}

.news-fact span {
  display: block;
  margin-top: 12px;
  color: var(--news-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.news-section {
  padding: 42px 0;
  border-top: 1px solid var(--news-line);
}

.news-section h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.news-section h2::before {
  content: attr(data-chapter);
  display: block;
  margin-bottom: 10px;
  color: var(--news-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.news-section > p {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--news-muted);
  font-size: 17px;
  line-height: 1.65;
}

.news-section .news-capability-line {
  margin-top: 26px;
  padding-top: 18px;
  color: #183965;
  border-top: 1px solid #e1ebf8;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.55;
}

.news-section .news-capability-line strong {
  color: var(--news-blue);
}

.news-chart {
  margin: 28px 0 2px;
  padding: 22px 24px 24px;
  border: 1px solid var(--news-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 83, 147, .06);
}

.news-chart__label {
  margin: 0 0 18px;
  color: #6d83a0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.news-chart__caption {
  margin: 18px 0 0;
  color: #7186a1;
  font-size: 12px;
  line-height: 1.5;
}

.news-region-chart {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(180px, 1.35fr) minmax(130px, 1fr);
  gap: 12px;
  align-items: center;
}

.news-region-node {
  min-height: 94px;
  padding: 18px;
  border: 1px solid #c9dcf6;
  border-radius: 14px;
  background: #f3f7ff;
}

.news-region-node strong,
.news-region-node span { display: block; }
.news-region-node strong { color: #12355e; font-size: 19px; letter-spacing: -.03em; }
.news-region-node span { margin-top: 7px; color: #6b83a0; font-size: 12px; line-height: 1.35; }

.news-region-core {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #155fe4, #2a8cff);
}

.news-region-core::before,
.news-region-core::after {
  content: "";
  width: 22px;
  height: 1px;
  position: absolute;
  top: 50%;
  background: #8db5f3;
}
.news-region-core::before { left: -22px; }
.news-region-core::after { right: -22px; }
.news-region-core strong { font-size: 18px; }
.news-region-core span { margin-top: 6px; font-size: 12px; opacity: .82; }

.news-flow-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.news-flow-step {
  min-height: 84px;
  position: relative;
  padding: 16px 12px;
  border-radius: 14px;
  background: #eef4ff;
  text-align: center;
}

.news-flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -11px;
  z-index: 1;
  color: #78a4e8;
  font-size: 20px;
  transform: translateY(-50%);
}

.news-flow-step strong,
.news-flow-step span { display: block; }
.news-flow-step strong { color: #163962; font-size: 14px; }
.news-flow-step span { margin-top: 7px; color: #6b83a0; font-size: 11px; line-height: 1.35; }

.news-channel-chart {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.news-channel {
  min-height: 110px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0f6ff, #e6f2ff);
}

.news-channel strong { display: block; color: #12355e; font-size: 15px; }
.news-channel span { display: block; margin-top: 10px; color: #6b83a0; font-size: 12px; line-height: 1.45; }

.news-integration-chart {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 12px;
  align-items: stretch;
}

.news-integration-path {
  padding: 18px;
  border: 1px solid #c9dcf6;
  border-radius: 14px;
  background: #f5f8ff;
}

.news-integration-path strong,
.news-integration-path span { display: block; }
.news-integration-path strong { color: #12355e; font-size: 16px; }
.news-integration-path span { margin-top: 8px; color: #6b83a0; font-size: 12px; line-height: 1.45; }

.news-integration-or {
  display: grid;
  place-items: center;
  color: var(--news-blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.news-pullquote {
  margin: 32px 0 0;
  padding: 25px 28px;
  color: #11315d;
  border-left: 4px solid var(--news-blue);
  background: #eaf2ff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.news-source-note {
  margin-top: 46px;
  padding-top: 18px;
  color: #7a8da6;
  border-top: 1px solid var(--news-line);
  font-size: 12px;
  line-height: 1.5;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--news-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.news-back-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .news-hero { grid-template-columns: 1fr; gap: 34px; }
  .news-hero-visual, .news-hero-visual img { min-height: 300px; }
}

@media (max-width: 620px) {
  .news-hero, .news-article-shell { width: min(100% - 32px, 1080px); }
  .news-hero { padding-top: 58px; padding-bottom: 48px; }
  .news-fact-grid { grid-template-columns: 1fr; }
  .news-lead { padding: 20px; font-size: 16px; }
  .news-section { padding: 32px 0; }
  .news-region-chart { grid-template-columns: 1fr; }
  .news-region-core::before, .news-region-core::after { display: none; }
  .news-flow-chart, .news-channel { grid-template-columns: 1fr; }
  .news-flow-step:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -16px; transform: translateX(50%); }
  .news-integration-chart { grid-template-columns: 1fr; }
  .news-integration-or { min-height: 24px; }
}

/* Editorial newsroom treatment: let the article read like an article, not a deck. */
.news-hero {
  width: min(960px, calc(100% - 48px));
  display: block;
  padding: clamp(64px, 9vw, 112px) 0 46px;
  text-align: center;
}

.news-hero > div { max-width: 840px; margin: 0 auto; }
.news-hero h1 { max-width: none; font-size: clamp(44px, 6vw, 78px); line-height: 1.02; }
.news-hero-deck { max-width: 720px; margin: 24px auto 0; font-size: clamp(18px, 2vw, 22px); }
.news-hero-meta { justify-content: center; margin-top: 22px; }

.news-hero-visual {
  width: 100%;
  min-height: 0;
  margin: 42px 0 0;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(24, 77, 145, .10);
}

.news-hero-visual img { width: 100%; min-height: 0; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.news-hero-visual figcaption {
  position: static;
  padding: 10px 2px 0;
  color: #7186a1;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  text-align: left;
  font-size: 12px;
}

.news-article-shell { width: min(760px, calc(100% - 48px)); padding-bottom: 88px; }
.news-lead {
  margin: 0 0 34px;
  padding: 0;
  color: #29466b;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 21px;
  line-height: 1.65;
}

.news-fact-grid,
.news-chart,
.news-pullquote,
.news-capability-line,
.news-section h2,
.news-section-kicker { display: none; }

.news-section { padding: 0; border-top: 0; }
.news-section + .news-section { margin-top: 0; }
.news-section > p {
  max-width: none;
  margin: 0 0 24px;
  color: #29466b;
  font-size: 17px;
  line-height: 1.78;
}

.news-closing {
  max-width: none;
  margin: 0 0 24px;
  color: #29466b;
  font-size: 17px;
  line-height: 1.78;
}

.news-article-image { margin: 38px 0 34px; }
.news-article-image img { display: block; width: 100%; height: auto; border-radius: 16px; }
.news-article-image figcaption { margin-top: 10px; color: #7186a1; font-size: 12px; line-height: 1.45; }

@media (max-width: 620px) {
  .news-hero, .news-article-shell { width: min(100% - 32px, 760px); }
  .news-hero { padding-top: 54px; padding-bottom: 38px; }
  .news-hero-visual { margin-top: 30px; }
  .news-hero-visual img { aspect-ratio: 4 / 3; }
  .news-lead { font-size: 18px; }
  .news-section > p, .news-closing { font-size: 16px; line-height: 1.72; }
}
.news-kicker {
  display: none;
}

.news-hero-meta span:nth-child(3) {
  display: none;
}
