.page-news {
  --news-radius: 14px;
  padding-bottom: 96px;
}

.page-news .breadcrumb {
  margin-top: 28px;
}

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

.page-news .news-hero__inner {
  margin-bottom: 24px;
}

.page-news .news-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
}

.page-news .news-hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--gradient-neon);
  transform: translateY(-50%);
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.15;
  color: var(--color-text-bright);
  letter-spacing: 0.5px;
  text-shadow: 0 0 30px rgba(255, 42, 120, 0.18);
  margin-bottom: 16px;
}

.page-news .news-hero__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  max-width: 720px;
  margin-bottom: 20px;
}

.page-news .news-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(155, 92, 255, 0.4);
  border-radius: 999px;
  background: rgba(155, 92, 255, 0.08);
  font-size: 13px;
  color: var(--color-text-bright);
}

.page-news .news-hero__badge svg {
  flex: none;
}

.page-news .news-hero__media {
  border-radius: var(--news-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.page-news .news-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 15, 0.55) 100%);
  pointer-events: none;
}

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

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

.page-news .chapter__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.page-news .chapter__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 44px;
  line-height: 0.9;
  color: var(--color-purple);
  text-shadow: 0 0 18px rgba(155, 92, 255, 0.35);
  opacity: 0.9;
  flex: none;
}

.page-news .chapter__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: var(--color-text-bright);
  margin-bottom: 4px;
}

.page-news .chapter__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.page-news .filter-btn {
  padding: 8px 18px;
  border: 1px solid rgba(155, 92, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: var(--transition);
}

.page-news .filter-btn:hover {
  border-color: var(--color-pink);
  color: var(--color-text-bright);
  box-shadow: 0 0 12px rgba(255, 42, 120, 0.2);
}

.page-news .filter-btn.is-active {
  background: var(--gradient-neon);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 42, 120, 0.3);
}

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

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

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

.page-news .news-card {
  position: relative;
  padding: 22px;
  background: var(--color-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
}

.page-news .news-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-news .news-card:hover {
  border-color: rgba(255, 42, 120, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-news .news-card:hover::before {
  opacity: 1;
}

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

.page-news .news-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-purple);
  background: rgba(155, 92, 255, 0.1);
  border: 1px solid rgba(155, 92, 255, 0.2);
  border-radius: 4px;
  padding: 3px 10px;
}

.page-news .news-card__time {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.page-news .news-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-bright);
  margin-bottom: 10px;
}

.page-news .news-card__excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text);
}

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

.page-news .news-side__inner {
  background: var(--color-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.page-news .news-side__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-bright);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-news .news-side__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--gradient-neon);
}

.page-news .news-hot {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.page-news .news-hot__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(220, 208, 192, 0.08);
}

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

.page-news .news-hot__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  color: var(--color-purple);
  line-height: 1.6;
  flex: none;
  width: 22px;
}

.page-news .news-hot__link {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.page-news .news-hot__link:hover {
  color: var(--color-pink);
  text-shadow: 0 0 12px rgba(255, 42, 120, 0.35);
}

.page-news .news-side__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

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

.page-news .topic-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .topic-card__content {
  padding: 28px;
}

.page-news .topic-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-orange);
  background: rgba(255, 176, 0, 0.12);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.page-news .topic-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-text-bright);
  margin-bottom: 12px;
}

.page-news .topic-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.page-news .topic-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}

.page-news .topic-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.page-news .topic-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px rgba(0, 255, 159, 0.5);
}

.page-news .topic-card__media {
  border-top: 1px solid var(--border);
}

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

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

.page-news .topic-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.page-news .topic-mini:hover {
  border-color: rgba(0, 255, 159, 0.4);
  transform: translateY(-2px);
}

.page-news .topic-mini__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: none;
}

.page-news .topic-mini__body {
  min-width: 0;
}

.page-news .topic-mini__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-bright);
  margin-bottom: 4px;
}

.page-news .topic-mini__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.page-news .changelog-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-green), var(--color-purple) 70%, transparent);
}

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

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

.page-news .timeline__dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 14px rgba(0, 255, 159, 0.6);
}

.page-news .timeline__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 159, 0.25);
}

.page-news .timeline__year {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--color-green);
  margin-bottom: 4px;
  text-shadow: 0 0 16px rgba(0, 255, 159, 0.35);
}

.page-news .timeline__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-bright);
  margin-bottom: 4px;
}

.page-news .timeline__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

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

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

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

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

  .page-news .topic-card {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .topic-card__media {
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 1024px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-news .news-side__inner {
    position: sticky;
    top: 92px;
  }

  .page-news .changelog-wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-news .changelog__media {
    position: sticky;
    top: 92px;
  }
}
