.page-news {
  position: relative;
  background: var(--bg-main);
  color: var(--text-main);
  padding-top: calc(var(--header-h) + var(--header-offset) + 12px);
  padding-bottom: 72px;
  overflow-x: clip;
}

.page-news::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(58, 69, 82, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 69, 82, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  clip-path: polygon(0 0, 100% 0, 100% 14%, 0 26%);
}

.page-news .container {
  position: relative;
  z-index: 1;
}

.page-news ::selection {
  background: var(--accent-lime);
  color: #0B0E13;
}

.page-news .breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.page-news .breadcrumb a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-news .breadcrumb a:hover {
  border-color: var(--accent-blue);
}

.page-news .news-hero {
  border-left: 3px solid var(--accent-lime);
  padding-left: 18px;
  margin-bottom: 28px;
}

.page-news .page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.page-news .page-intro {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.page-news .news-index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 14px;
  background: var(--grad-metal);
  border: 1px solid rgba(36, 230, 255, 0.35);
  box-shadow: var(--shadow-panel);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-news .news-index-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11, 14, 19, 0.62);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--line-color);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-news .news-index-bar__item:hover,
.page-news .news-index-bar__item:focus-visible {
  background: var(--accent-lime);
  color: #0B0E13;
  border-color: var(--accent-lime);
}

.page-news .news-index-bar__num {
  color: var(--accent-blue);
  font-weight: 600;
}

.page-news .news-index-bar__item:hover .news-index-bar__num,
.page-news .news-index-bar__item:focus-visible .news-index-bar__num {
  color: #0B0E13;
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-news .news-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news .news-rail__block {
  background: linear-gradient(145deg, var(--bg-surface), rgba(28, 34, 43, 0.42));
  border: 1px solid var(--line-color);
  padding: 14px;
}

.page-news .news-rail__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line-dim);
  padding-bottom: 8px;
}

.page-news .news-rail__anchor {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--line-color);
  font-family: var(--font-mono);
  transition: color 0.2s, border-color 0.2s;
}

.page-news .news-rail__anchor:hover {
  color: var(--accent-blue);
  border-left-color: var(--accent-blue);
}

.page-news .news-rail__meta dl {
  margin: 0;
}

.page-news .news-rail__meta dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-dim);
}

.page-news .news-rail__meta dl > div:last-child {
  border-bottom: 0;
}

.page-news .news-rail__meta dt {
  font-size: 12px;
  color: var(--text-dim);
}

.page-news .news-rail__meta dd {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-blue);
  margin: 0;
}

.page-news .news-rail__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 0;
  background: transparent;
  padding: 0;
}

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

.page-news .section-block {
  margin-bottom: 56px;
  padding-top: 8px;
}

.page-news .section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.page-news .section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-lime);
}

.page-news .news-section-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 10px 0 22px;
}

.page-news figure {
  margin: 0;
}

.page-news figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-news .news-report__img {
  margin: 18px 0 24px;
  padding: 10px 10px 0 0;
  background: var(--bg-surface);
  position: relative;
  border: 1px solid var(--line-color);
}

.page-news .news-report__img::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border: 14px solid transparent;
  border-top-color: var(--accent-lime);
  border-right-color: var(--accent-lime);
}

.page-news .news-report__img img {
  aspect-ratio: 16 / 9;
}

.page-news .news-report-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .report-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 14px 16px;
  background: linear-gradient(115deg, var(--bg-surface) 0%, rgba(28, 34, 43, 0.5) 100%);
  border-left: 3px solid var(--accent-lime);
  position: relative;
}

.page-news .report-item--archive {
  border-left-color: var(--line-color);
  opacity: 0.82;
}

.page-news .report-item__idx {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-lime);
  line-height: 1;
}

.page-news .report-item--archive .report-item__idx {
  color: var(--text-dim);
}

.page-news .report-item__body {
  min-width: 0;
}

.page-news .report-item__tag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.page-news .data-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  background: rgba(36, 230, 255, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(36, 230, 255, 0.3);
}

.page-news .data-chip--orange {
  background: rgba(255, 106, 43, 0.12);
  color: var(--accent-orange);
  border-color: rgba(255, 106, 43, 0.3);
}

.page-news .data-chip--lime {
  background: rgba(214, 255, 63, 0.12);
  color: var(--accent-lime);
  border-color: rgba(214, 255, 63, 0.3);
}

.page-news .report-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.25;
  color: var(--text-main);
}

.page-news .report-item__summary {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 8px;
  line-height: 1.6;
}

.page-news .report-item__more {
  font-size: 14px;
  color: var(--text-secondary);
}

.page-news .report-item__more summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-news .report-item__more summary::-webkit-details-marker {
  display: none;
}

.page-news .report-item__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.page-news .report-item__more[open] summary::after {
  content: "–";
}

.page-news .report-item__more > div {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(214, 255, 63, 0.06);
  border-left: 2px solid var(--accent-lime);
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-news .news-version__img {
  margin: 18px 0 26px;
  position: relative;
}

.page-news .news-version__img img {
  aspect-ratio: 3 / 2;
}

.page-news .news-version__timeline {
  position: relative;
  margin-top: 8px;
}

.page-news .news-version__timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--accent-blue), var(--accent-lime), var(--accent-orange));
  opacity: 0.45;
}

.page-news .timeline-item {
  position: relative;
  padding: 0 0 22px 28px;
}

.page-news .timeline-item__dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(36, 230, 255, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-news .timeline-item__version {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 2px;
}

.page-news .timeline-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-main);
  line-height: 1.25;
}

.page-news .timeline-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
  transition: color 0.2s;
}

.page-news .timeline-item__note {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(36, 230, 255, 0.05);
  border-left: 2px solid var(--accent-blue);
  opacity: 0.62;
  transition: opacity 0.2s;
}

.page-news .timeline-item:hover .timeline-item__dot {
  border-color: var(--accent-lime);
  box-shadow: 0 0 0 4px rgba(214, 255, 63, 0.12);
}

.page-news .timeline-item:hover p {
  color: var(--text-secondary);
}

.page-news .timeline-item:hover .timeline-item__note {
  opacity: 1;
}

.page-news .news-column__img {
  margin: 18px 0 24px;
}

.page-news .news-column__img img {
  aspect-ratio: 16 / 9;
}

.page-news .news-column__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news .column-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-panel);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-news .column-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: var(--text-main);
  line-height: 1.3;
}

.page-news .column-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 12px;
}

.page-news .column-card a {
  color: var(--accent-blue);
  font-size: 13px;
  font-family: var(--font-mono);
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 230, 255, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.page-news .column-card a:hover {
  color: var(--accent-lime);
  border-color: var(--accent-lime);
}

.page-news .news-digest__img {
  margin: 18px 0 24px;
}

.page-news .news-digest__img img {
  aspect-ratio: 21 / 9;
}

.page-news .news-digest__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .news-digest__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 12px 14px;
  background: rgba(32, 26, 26, 0.7);
  border: 1px solid var(--line-dim);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-news .news-digest__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-news .news-digest__links a {
  color: var(--accent-lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 255, 63, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-news .news-digest__links a:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

@media (min-width: 768px) {
  .page-news {
    padding-bottom: 96px;
  }

  .page-news .page-title {
    font-size: clamp(56px, 8vw, 88px);
  }

  .page-news .report-item {
    padding: 18px 22px;
  }

  .page-news .report-item__title {
    font-size: 20px;
  }

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

@media (min-width: 992px) {
  .page-news .news-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 44px;
  }

  .page-news .news-rail {
    position: sticky;
    top: calc(var(--header-h) + var(--header-offset) + 20px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-news .report-item {
    transition: transform 0.25s;
  }

  .page-news .report-item:hover {
    transform: translateX(4px);
  }

  .page-news .column-card {
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .page-news .column-card:hover {
    border-color: rgba(36, 230, 255, 0.4);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  }
}
