/* The four news channels use the conference masthead as their shared template. */
body.site-upgrade.news-channel-page #main .nc-hero-layout {
  display: flex;
  flex-direction: row;
  min-height: 302px;
  align-items: end;
  padding-block: 38px;
}

body.site-upgrade.news-channel-page #main .nc-hero-copy {
  width: 58%;
  max-width: 620px;
}

body.site-upgrade.news-channel-page #main .nc-hero h1 {
  font-family: var(--font);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 750;
}

body.site-upgrade.news-channel-page #main .nc-hero h1::after { display: none; }

/* Reserve the same two lines as the conference introduction, including shorter copy. */
body.site-upgrade.news-channel-page #main .nc-hero-lead {
  max-width: 29em;
  min-height: 2lh;
}

body.site-upgrade.news-channel-page #main .nc-hero-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 0;
  font-size: 12px;
  line-height: inherit;
}

body.site-upgrade.news-channel-page #main .nc-hero-summary strong {
  font: 650 34px/1 var(--font);
}

html[data-theme] body.site-upgrade.news-channel-page #main .nc-hero::after {
  background: linear-gradient(90deg, rgba(20, 31, 49, .94), rgba(20, 31, 49, .73) 42%, rgba(20, 31, 49, .14) 78%, transparent);
}

html[data-theme] body.site-upgrade.news-channel-page #main .nc-hero :is(h1, .nc-hero-kicker, .nc-hero-summary strong) { color: #fff; }
html[data-theme] body.site-upgrade.news-channel-page #main .nc-hero :is(.nc-hero-lead, .nc-hero-summary) { color: #e5eaf5; }

/* Source checks stay with the archive controls below the shared masthead. */
body.site-upgrade.news-channel-page #main .nc-source-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0;
  color: var(--nc-muted);
  font: 400 11px/1.7 var(--font);
}

body.site-upgrade.news-channel-page #main .rp-command-band .nc-source-note {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--nc-line);
}

body.site-upgrade.news-channel-page #main .op-console > .nc-source-note { margin-bottom: 14px; }
body.site-upgrade.news-channel-page #main .nc-source-note strong { font-weight: 600; }

html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-research #main .rp-command-search,
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-opportunities #main .op-search {
  border-color: #4a5877;
  background: #263149;
}

html[data-theme="dark"] body.site-upgrade.news-channel-page #main :is(.rp-command-search input, .op-search input) { color: #edf1ff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main :is(.rp-command-search input, .op-search input)::placeholder { color: #b5c0db; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main :is(.rp-command-search img, .op-search img, .conference-search img) { filter: brightness(0) invert(1); opacity: .78; }

html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main .pp-empty {
  border-color: #455370;
  background: radial-gradient(ellipse at 12% 0%, #344261, transparent 58%), #273149;
  color: #eaf0ff;
}

html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main .pp-publisher-intro h2 { color: #f5f7ff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main .pp-publisher-intro h2 em { color: #b9caff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main :is(.pp-profile-kicker, .pp-profile-topics, .pp-profile-qr > span) { color: #b9caff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main :is(.pp-profile-description, .pp-profile-qr > small, .pp-profile-status p, .pp-copy-name) { color: #cad4eb; }
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main .pp-profile-status h3 { color: #f5f7ff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page.news-channel-platform #main .pp-official-link { color: #fff; background: #5269b6; }

@media (max-width: 760px) {
  body.site-upgrade.news-channel-page #main .nc-hero-layout {
    min-height: 282px;
    padding-block: 30px;
  }

  body.site-upgrade.news-channel-page #main .nc-hero-copy { width: 100%; max-width: 520px; }

  /* Text spans the photograph on small screens; keep its far edge readable too. */
  html[data-theme] body.site-upgrade.news-channel-page #main .nc-hero::after {
    background: linear-gradient(90deg, rgba(20, 31, 49, .94), rgba(20, 31, 49, .8) 42%, rgba(20, 31, 49, .72));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-upgrade.news-channel-page #main .nc-hero-copy > *,
  body.site-upgrade.news-channel-page #main .nc-hero-image { animation: none !important; transform: none !important; }
}
