.page-news {
  --feed-border: #212121;
  --feed-card-bg: #ffffff;
  --feed-47-band: #FFD54F;
  --feed-46-band: #26C6DA;
  --feed-45-band: #FF7043;
  --timeline-line: #1E88E5;
  --version-accent: #E53935;
  --hero-bg: #212121;
}

.page-news .news-hero {
  background: var(--hero-bg);
  color: #ffffff;
  padding: 24px 16px 32px;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-news .breadcrumb a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  text-decoration: underline;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.page-news .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 24px;
}

.page-news .news-hero__kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--feed-border);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 2px solid var(--feed-border);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-news .news-hero__main h1 {
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
}

.page-news .news-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
  margin: 0;
}

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

.page-news .news-hero__batch img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 6px 6px 0 var(--yellow);
}

.page-news .news-hero__batch-info {
  position: relative;
  margin-top: 18px;
  background: var(--yellow);
  color: var(--feed-border);
  padding: 14px 16px;
  border: 2px solid var(--feed-border);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.25);
  display: grid;
  gap: 4px;
}

.page-news .news-hero__batch-name {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.page-news .news-hero__batch-time {
  font-size: 13px;
  font-weight: 700;
  background: var(--feed-border);
  color: #ffffff;
  padding: 2px 8px;
  justify-self: start;
}

.page-news .news-hero__batch-count {
  font-size: 14px;
  font-weight: 600;
}

.page-news .news-hero__batch-link {
  color: var(--feed-border);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  justify-self: start;
}

.page-news .news-hero__batch-link:hover,
.page-news .news-hero__batch-link:focus-visible {
  outline: 2px solid var(--feed-border);
  outline-offset: 3px;
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}

.page-news .news-stat__num {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--yellow);
}

.page-news .news-stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

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

.page-news .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--feed-border);
  color: #ffffff;
  padding: 5px 10px;
  border: 2px solid var(--feed-border);
  margin-bottom: 10px;
}

.page-news .section-head h2 {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.2;
}

.page-news .section-head p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
  color: rgba(33, 33, 33, 0.78);
}

.page-news .feed-stack {
  display: grid;
  gap: 28px;
}

.page-news .feed-group {
  background: var(--feed-card-bg);
  border: 2px solid var(--feed-border);
  box-shadow: var(--shadow);
}

.page-news .feed-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 12px;
  border-bottom: 2px solid var(--feed-border);
  background: var(--feed-47-band);
}

.page-news .feed-group--46 .feed-group__head {
  background: var(--feed-46-band);
}

.page-news .feed-group--45 .feed-group__head {
  background: var(--feed-45-band);
}

.page-news .feed-group__badge {
  display: grid;
  gap: 4px;
}

.page-news .feed-group__batch {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.page-news .feed-group__meta {
  font-size: 13px;
  font-weight: 700;
  background: var(--feed-border);
  color: #ffffff;
  padding: 2px 8px;
  justify-self: start;
}

.page-news .feed-group__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid var(--feed-border);
  box-shadow: 3px 3px 0 rgba(33, 33, 33, 0.65);
}

.page-news .feed-list {
  list-style: none;
  margin: 0;
  padding: 6px 16px 16px;
  display: grid;
  gap: 2px;
}

.page-news .feed-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--feed-border);
  text-decoration: none;
  padding: 10px 8px;
  border-bottom: 1px dashed rgba(33, 33, 33, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}

.page-news .feed-list li:last-child a {
  border-bottom: none;
}

.page-news .feed-list a:hover,
.page-news .feed-list a:focus-visible {
  background: #F5F0E6;
  transform: translateX(4px);
  outline: 2px solid var(--feed-border);
  outline-offset: -2px;
}

.page-news .feed-item__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  min-width: 200px;
  flex: 1;
}

.page-news .feed-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-news .archive-layout {
  display: grid;
  gap: 28px;
}

.page-news .archive-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 22px;
}

.page-news .archive-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 18px;
  width: 4px;
  background: var(--timeline-line);
  border: 2px solid rgba(33, 33, 33, 0.85);
}

.page-news .archive-timeline__item {
  position: relative;
  padding-left: 56px;
}

.page-news .archive-timeline__node {
  position: absolute;
  left: 0;
  top: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--feed-border);
  border: 3px solid var(--feed-border);
  box-shadow: 2px 2px 0 rgba(33, 33, 33, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  z-index: 1;
}

.page-news .archive-timeline__card {
  background: var(--feed-card-bg);
  border: 2px solid var(--feed-border);
  box-shadow: 4px 4px 0 rgba(33, 33, 33, 0.55);
  padding: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-news .archive-timeline__card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(33, 33, 33, 0.75);
}

.page-news .archive-timeline__card--47 {
  border-top: 8px solid var(--feed-47-band);
}

.page-news .archive-timeline__card--46 {
  border-top: 8px solid var(--feed-46-band);
}

.page-news .archive-timeline__card--45 {
  border-top: 8px solid var(--feed-45-band);
}

.page-news .archive-timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.page-news .archive-timeline__head h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0;
}

.page-news .archive-timeline__time {
  font-size: 12px;
  font-weight: 800;
  background: var(--feed-border);
  color: #ffffff;
  padding: 3px 8px;
  white-space: nowrap;
}

.page-news .archive-timeline__card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.page-news .archive-details {
  margin-top: 12px;
  border-top: 1px dashed rgba(33, 33, 33, 0.3);
  padding-top: 10px;
}

.page-news .archive-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: #1E88E5;
  list-style: none;
  user-select: none;
}

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

.page-news .archive-details summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 6px;
  font-size: 10px;
  transition: transform 0.15s ease;
}

.page-news .archive-details[open] summary::before {
  transform: rotate(90deg);
}

.page-news .archive-details summary:hover,
.page-news .archive-details summary:focus-visible {
  color: #0d5cb8;
  outline: 2px solid #1E88E5;
  outline-offset: 2px;
}

.page-news .archive-details p {
  font-size: 13px;
  margin: 10px 0 0;
  background: #F5F0E6;
  padding: 10px 12px;
  border-left: 4px solid var(--timeline-line);
}

.page-news .archive-illustration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border: 2px solid var(--feed-border);
  box-shadow: var(--shadow);
}

.page-news .version-layout {
  display: grid;
  gap: 28px;
}

.page-news .version-side__icon {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 6px 6px 0 var(--feed-border);
  margin-top: 8px;
}

.page-news .version-stack {
  display: grid;
  gap: 16px;
}

.page-news .version-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: var(--feed-card-bg);
  border: 2px solid var(--feed-border);
  box-shadow: 4px 4px 0 rgba(33, 33, 33, 0.55);
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-news .version-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(33, 33, 33, 0.8);
}

.page-news .version-card--current {
  border-left: 10px solid var(--version-accent);
}

.page-news .version-card__num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: var(--version-accent);
  background: #F5F0E6;
  border: 2px solid var(--feed-border);
  padding: 10px 12px;
  min-width: 72px;
  text-align: center;
  align-self: start;
}

.page-news .version-card__body h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 6px;
}

.page-news .version-card__body p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 8px;
  color: rgba(33, 33, 33, 0.82);
}

.page-news .table-wrap {
  background: var(--feed-card-bg);
  border: 2px solid var(--feed-border);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.page-news .data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-news .data-table th {
  background: var(--feed-border);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

.page-news .data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(33, 33, 33, 0.14);
  line-height: 1.55;
  vertical-align: top;
}

.page-news .data-table tbody tr:nth-child(even) {
  background: #F5F0E6;
}

.page-news .data-table tbody tr:hover {
  background: #FFF3C7;
}

.page-news .data-table tbody tr:last-child td {
  border-bottom: none;
}

.page-news .news-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-footer-links .btn {
  text-decoration: none;
}

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

  .page-news .feed-group__head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-news .feed-group__thumb {
    width: 80px;
    height: 80px;
  }

  .page-news .feed-list {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding: 36px 0 48px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 36px;
  }

  .page-news .news-hero__batch-info {
    position: absolute;
    left: 14px;
    right: auto;
    bottom: 14px;
    margin: 0;
    max-width: 220px;
  }

  .page-news .feed-stack {
    gap: 36px;
  }

  .page-news .feed-group__head {
    align-items: flex-start;
  }

  .page-news .archive-layout {
    grid-template-columns: 1.5fr 0.7fr;
    align-items: start;
    gap: 40px;
  }

  .page-news .archive-illustration {
    position: sticky;
    top: 20px;
  }

  .page-news .version-layout {
    grid-template-columns: 0.85fr 1.6fr;
    align-items: start;
    gap: 40px;
  }

  .page-news .version-side {
    position: sticky;
    top: 20px;
  }

  .page-news .version-card {
    padding: 20px 22px;
  }
}

@media (min-width: 1180px) {
  .page-news .news-hero__main h1 {
    font-size: 46px;
  }

  .page-news .news-hero__lead {
    font-size: 18px;
  }

  .page-news .feed-group__head {
    padding: 20px 24px;
  }

  .page-news .feed-list {
    padding: 8px 24px 20px;
  }

  .page-news .archive-timeline__item {
    padding-left: 64px;
  }

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

  .page-news .archive-timeline__node {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}
