/* News shares the marketing site's brand tokens and core components. */
.news-page .site-header { border-bottom-color: var(--line); }
.news-page .nav { gap: 24px; }
.news-page .nav a[aria-current="page"] { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.news-page .nav-toggle[hidden] { display: none; }

.news-hero { padding: 76px 0 62px; background: radial-gradient(ellipse at 95% 0, #ddf5f6 0, transparent 55%), linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.news-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.news-hero-copy { max-width: 700px; }
.news-hero h1 { font-size: clamp(42px, 5.4vw, 66px); font-weight: 700; letter-spacing: -.035em; }
.news-lede { max-width: 37em; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.news-edition { flex: 0 0 auto; display: flex; align-items: center; gap: 13px; margin-bottom: 5px; padding: 16px 0 16px 22px; border-left: 2px solid var(--teal); }
.news-edition svg { width: 25px; height: 25px; flex: none; color: var(--teal-ink); }
.news-edition strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.news-edition span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.news-feed { padding: 52px 0 76px; }
.news-feed-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.news-feed-heading h2 { font-size: 29px; }
.news-sources-link { color: var(--teal-ink); font-size: 14px; font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.news-sources-link span { margin-left: 6px; }
.news-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.news-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
.news-filters a:hover { border-color: var(--teal-ink); color: var(--navy); background: var(--teal-soft); }
.news-filters a[aria-current="page"], .news-filters a[aria-current="true"], .news-filters a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-status { margin: 22px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.news-status p + p { margin-top: 5px; }
.news-status a { text-underline-offset: 3px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.news-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.news-card::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 22px; background: var(--teal); border-radius: 3px; }
.news-topic { color: var(--teal-ink); font-family: var(--font-head); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.news-card h2 { font-size: 23px; line-height: 1.28; margin: 14px 0 20px; text-wrap: pretty; }
.news-card h2 a { text-decoration: none; }
.news-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.news-source { color: var(--navy); font-size: 13px; font-weight: 600; }
.news-date { color: var(--muted); font-size: 12px; }
.news-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin-top: auto; }
.news-card > .news-source { margin-top: auto; }
.news-card > .news-date { margin-top: 5px; }
.news-card p:not(.news-topic):not(.news-source):not(.news-date) { color: var(--muted); font-size: 14px; }
.news-card .news-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin-top: auto; }
.news-card > a:not(.news-topic), .news-read-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 22px; color: var(--teal-ink); font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.news-empty { grid-column: 1 / -1; padding: 42px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); }
.news-empty h2 { font-size: 26px; margin-bottom: 12px; }

.news-sources { scroll-margin-top: 20px; padding: 64px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-sources-inner { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: start; }
.news-sources-copy h2 { font-size: 36px; line-height: 1.15; }
.news-sources-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 31em; }
.news-sources-copy a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.news-source-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.news-source-panel h3 { font-size: 20px; margin-bottom: 20px; }
.news-source-list { list-style: none; margin: 0; padding: 0; }
.news-source-list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.news-source-list li:first-child { padding-top: 0; border-top: 0; }
.news-source-list li:last-child { padding-bottom: 0; }
.news-source-list a { color: var(--navy); font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.news-source-list a:hover { color: var(--teal-ink); }
.news-source-list p { margin-top: 5px; }
.news-source-list li > span { display: block; margin-top: 5px; }
.news-source-list small { display: block; margin-top: 5px; font-size: 12px; }
.news-demo { padding: 52px 0; }
.news-demo-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.news-demo .eyebrow { margin-bottom: 10px; }
.news-demo h2 { font-size: 30px; }
.news-demo .btn { flex-shrink: 0; }

@media (max-width: 1200px) {
  .news-page .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .news-page .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; gap: 8px 20px; padding: 8px 0 0; border: 0; box-shadow: none; background: transparent; }
  .news-page .nav a:not(.btn) { padding: 8px 0; border: 0; font-size: 15px; }
  .news-page .nav-cta { margin-top: 0; }
  .news-page .nav-toggle { display: none; }
  .news-menu-ready .news-page .header-inner { height: var(--header-h); padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; }
  .news-menu-ready .news-page .nav-toggle { display: block; flex: none; }
  .news-menu-ready .news-page .nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); width: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 20px 30px -20px rgba(2, 54, 114, .3); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .news-menu-ready .news-page .nav.open { display: flex; }
  .news-menu-ready .news-page .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .news-menu-ready .news-page .nav-cta { margin-top: 16px; }
}

@media (max-width: 1040px) {
  .news-hero-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .news-edition { margin: 0; padding: 8px 0 8px 16px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-sources-inner { gap: 40px; }
}

@media (max-width: 600px) {
  .news-hero { padding: 46px 0 36px; }
  .news-lede { font-size: 16px; margin-top: 20px; }
  .news-feed { padding: 32px 0 44px; }
  .news-feed-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .news-feed-heading h2 { font-size: 27px; }
  .news-filters { gap: 8px; }
  .news-filters a { font-size: 13px; padding: 9px 13px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card { padding: 24px; }
  .news-card h2 { font-size: 23px; }
  .news-sources { padding: 44px 0; }
  .news-sources-inner { grid-template-columns: 1fr; gap: 28px; }
  .news-sources-copy h2 { font-size: 31px; }
  .news-source-panel { padding: 24px; }
  .news-demo { padding: 40px 0; }
  .news-demo-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .news-demo h2 { font-size: 28px; }
}
