.page-news {
  --news-accent: var(--grass);
  --news-accent-deep: var(--grass-deep);
  --news-gold: var(--gold);
  background: var(--paper);
  color: var(--ink);
}

.page-news .news-commandbar {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-lead {
  position: relative;
  padding: 2.2rem 0 1.8rem;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.page-news .news-lead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.page-news .news-index {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--news-accent-deep);
  background: var(--mint);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
}

.page-news .news-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}

.page-news .news-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--news-gold);
}

.page-news .news-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  max-width: 18em;
}

.page-news .news-lead-text {
  max-width: 38em;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink);
}

.page-news .news-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.page-news .tag-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  color: var(--news-accent-deep);
  background: var(--mint);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-news .tag-link:hover,
.page-news .tag-link:focus {
  background: var(--news-accent);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--news-gold);
}

.page-news .news-layout {
  display: grid;
  gap: 2rem;
  padding: 1.6rem 0 4rem;
}

.page-news .news-main {
  min-width: 0;
  display: grid;
  gap: 2.6rem;
}

.page-news .news-section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  scroll-margin-top: calc(var(--header-total) + 1rem);
}

.page-news .news-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-news .news-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.page-news .news-section-code {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: var(--blue);
  padding: 0.45rem 0.55rem;
  line-height: 1;
}

.page-news .news-section-heading h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.2;
}

.page-news .news-section-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--blue);
  line-height: 1.5;
}

.page-news .feature-article {
  margin-bottom: 1.4rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}

.page-news .feature-article[data-tone="green"] {
  box-shadow: inset 6px 0 0 var(--news-accent);
}

.page-news .feature-article-media {
  border-bottom: 1px solid var(--line);
}

.page-news .feature-article-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .feature-article-body {
  padding: 1.2rem 1.1rem 1.3rem;
}

.page-news .feature-article-body h3 {
  margin: 0.7rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.3;
}

.page-news .feature-article-body p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.page-news .article-date,
.page-news .article-read {
  font-size: 0.78rem;
  color: var(--blue);
  font-family: var(--font-data);
}

.page-news .index-articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .index-row {
  position: relative;
  display: block;
  padding: 1rem 1rem 1rem 1.15rem;
  margin-bottom: 0.7rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-news .index-row:hover,
.page-news .index-row:focus-within {
  background: #fff;
  border-left-color: var(--news-accent);
  box-shadow: 6px 6px 0 rgba(18, 18, 18, 0.06);
}

.page-news .index-row-id {
  font-family: var(--font-data);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--news-accent-deep);
  letter-spacing: 0.05em;
}

.page-news .index-row-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--mint);
  padding: 0.2rem 0.45rem;
  margin-left: 0.4rem;
  vertical-align: 0.1rem;
}

.page-news .index-row-title {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
}

.page-news .index-row-title a {
  color: var(--ink);
  text-decoration: none;
}

.page-news .index-row-title a:hover,
.page-news .index-row-title a:focus {
  color: var(--news-accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .index-row-desc {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink);
  max-height: 6rem;
  opacity: 1;
}

.page-news .index-row-tag {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--news-gold);
  font-weight: 700;
}

.page-news .scorer-panel {
  display: grid;
  gap: 1.4rem;
  margin: 0 0 1.4rem;
  padding: 1.3rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}

.page-news .scorer-copy p:first-of-type {
  margin-bottom: 0.6rem;
}

.page-news .scorer-copy p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-news .scorer-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 9rem;
  margin-top: 1.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--ink);
}

.page-news .scorer-bar {
  position: relative;
  flex: 1;
  min-width: 1.6rem;
  background: var(--blue);
}

.page-news .scorer-bar:nth-child(1) {
  background: var(--news-gold);
}

.page-news .scorer-bar:nth-child(4) {
  background: var(--news-accent);
}

.page-news .scorer-bar:nth-child(5) {
  background: var(--news-accent-deep);
}

.page-news .scorer-bar::after {
  content: attr(data-label);
  position: absolute;
  top: -1.5rem;
  left: 0;
  font-family: var(--font-data);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-news .scorer-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.page-news .user-media {
  margin-bottom: 1.3rem;
}

.page-news .user-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.page-news .user-voices {
  display: grid;
  gap: 1rem;
}

.page-news .user-voice {
  padding: 1.1rem 1.2rem;
  background: var(--paper-warm);
  border-left: 3px solid var(--news-accent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.page-news .user-voice-id {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--news-accent-deep);
  margin-bottom: 0.4rem;
}

.page-news .user-voice h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.45;
}

.page-news .user-voice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-news .timeline {
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}

.page-news .timeline-item {
  display: grid;
  grid-template-columns: 3.8rem 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.page-news .timeline-phase {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: var(--blue);
  padding: 0.4rem 0.5rem;
  height: fit-content;
  line-height: 1;
}

.page-news .timeline-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.4;
}

.page-news .timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-news .data-brief-grid {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 1.3rem;
}

.page-news .data-brief-main p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-news .data-brief-main img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
}

.page-news .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-news .stat-cell {
  background: var(--paper-warm);
  padding: 0.9rem;
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1.1;
  color: var(--blue);
}

.page-news .stat-label {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--news-accent-deep);
  font-weight: 600;
}

.page-news .data-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: var(--mint);
  border: 1px solid var(--line);
}

.page-news .data-note p {
  flex: 1 1 220px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-news .data-note-mark {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-weight: 700;
  color: #fff;
  background: var(--news-accent);
}

.page-news .news-sidebar {
  min-width: 0;
}

.page-news .news-sidebar-inner {
  border: 1px solid var(--line);
  border-top: 4px solid var(--news-accent);
  background: var(--paper-warm);
  padding: 1.1rem;
}

.page-news .news-sidebar-label {
  margin: 0 0 0.8rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--news-accent-deep);
}

.page-news .news-channel-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.page-news .news-channel-list li {
  border-bottom: 1px solid var(--line);
}

.page-news .news-channel-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-news .news-channel-list a:hover,
.page-news .news-channel-list a:focus {
  color: var(--news-accent-deep);
  padding-left: 0.35rem;
}

.page-news .channel-num {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--news-gold);
  font-weight: 700;
}

.page-news .news-sidebar-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .page-news .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .scorer-panel {
    padding: 1.6rem;
  }

  .page-news .feature-article-body {
    padding: 1.5rem 1.4rem;
  }
}

@media (min-width: 860px) {
  .page-news .feature-article {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .page-news .feature-article-media {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .page-news .feature-article-media img {
    height: 100%;
    object-fit: cover;
  }

  .page-news .scorer-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-news .data-brief-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-news .news-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 2.6rem;
    padding-top: 2.2rem;
  }

  .page-news .news-main {
    gap: 3.2rem;
  }

  .page-news .news-sidebar {
    position: sticky;
    top: calc(var(--header-total) + 1.5rem);
    align-self: start;
  }

  .page-news .index-row {
    display: grid;
    grid-template-columns: 4.2rem 5.5rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: baseline;
    padding: 1.1rem 1.2rem;
  }

  .page-news .index-row-title {
    grid-row: 1;
    grid-column: 3;
    margin: 0;
  }

  .page-news .index-row-desc {
    grid-row: 2;
    grid-column: 3;
    margin-top: 0.3rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.25s ease;
  }

  .page-news .index-row:hover .index-row-desc,
  .page-news .index-row:focus-within .index-row-desc {
    max-height: 5rem;
    opacity: 1;
  }

  .page-news .index-row-tag {
    grid-row: 1;
    grid-column: 4;
    margin: 0;
  }
}
