.page-news {
  background: var(--primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

.page-news .news-hero {
  position: relative;
  padding: calc(var(--header-total) + 56px) 0 56px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.07) 0%, transparent 42%),
    radial-gradient(ellipse at 18% 22%, rgba(212, 175, 55, 0.14) 0%, transparent 52%),
    var(--primary);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -140px;
  bottom: -170px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 28px;
  transform: rotate(45deg);
  pointer-events: none;
}

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

.page-news .news-hero .breadcrumb {
  margin-bottom: 32px;
}

.page-news .news-hero__grid {
  display: grid;
  gap: 32px;
  margin-top: 8px;
}

.page-news .news-hero__content h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 18px 0 20px;
  max-width: 680px;
}

.page-news .news-hero__lead {
  margin: 0;
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  padding: 16px 8px;
  align-self: center;
}

.page-news .news-hero__stat {
  text-align: center;
  padding: 10px 6px;
  border-left: 1px solid var(--border);
}

.page-news .news-hero__stat:first-child {
  border-left: none;
}

.page-news .news-hero__stat-num {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
  white-space: nowrap;
}

.page-news .news-hero__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.page-news .news-feed {
  padding: 64px 0;
}

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

.page-news .news-section-head h2 {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 12px 0 0;
}

.page-news .news-section-head p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

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

.page-news .filter-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-labels {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.page-news .filter-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 16px;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.page-news .filter-label:first-child {
  padding-left: 0;
}

.page-news .filter-label + .filter-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 13px;
  background: var(--border);
}

.page-news .filter-label:hover {
  color: var(--accent-neon);
}

.page-news .filter-label:active {
  color: var(--accent-gold);
}

.page-news #filterAll:checked ~ .filter-labels label[for="filterAll"],
.page-news #filterVersion:checked ~ .filter-labels label[for="filterVersion"],
.page-news #filterEvents:checked ~ .filter-labels label[for="filterEvents"],
.page-news #filterFeature:checked ~ .filter-labels label[for="filterFeature"],
.page-news #filterTrend:checked ~ .filter-labels label[for="filterTrend"] {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

.page-news .news-card-list {
  display: block;
}

.page-news .news-card {
  display: none;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-light);
  overflow: hidden;
  margin-bottom: 22px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-news #filterAll:checked ~ .news-card-list .news-card,
.page-news #filterVersion:checked ~ .news-card-list .news-card[data-category="version"],
.page-news #filterEvents:checked ~ .news-card-list .news-card[data-category="events"],
.page-news #filterFeature:checked ~ .news-card-list .news-card[data-category="feature"],
.page-news #filterTrend:checked ~ .news-card-list .news-card[data-category="trend"] {
  display: grid;
}

.page-news .news-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.22), 0 24px 48px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.page-news .news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--secondary);
}

.page-news .news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.12);
  pointer-events: none;
}

.page-news .news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.page-news .news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.page-news .news-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 10, 46, 0.86);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.6);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.page-news .news-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
}

.page-news .news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.page-news .news-card__meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--accent-neon);
}

.page-news .news-card__title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.page-news .news-card__excerpt {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.page-news .news-card__foot {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.page-news .news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-neon);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.page-news .news-card__link span {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.page-news .news-card__link:hover {
  color: var(--accent-gold);
  gap: 12px;
}

.page-news .news-card__link:hover span {
  transform: translateX(4px);
}

.page-news .news-version {
  padding: 64px 0;
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-news .version-timeline {
  position: relative;
  max-width: 760px;
  padding-left: 24px;
}

.page-news .version-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-gold) 0%, rgba(212, 175, 55, 0.1) 70%, transparent 100%);
}

.page-news .version-timeline__item {
  position: relative;
  padding-bottom: 28px;
}

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

.page-news .version-timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--background-light);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.page-news .version-timeline__core {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .version-timeline__ver {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-news .version-timeline__pill {
  background: var(--accent-gold);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 2px;
}

.page-news .version-timeline__content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.page-news .version-timeline__content h3 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.page-news .version-timeline__content p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-news .version-timeline__tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent-neon);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.06);
  padding: 2px 8px;
  letter-spacing: 0.05em;
}

.page-news .news-series {
  padding: 64px 0;
}

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

.page-news .series-card {
  position: relative;
  background: var(--background-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .series-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 18px;
  transform: rotate(45deg);
  pointer-events: none;
}

.page-news .series-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.page-news .series-card__index {
  display: block;
  font-family: var(--font-headline);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.page-news .series-card__title {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.page-news .series-card__sub {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.page-news .series-card__desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-news .series-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-neon);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.page-news .series-card__link span {
  transition: transform 0.2s var(--ease);
}

.page-news .series-card__link:hover {
  color: var(--accent-gold);
  gap: 12px;
}

.page-news .series-card__link:hover span {
  transform: translateX(4px);
}

.page-news .news-cta {
  padding: 40px 0 72px;
}

.page-news .news-cta__panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.09) 0%, transparent 46%),
    var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.page-news .news-cta__panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 48px rgba(0, 229, 255, 0.05);
  pointer-events: none;
}

.page-news .news-cta__panel h2 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.page-news .news-cta__panel p {
  margin: 0 0 24px;
  max-width: 540px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-news .news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (min-width: 768px) {
  .page-news .news-hero {
    padding: calc(var(--header-total) + 88px) 0 80px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: center;
  }

  .page-news .news-hero__lead {
    font-size: 1.1rem;
  }

  .page-news .news-hero__stat-num {
    font-size: 1.8rem;
  }

  .page-news .news-feed,
  .page-news .news-version,
  .page-news .news-series {
    padding: 88px 0;
  }

  .page-news .news-section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 40px;
  }

  .page-news .news-section-head h2 {
    font-size: 2.4rem;
    margin: 0;
  }

  .page-news .news-section-head p {
    margin: 0 0 0 auto;
  }

  .page-news .news-card {
    grid-template-columns: 300px 1fr;
    margin-bottom: 24px;
  }

  .page-news .news-card__media {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .page-news .news-card__body {
    padding: 28px 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-news .news-card__title {
    font-size: 1.5rem;
  }

  .page-news .news-card__excerpt {
    font-size: 0.95rem;
  }

  .page-news .version-timeline {
    padding-left: 32px;
  }

  .page-news .version-timeline__item::before {
    left: -32px;
  }

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

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

  .page-news .news-cta {
    padding: 48px 0 88px;
  }

  .page-news .news-cta__panel {
    padding: 48px 44px;
  }
}
