.page-news {
  --news-line: rgba(198, 255, 61, 0.35);
  --news-line-soft: rgba(198, 255, 61, 0.12);
  --news-card-bg: var(--c-panel);
  --news-card-border: 1px solid rgba(123, 47, 239, 0.4);
  padding-top: 24px;
  scroll-behavior: auto;
}

.page-news .breadcrumb {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-text-muted);
  margin: 0 0 26px;
  letter-spacing: 0.04em;
}

.page-news .breadcrumb-item {
  color: var(--c-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .breadcrumb-item:hover {
  color: var(--c-accent-green);
  border-bottom-color: var(--c-accent-green);
}

.page-news .breadcrumb-current {
  color: var(--c-text-light);
}

.page-news .page-head {
  position: relative;
  margin-bottom: 48px;
  padding-bottom: 28px;
}

.page-news .page-head::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--c-accent-green) 0%, rgba(198, 255, 61, 0.08) 30%, transparent 100%);
}

.page-news .page-head .section-index {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-accent-purple);
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(123, 47, 239, 0.4);
  padding: 4px 10px;
  background: rgba(26, 27, 75, 0.35);
}

.page-news .page-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  transform: skewX(-2deg);
  max-width: 21em;
  color: var(--c-text-light);
  margin: 0 0 18px;
  text-shadow: 3px 3px 0 rgba(123, 47, 239, 0.28);
}

.page-news .page-lead {
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-muted);
  margin: 0;
}

.page-news .section {
  margin-top: 56px;
}

.page-news .section-heading {
  position: relative;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  border-bottom: 1px solid var(--news-line-soft);
  padding-bottom: 16px;
}

.page-news .section-heading .section-index {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent-green);
  letter-spacing: 0.12em;
}

.page-news .section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-text-light);
  margin: 0;
  transform: skewX(-1deg);
}

.page-news .section-heading p {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0;
  flex-basis: 100%;
}

.page-news .section-heading .heading-link {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-accent-green);
  text-decoration: none;
  border: 1px solid var(--news-line);
  padding: 5px 12px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .section-heading .heading-link:hover {
  background: var(--c-accent-green);
  color: var(--c-bg-deep);
}

.page-news .news-timeline {
  position: relative;
  counter-reset: timeline;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 20px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-accent-green) 0%, rgba(198, 255, 61, 0.5) 30%, rgba(198, 255, 61, 0.12) 100%);
}

.page-news .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

.page-news .timeline-marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.page-news .timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(198, 255, 61, 0.6);
  background: var(--c-bg-deep);
  transform: rotate(45deg);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .timeline-num span {
  display: block;
  transform: rotate(-45deg);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent-green);
  transition: color 0.25s var(--ease);
}

.page-news .timeline-num:hover,
.page-news .timeline-item:target .timeline-num {
  background: var(--c-accent-green);
  border-color: var(--c-accent-green);
  transform: rotate(45deg) scale(1.05);
}

.page-news .timeline-num:hover span,
.page-news .timeline-item:target .timeline-num span {
  color: var(--c-bg-deep);
}

.page-news .timeline-card {
  position: relative;
  background: var(--news-card-bg);
  border: var(--news-card-border);
  padding: 22px 20px;
  min-width: 0;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow-wrap: break-word;
}

.page-news .timeline-card::before {
  counter-increment: timeline;
  content: "CARD / " counter(timeline);
  position: absolute;
  top: -9px;
  right: 14px;
  background: var(--c-bg-deep);
  padding: 0 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-accent-green);
}

.page-news .timeline-card:hover,
.page-news .timeline-item:target .timeline-card {
  border-color: rgba(198, 255, 61, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.page-news .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 14px;
}

.page-news .tag {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid;
  text-transform: uppercase;
}

.page-news .tag--data {
  color: var(--c-accent-green);
  border-color: rgba(198, 255, 61, 0.5);
}

.page-news .tag--feature {
  color: #b79bff;
  border-color: rgba(123, 47, 239, 0.6);
}

.page-news .tag--safe {
  color: #f2a7c3;
  border-color: rgba(94, 27, 58, 0.7);
  background: rgba(94, 27, 58, 0.3);
}

.page-news .card-date {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}

.page-news .card-media,
.page-news .topic-figure-img,
.page-news .archive-figure-img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(123, 47, 239, 0.28);
}

.page-news .card-media {
  width: 100%;
  object-fit: cover;
  margin: 0 0 16px;
}

.page-news .timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text-light);
  margin: 0 0 10px;
  transform: skewX(-1deg);
}

.page-news .timeline-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin: 0 0 14px;
}

.page-news .card-readmore {
  margin-top: auto;
}

.page-news .card-readmore a {
  position: relative;
  display: inline-block;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-accent-green);
  text-decoration: none;
  padding-bottom: 3px;
  letter-spacing: 0.04em;
}

.page-news .card-readmore a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--c-accent-green);
  transition: width 0.28s var(--ease);
}

.page-news .card-readmore a:hover::after {
  width: 100%;
}

.page-news .news-categories {
  margin-top: 64px;
}

.page-news .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-news .tab-link {
  padding: 8px 18px;
  border: 1px solid rgba(123, 47, 239, 0.5);
  background: rgba(26, 27, 75, 0.5);
  color: var(--c-text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-news .tab-link:hover,
.page-news .tab-link:focus-visible {
  background: var(--c-accent-purple);
  border-color: var(--c-accent-purple);
  transform: translateY(-2px);
}

.page-news .category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.page-news .category-block {
  position: relative;
  background: var(--c-indigo);
  border: 1px solid rgba(123, 47, 239, 0.35);
  padding: 22px 20px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  scroll-margin-top: 90px;
  min-width: 0;
}

.page-news .category-block::before {
  content: "CAT-" counter(category, decimal-leading-zero);
  counter-increment: category;
  position: absolute;
  top: -8px;
  left: 14px;
  background: var(--c-bg-deep);
  padding: 0 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-accent-purple);
}

.page-news .category-grid {
  counter-reset: category;
}

.page-news .category-block:target {
  border-color: rgba(198, 255, 61, 0.7);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.1);
}

.page-news .category-block h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text-light);
}

.page-news .sticker-label {
  display: inline-block;
  padding: 4px 12px;
  transform: rotate(-1.2deg);
  border: 1px solid rgba(198, 255, 61, 0.45);
  background: rgba(11, 16, 38, 0.85);
  color: var(--c-text-light);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 3px 3px 0 rgba(198, 255, 61, 0.16);
}

.page-news .category-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .category-block li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-muted);
  border-bottom: 1px solid rgba(123, 47, 239, 0.12);
}

.page-news .category-block li:last-child {
  border-bottom: none;
}

.page-news .category-block li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--c-accent-green);
  font-family: var(--font-data);
}

.page-news .topic-figure {
  margin: 0 0 24px;
}

.page-news .topic-figure img {
  width: 100%;
  object-fit: cover;
}

.page-news .topic-figure figcaption,
.page-news .archive-figure figcaption {
  padding: 10px 2px 0;
  font-size: 13px;
  color: var(--c-text-muted);
  font-family: var(--font-data);
  letter-spacing: 0.04em;
}

.page-news .news-archive {
  margin-top: 64px;
}

.page-news .archive-list {
  display: grid;
  gap: 1px;
  background: rgba(123, 47, 239, 0.32);
  border: 1px solid rgba(123, 47, 239, 0.32);
}

.page-news .archive-item {
  background: var(--c-indigo);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid rgba(123, 47, 239, 0.6);
  transition: border-left-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-news .archive-item:hover {
  border-left-color: var(--c-accent-green);
  background: rgba(26, 27, 75, 0.9);
}

.page-news .archive-year {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent-green);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-news .archive-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-muted);
}

.page-news .stats-bars {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 36px auto 24px;
}

.page-news .stats-bars .bar-caption {
  fill: var(--c-text-light);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
}

.page-news .stats-bars .bar-track {
  fill: rgba(123, 47, 239, 0.18);
}

.page-news .stats-bars .bar-fill {
  fill: var(--c-accent-green);
}

.page-news .stats-bars .bar-value {
  fill: var(--c-text-light);
  font-family: var(--font-data);
  font-size: 16px;
}

.page-news .archive-figure {
  margin: 28px 0 0;
}

.page-news .archive-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.page-news .archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-news .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-news .btn--accent {
  background: var(--c-accent-purple);
  border: 1px solid var(--c-accent-purple);
  color: var(--c-text-light);
}

.page-news .btn--accent:hover {
  background: var(--c-accent-green);
  border-color: var(--c-accent-green);
  color: var(--c-bg-deep);
  transform: translateY(-2px);
}

.page-news .btn--ghost {
  background: transparent;
  border: 1px solid rgba(123, 47, 239, 0.55);
  color: var(--c-text-light);
}

.page-news .btn--ghost:hover {
  border-color: var(--c-accent-green);
  color: var(--c-accent-green);
  transform: translateY(-2px);
}

.page-news .card-media,
.page-news .topic-figure-img,
.page-news .archive-figure-img {
  background: rgba(26, 27, 75, 0.4);
}

@media (min-width: 720px) {
  .page-news .timeline-item {
    grid-template-columns: 64px 1fr;
    gap: 24px;
  }

  .page-news .news-timeline::before {
    left: 31px;
  }

  .page-news .timeline-num {
    width: 64px;
    height: 64px;
  }

  .page-news .timeline-num span {
    font-size: 14px;
  }

  .page-news .timeline-num:hover,
  .page-news .timeline-item:target .timeline-num {
    transform: rotate(45deg) scale(1.04);
  }

  .page-news .timeline-card {
    padding: 28px 28px 24px;
  }

  .page-news .timeline-card h3 {
    font-size: 25px;
  }

  .page-news .card-media {
    max-height: 400px;
  }

  .page-news .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-news .category-block:last-child {
    grid-column: 1 / -1;
  }

  .page-news .archive-item {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }

  .page-news .archive-item p {
    flex: 1;
  }

  .page-news .archive-year {
    width: 110px;
    flex-shrink: 0;
  }

  .page-news .stats-bars {
    margin-top: 44px;
  }
}

@media (min-width: 960px) {
  .page-news {
    padding-top: 40px;
  }

  .page-news .page-head {
    margin-bottom: 64px;
  }

  .page-news .page-title {
    font-size: clamp(40px, 5vw, 68px);
  }

  .page-news .section {
    margin-top: 72px;
  }

  .page-news .news-latest {
    position: relative;
  }

  .page-news .news-latest .section-heading p {
    flex-basis: auto;
    margin-right: auto;
  }

  .page-news .timeline-item {
    margin-bottom: 48px;
  }

  .page-news .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .category-block:last-child {
    grid-column: auto;
  }

  .page-news .category-block {
    padding: 26px 22px;
  }

  .page-news .topic-figure {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 8px;
  }

  .page-news .topic-figure img {
    flex: 0 0 58%;
    max-width: 700px;
  }

  .page-news .topic-figure figcaption {
    padding: 0;
  }
}
