:root {
  --news-bg: #f7f8f5;
  --news-ink: #111820;
  --news-muted: #65707d;
  --news-line: #dfe5df;
  --news-card: #ffffff;
  --news-soft: #edf3ee;
  --news-accent: #126b4f;
  --news-dark: #19242d;
}

body {
  background: var(--news-bg);
  color: var(--news-ink);
}

body::before {
  display: none;
}

.page-shell {
  width: min(calc(100% - 32px), 1180px);
  padding: 18px 0 42px;
}

.site-header.news-header {
  position: sticky;
  top: 10px;
  margin-bottom: 18px;
  border: 1px solid var(--news-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.08);
}

.news-header .brand-mark {
  border-radius: 8px;
  background: var(--news-dark);
  letter-spacing: 0;
}

.news-header .site-nav {
  gap: 18px;
  letter-spacing: 0;
}

.article-news-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.article-news,
.article-side-card,
.news-footer {
  border: 1px solid var(--news-line);
  border-radius: 8px;
  background: var(--news-card);
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.08);
}

.article-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--news-dark);
}

.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 18, 0.06), rgba(8, 13, 18, 0.78));
}

.article-hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.article-kicker,
.article-meta,
.side-meta {
  color: var(--news-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.article-hero-content .article-kicker,
.article-hero-content .article-meta {
  color: rgba(255, 255, 255, 0.78);
}

.article-hero h1 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.article-news-body {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.article-news-body p,
.article-news-body li,
.article-side-card p,
.article-side-card li,
.news-footer p {
  color: var(--news-muted);
  line-height: 1.72;
}

.article-news-body h2 {
  margin: 14px 0 0;
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-side {
  display: grid;
  gap: 14px;
}

.article-side-card {
  padding: 18px;
}

.article-side-card h2 {
  margin: 8px 0 10px;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.article-side-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.article-side-card a:hover,
.article-side-card a:focus-visible {
  color: var(--news-accent);
}

.news-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
}

.news-footer p {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .article-news-shell {
    grid-template-columns: 1fr;
  }

  .article-hero {
    min-height: 390px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), 1180px);
    padding-top: 10px;
  }

  .site-header.news-header {
    border-radius: 8px;
  }

  .article-hero {
    min-height: 460px;
  }

  .article-hero-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .article-hero h1 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .article-news-body {
    padding: 20px;
  }

  .news-footer {
    flex-direction: column;
  }
}
