:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #141518;
  --line: #2d3036;
  --text: #f2f4f7;
  --muted: #a6aab2;
  --gold: #d4b45f;
  --blue: #75a9ff;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.news-header,
.news-footer,
.news-main {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.news-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand img { border-radius: 50%; object-fit: cover; }

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible { color: var(--gold); }

.news-main { min-height: calc(100vh - 150px); padding: 58px 0 80px; }

.news-state { color: var(--muted); padding: 24px 0; }

.news-eyebrow,
.news-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-title {
  max-width: 820px;
  margin: 14px 0 18px;
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}

.news-lead {
  max-width: 760px;
  margin: 0;
  color: #d0d3d9;
  font-size: 20px;
  line-height: 1.55;
}

.news-cover {
  display: block;
  width: 100%;
  max-height: 620px;
  margin: 38px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.news-body { max-width: 760px; margin-top: 38px; }

.news-body p,
.news-body li {
  color: #c5c8cf;
  font-size: 18px;
  line-height: 1.75;
}

.news-body h2 { margin: 44px 0 12px; font-size: 28px; letter-spacing: 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.news-card {
  min-width: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.news-card:hover,
.news-card:focus-visible { border-color: var(--gold); outline: none; }

.news-card h2 { margin: 10px 0 9px; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.news-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.news-card-more { display: block; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 800; }

.news-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .news-header,
  .news-footer,
  .news-main { width: min(100% - 28px, 960px); }
  .news-main { padding-top: 38px; }
  .news-title { font-size: 38px; }
  .news-lead { font-size: 17px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-body p,
  .news-body li { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
