:root {
  --bg: #0e0e0e;
  --surface: #131313;
  --surface-soft: #191a1a;
  --surface-strong: #1f2020;
  --surface-stronger: #262626;
  --text: #e7e5e4;
  --text-soft: #c9c8c7;
  --text-muted: #b0aeac;
  --text-subtle: #908e8c;
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --accent: #69a4d1;
  --page-pad: 48px;
  --shell-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.news-page {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--text);
  color: #1f1f1f;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(19, 19, 19, 0.95),
    rgba(14, 14, 14, 0.6) 65%,
    transparent
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  padding: 0 var(--page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-soft);
  text-decoration: none;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-link,
.site-nav-drawer-link {
  color: var(--text-subtle);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link.active,
.site-nav-drawer-link:hover,
.site-nav-drawer-link:focus-visible,
.site-nav-drawer-link.active {
  color: var(--text-soft);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--text-soft);
  color: #3f4041;
  transition: opacity 0.2s ease;
}

.site-nav-cta:hover,
.site-nav-cta:focus-visible {
  opacity: 0.9;
  color: #3f4041;
}

.site-nav-menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--text-soft);
  cursor: pointer;
  padding: 6px;
}

.site-nav-drawer {
  margin: 0 var(--page-pad) 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(19, 19, 19, 0.98);
}

.site-nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.site-nav-drawer-link {
  font-size: 15px;
}

.site-nav-drawer-cta {
  width: 100%;
}

.news-main {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.news-main-article {
  padding-top: 80px;
}

.news-shell-section,
.news-shell-container {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

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

.news-hero-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 640px;
  cursor: pointer;
  text-decoration: none;
}

.news-category-hero-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 560px;
  cursor: pointer;
  text-decoration: none;
}

.news-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.news-hero-link:hover .news-hero-image,
.news-hero-link:focus-visible .news-hero-image,
.news-category-hero-link:hover .news-hero-image,
.news-category-hero-link:focus-visible .news-hero-image {
  transform: scale(1.04);
}

.news-article-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
}

.news-article-hero-inner {
  position: relative;
  width: 100%;
  min-height: 760px;
  overflow: hidden;
}

.page-container {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 48px var(--page-pad) 80px;
}

.article-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.cat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.news-card-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img-wrap img,
.news-card:focus-visible .news-card-img-wrap img {
  transform: scale(1.05);
}

.news-card-img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 13px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-title,
.news-card:focus-visible .news-card-title {
  color: var(--text-soft);
}

.news-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.news-card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-subtle);
}

.news-card-sm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.news-card-sm-img-wrap {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.news-card-sm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.news-card-sm:hover .news-card-sm-img-wrap img,
.news-card-sm:focus-visible .news-card-sm-img-wrap img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.news-card-sm-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.2s ease;
}

.news-card-sm:hover .news-card-sm-title,
.news-card-sm:focus-visible .news-card-sm-title {
  color: var(--text-soft);
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-stronger);
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--text-soft);
}

.breadcrumb-sep {
  margin: 0 8px;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.topic-tag:hover,
.topic-tag:focus-visible {
  background: var(--surface-stronger);
  color: var(--text);
}

.news-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 6px;
  background: var(--text-soft);
  color: #3f4041;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-cta:hover,
.news-cta:focus-visible {
  opacity: 0.9;
  color: #3f4041;
}

.view-all-link,
.source-link {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-link:hover,
.view-all-link:focus-visible,
.source-link:hover,
.source-link:focus-visible {
  color: var(--text-soft);
}

.article-lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

.article-section {
  margin-bottom: 48px;
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.article-prose {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(231, 229, 228, 0.9);
  font-weight: 300;
}

.article-prose p {
  margin-bottom: 20px;
}

.article-list {
  padding-left: 24px;
  color: rgba(231, 229, 228, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

.article-list li {
  margin-bottom: 12px;
}

.article-blockquote {
  position: relative;
  padding: 48px;
  border-left: 2px solid rgba(198, 198, 199, 0.24);
  margin: 48px 0;
}

.article-blockquote-mark {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 60px;
  color: rgba(198, 198, 199, 0.16);
  line-height: 1;
  font-family: Georgia, serif;
  user-select: none;
}

.article-blockquote p {
  margin: 0;
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.5;
}

.article-blockquote cite {
  display: block;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.article-figcaption {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.source-note {
  padding: 20px 24px;
  border-left: 2px solid rgba(105, 164, 209, 0.6);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.related-section {
  background: var(--surface);
  padding: 80px 0;
}

.site-footer {
  margin-top: 0;
  padding: 64px var(--page-pad) 48px;
  border-top: 1px solid var(--border-soft);
}

.site-footer-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
}

.site-footer-brand {
  margin-bottom: 48px;
}

.site-footer-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-soft);
  text-decoration: none;
}

.site-footer-copy {
  margin-top: 16px;
  max-width: 480px;
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.site-footer-title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.site-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-subtle);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text-soft);
}

.site-footer-meta {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-subtle);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .news-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 20px;
  }

  .site-nav-links,
  .site-nav-actions .site-nav-cta {
    display: none;
  }

  .site-nav-menu-btn {
    display: block;
  }

  .site-nav-actions {
    gap: 8px;
  }

  .news-main {
    gap: 64px;
    padding-bottom: 64px;
  }

  .article-container {
    padding: 32px 20px 64px;
  }

  .article-lead {
    font-size: 18px;
  }

  .article-prose {
    font-size: 16px;
  }

  .article-blockquote {
    padding: 32px 24px;
  }

  .article-blockquote p {
    font-size: 20px;
  }

  .news-bento-grid {
    grid-template-columns: 1fr !important;
  }

  .news-grid-3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .news-hero-link {
    height: 420px;
  }

  .news-category-hero-link {
    height: 360px;
  }

  .news-article-hero {
    min-height: auto;
  }

  .news-article-hero-inner {
    min-height: 480px;
  }

  .related-section {
    padding: 64px 0;
  }

  .site-footer {
    padding: 48px var(--page-pad) 36px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
