:root {
  --news-bg: #f8fafc;
  --news-border: #e2e8f0;
  --news-card: #ffffff;
  --news-muted: #64748b;
  --news-primary: #15803d;
  --news-text: #0f172a;
}

.news-page {
  background: var(--news-bg);
  color: var(--news-text);
  min-height: 100vh;
  padding: 24px max(24px, calc((100vw - 1240px) / 2));
}

.news-shell-header,
.news-footer {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.news-shell-header {
  margin-bottom: 14px;
}

.news-masthead {
  display: grid;
  gap: 4px;
}

.news-masthead span {
  color: var(--news-muted);
  font-size: 0.85rem;
}

.news-brand {
  color: inherit;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.news-nav,
.news-category-nav {
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  overflow: auto;
  padding: 10px 0;
  white-space: nowrap;
}

.news-category-nav {
  border-top: 0;
  color: #334155;
  font-size: 0.9rem;
  margin-top: -16px;
}

.news-nav a,
.news-category-nav a,
.news-primary-link,
.news-sharebar a,
.news-ticker-grid a {
  color: var(--news-primary);
  font-weight: 700;
  text-decoration: none;
}

.news-search input {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
}

.news-hero,
.news-company-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 24px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: 24px;
  padding: 20px;
}

.news-hero img,
.news-company-card img,
.news-card img,
.news-article figure img,
.news-story-strip img {
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.news-hero img,
.news-card img {
  aspect-ratio: 16 / 9;
}

.news-hero h1,
.news-titlebar h1,
.news-article h1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 8px 0;
}

.news-titlebar {
  margin-bottom: 24px;
}

.news-titlebar p,
.news-lede,
.news-card p,
.news-hero p,
.news-company-card p {
  color: #475569;
  line-height: 1.6;
}

.news-kicker {
  color: var(--news-primary);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-breaking {
  align-items: center;
  background: #0f172a;
  border-radius: 18px;
  color: #fff;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 12px 16px;
}

.news-front-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr) minmax(260px, 0.55fr);
  margin-bottom: 24px;
}

.news-lead-story,
.news-top-stack,
.news-side-rail section,
.news-epaper-strip,
.news-newsletter,
.news-section-columns > section {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 20px;
  padding: 18px;
}

.news-lead-story {
  display: grid;
  gap: 18px;
  grid-template-rows: auto 1fr;
}

.news-lead-story img {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.news-lead-story h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 8px 0;
}

.news-top-stack,
.news-side-rail,
.news-compact-list {
  display: grid;
  gap: 12px;
}

.news-top-stack a,
.news-side-rail a,
.news-compact-list a {
  border-top: 1px solid var(--news-border);
  color: inherit;
  display: grid;
  gap: 5px;
  padding-top: 12px;
  text-decoration: none;
}

.news-top-stack a:first-of-type,
.news-side-rail a:first-of-type,
.news-compact-list a:first-of-type {
  border-top: 0;
}

.news-top-stack strong,
.news-compact-list strong {
  line-height: 1.25;
}

.news-side-rail section {
  display: grid;
  gap: 10px;
}

.news-section-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-compact-list span,
.news-compact-list em {
  color: var(--news-muted);
  font-size: 0.88rem;
  font-style: normal;
}

.news-epaper-strip,
.news-newsletter {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.news-breaking div {
  display: flex;
  gap: 18px;
  overflow: auto;
  white-space: nowrap;
}

.news-breaking a {
  color: inherit;
  text-decoration: none;
}

.news-featured-grid,
.news-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-module-rail,
.news-publication-grid,
.news-compact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-module-card,
.news-publication-card,
.news-compact-grid a,
.news-story-strip a {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-module-card:hover,
.news-publication-card:hover,
.news-compact-grid a:hover,
.news-story-strip a:hover {
  border-color: #bbf7d0;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.news-module-card span,
.news-publication-card span,
.news-compact-grid span {
  color: var(--news-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-module-card strong,
.news-publication-card strong,
.news-compact-grid strong,
.news-story-strip strong {
  font-size: 1rem;
  line-height: 1.2;
}

.news-module-card p,
.news-compact-grid p {
  color: var(--news-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.news-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-card:hover,
.news-ticker-grid a:hover {
  border-color: #bbf7d0;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.news-card h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 8px 0;
}

.news-card small,
.news-meta,
.news-footer {
  color: var(--news-muted);
  font-size: 0.875rem;
}

.news-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 18px;
}

.news-flag-row span {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase;
}

.news-article {
  margin: 0 auto;
  max-width: 860px;
}

.news-article-flags {
  margin-bottom: 12px;
}

.news-paywall-note {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  color: #14532d;
  margin: 18px 0;
  padding: 16px 18px;
}

.news-paywall-note p {
  margin: 6px 0 0;
}

.news-meta,
.news-sharebar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.news-sharebar {
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
  padding: 12px 0;
}

.news-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-body blockquote {
  border-left: 4px solid #86efac;
  color: #334155;
  margin: 24px 0;
  padding-left: 18px;
}

.news-related {
  margin-top: 40px;
}

.news-titlebar-small h2 {
  margin: 4px 0;
}

.news-ticker-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-ticker-grid a,
.news-live-feed article,
.news-pinned-updates article,
.news-story-strip article,
.news-empty {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  padding: 18px;
}

.news-ticker-grid a {
  color: inherit;
  display: grid;
  gap: 6px;
}

.news-ticker-grid em {
  color: var(--news-primary);
  font-style: normal;
  font-weight: 800;
}

.news-live-feed {
  display: grid;
  gap: 14px;
}

.news-pinned-updates {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.news-pinned-updates article {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.news-live-feed span {
  color: var(--news-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-story-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-story-strip article {
  display: grid;
  gap: 12px;
}

.news-story-strip article > span {
  align-items: center;
  background: #0f172a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.news-story-strip-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-story-strip img {
  aspect-ratio: 9 / 16;
}

.news-footer {
  border-top: 1px solid var(--news-border);
  margin-top: 40px;
  padding-top: 20px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.runtime-route-progress {
  background: var(--news-primary);
  height: 2px;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 160ms ease, transform 500ms ease;
  z-index: 50;
}

.runtime-route-progress.is-active {
  opacity: 1;
  transform: scaleX(0.72);
}

@media (max-width: 900px) {
  .news-shell-header {
    align-items: stretch;
    flex-direction: column;
  }

  .news-hero,
  .news-front-grid,
  .news-company-card,
  .news-featured-grid,
  .news-module-rail,
  .news-publication-grid,
  .news-compact-grid,
  .news-grid,
  .news-story-strip,
  .news-ticker-grid,
  .news-section-columns {
    grid-template-columns: 1fr;
  }

  .news-epaper-strip,
  .news-newsletter {
    align-items: flex-start;
    flex-direction: column;
  }
}
