.news-page, .home-news {
  --news-ink: #172d3b;
  --news-muted: #45606d;
  --news-accent: #146788;
  color: var(--news-ink);
}
.news-page {
  padding: clamp(125px, 10vw, 170px) 0 clamp(56px, 7vw, 100px);
  background: linear-gradient(160deg, #e4eef3 0, #f5f8fa 420px);
}

.home-news {
  clear: both;
  padding: clamp(52px, 7vw, 108px) 0;
  background: #f5f8fa;
  scroll-margin-top: 100px;
}
.home-news-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.home-news-heading h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 700;
}
.home-news-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #b6d0dd;
  border-radius: 8px;
  color: var(--news-accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.home-news-all:is(:hover, :focus-visible) { background: #e4eef3; }
.home-news .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-news .news-card-cover { aspect-ratio: 16 / 10; }
.home-news .news-card-copy {
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  padding: clamp(18px, 2.2vw, 30px);
}
.home-news .news-card-copy h3 { font-size: clamp(21px, 1.9vw, 30px); }

.news-page-heading { margin-bottom: clamp(24px, 4vw, 50px); }
.news-page h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.news-page-heading p, .news-article-heading > p {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--news-muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.news-card {
  min-width: 0;
  border: 1px solid #d7e4eb;
  border-radius: 16px;
  background: #fff;
}
.news-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  border-radius: inherit;
  overflow: hidden;
  color: inherit;
}
.news-card > a:focus-visible, .news-back:focus-visible, .news-article-cta:focus-visible {
  outline: 2px solid var(--news-accent);
  outline-offset: 4px;
}
.news-card-feature { grid-column: 1 / -1; }
.news-card-feature > a { grid-template-columns: 1.12fr 1fr; grid-template-rows: auto; }
.news-card-cover, .news-article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  padding: 12px;
  background: #fff;
  object-fit: contain;
  box-sizing: border-box;
}
.news-card-cover { border-bottom: 1px solid #e3edf1; }
.news-card-feature .news-card-cover { height: 100%; border-bottom: 0; }
.news-cover-wide { object-fit: cover; padding: 0; }
.news-card-copy { display: grid; align-content: start; gap: 13px; padding: clamp(20px, 3vw, 38px); }
.news-card-feature .news-card-copy { align-content: center; }
.news-card-copy :is(h2, h3) { font-size: clamp(22px, 2.3vw, 33px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.news-card-feature h2 { font-size: clamp(27px, 3.15vw, 46px); }
.news-card-copy p { color: var(--news-muted); font-size: 16px; line-height: 1.55; }
.news-card-action { color: var(--news-accent); font-weight: 700; font-size: 15px; line-height: 1.4; }
.news-card > a:is(:hover, :focus-visible) .news-card-action { text-decoration: underline; text-underline-offset: 4px; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.45;
}
.news-meta > span { color: var(--news-accent); font-weight: 700; }
.news-meta time { font-variant-numeric: tabular-nums; }

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: var(--news-accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.news-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-article {
  padding: clamp(22px, 4vw, 58px);
  border: 1px solid #d7e4eb;
  border-radius: 20px;
  background: #fff;
}
.news-article-heading, .news-article-body { width: min(100%, 760px); margin-inline: auto; }
.news-article-heading h1 { margin-top: 12px; font-size: clamp(34px, 4.2vw, 61px); }
.news-article-heading > p { margin-top: 16px; }
.news-article-cover {
  width: min(100%, 1030px);
  margin: clamp(22px, 3vw, 42px) auto;
  border-radius: 12px;
  border: 1px solid #e4edf2;
}
.news-article-cover[hidden], .news-related[hidden] { display: none; }
.news-article-body { color: var(--news-muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; }
.news-article-body h2 { margin: 24px 0 8px; color: var(--news-ink); font-size: clamp(22px, 2.1vw, 31px); line-height: 1.22; font-weight: 700; }
.news-article-body p { margin-bottom: 16px; }
.news-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--news-accent);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}
.news-article-cta:is(:hover, :focus-visible) { background: #104e66; }
.news-related { margin-top: clamp(35px, 5vw, 68px); }
.news-related > h2 { margin-bottom: 18px; font-size: clamp(25px, 3vw, 39px); font-weight: 700; line-height: 1.2; }

@media (max-width: 760px) {
  :is(.news-page, .home-news) .news-container { padding-inline: 18px; }
  .news-grid, .home-news .news-grid, .news-card-feature > a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .news-card-feature .news-card-cover { height: auto; }
  .news-card-cover, .news-article-cover { aspect-ratio: 4 / 3; }
}
