.page-news {
  --news-gold: #f59e0b;
  --news-gold-light: #fbbf24;
  --news-purple: #4c1d95;
  --news-indigo: #312e81;
  --news-card-border: rgba(124, 58, 237, 0.14);
  --news-gold-border: rgba(245, 158, 11, 0.16);
  --news-card-bg: linear-gradient(135deg, rgba(21, 27, 46, 0.88), rgba(10, 14, 26, 0.62));
  color: var(--color-text-body, #cbd5e1);
}

.page-news .crumb {
  margin-bottom: 22px;
}

.page-news .news-hero {
  position: relative;
  padding: 30px 20px 24px;
  border-radius: var(--radius-l, 18px);
  background: linear-gradient(145deg, rgba(76, 29, 149, 0.18), rgba(10, 14, 26, 0.32));
  border: 1px solid var(--news-gold-border);
  margin-bottom: 30px;
}

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

.page-news .news-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-strong, #f8fafc);
}

.page-news .news-hero__lead {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .news-hero__banner {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.page-news .news-hero__banner img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-news .news-sidebar__inner {
  background: linear-gradient(160deg, rgba(21, 27, 46, 0.78), rgba(10, 14, 26, 0.56));
  border: 1px solid var(--news-gold-border);
  border-radius: 14px;
  padding: 22px 20px;
}

.page-news .news-sidebar__label {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--news-gold);
}

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

.page-news .news-sidebar__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.page-news .news-sidebar__link {
  font-size: 15px;
  color: var(--color-text-body, #cbd5e1);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .news-sidebar__link:hover {
  color: var(--news-gold-light);
}

.page-news .news-sidebar__count {
  font-size: 12px;
  color: var(--color-text-muted, #94a3b8);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 999px;
  padding: 3px 11px;
}

.page-news .news-sidebar__stat {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 158, 11, 0.14);
  font-size: 14px;
  color: var(--color-text-body, #cbd5e1);
}

.page-news .news-sidebar__stat strong {
  color: var(--news-gold-light);
  font-size: 18px;
  margin-right: 2px;
}

.page-news .news-sidebar__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .news-sidebar__note a {
  color: var(--news-gold);
  text-decoration: none;
}

.page-news .news-sidebar__note a:hover {
  color: var(--news-gold-light);
  text-decoration: underline;
}

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

.page-news .news-block {
  margin-bottom: 52px;
}

.page-news .news-block:last-child {
  margin-bottom: 48px;
}

.page-news .news-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-gold-border);
}

.page-news .news-block__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-strong, #f8fafc);
}

.page-news .news-block__index {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(245, 158, 11, 0.6);
  vertical-align: middle;
}

.page-news .news-block__back {
  font-size: 13px;
  color: var(--color-text-muted, #94a3b8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .news-block__back:hover {
  color: var(--news-gold);
}

.page-news .news-block__intro {
  margin: -4px 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .news-rules-figure {
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.page-news .news-rules-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .news-timeline {
  position: relative;
  padding-left: 24px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.07), rgba(245, 158, 11, 0.42));
}

.page-news .news-card {
  position: relative;
  padding: 20px 18px;
  margin-bottom: 18px;
  background: var(--news-card-bg);
  border: 1px solid var(--news-card-border);
  border-radius: 14px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.page-news .news-card::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 32px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--news-gold);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.page-news .news-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(4px);
}

.page-news .news-card:focus-within {
  border-color: rgba(245, 158, 11, 0.34);
  transform: translateX(4px);
}

.page-news .news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .news-card__time {
  font-size: 12px;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .news-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-strong, #f8fafc);
  font-weight: 700;
}

.page-news .news-card__summary {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-body, #cbd5e1);
}

.page-news .news-card__more {
  display: inline-block;
  font-size: 13px;
  color: var(--news-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news .news-card__more:hover {
  color: var(--news-gold);
  border-color: var(--news-gold);
}

.page-news .tag--gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--news-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.page-news .tag--purple {
  background: rgba(76, 29, 149, 0.32);
  color: #a78bfa;
  border: 1px solid rgba(76, 29, 149, 0.5);
}

.page-news .tag--indigo {
  background: rgba(49, 46, 129, 0.36);
  color: #a5b4fc;
  border: 1px solid rgba(49, 46, 129, 0.6);
}

.page-news .tag--slate {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(100, 116, 139, 0.36);
}

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

.page-news .news-versions__figure {
  margin-bottom: 26px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.page-news .news-versions__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .news-versions__path {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .news-versions__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-bottom: 24px;
}

.page-news .news-versions__item:last-child {
  padding-bottom: 0;
}

.page-news .news-versions__item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: rgba(245, 158, 11, 0.18);
}

.page-news .news-versions__item:last-child::before {
  display: none;
}

.page-news .news-versions__node {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.16), rgba(76, 29, 149, 0.24));
  border: 1px solid rgba(245, 158, 11, 0.36);
  color: var(--news-gold-light);
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
}

.page-news .news-versions__content {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-news .news-versions__item:hover .news-versions__content,
.page-news .news-versions__item:focus-within .news-versions__content {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(21, 27, 46, 0.6);
}

.page-news .news-versions__content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-strong, #f8fafc);
}

.page-news .news-versions__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .news-feature {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.page-news .news-feature__figure {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--news-gold-border);
}

.page-news .news-feature__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .news-feature__intro {
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.12), rgba(21, 27, 46, 0.26));
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(124, 58, 237, 0.16);
}

.page-news .news-feature__intro h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-strong, #f8fafc);
}

.page-news .news-feature__intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted, #94a3b8);
}

.page-news .tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .page-news .news-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 40px 38px;
  }

  .page-news .news-hero__banner {
    margin-top: 0;
  }

  .page-news .news-layout {
    grid-template-columns: 230px 1fr;
    gap: 48px;
  }

  .page-news .news-sidebar__inner {
    position: sticky;
    top: 76px;
  }

  .page-news .news-block__title {
    font-size: 30px;
  }

  .page-news .news-feature {
    grid-template-columns: 200px 1fr;
    align-items: center;
  }

  .page-news .news-feature__figure img {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
  }
}
