.page-news {
  --news-blue: #4D9FFF;
  background: var(--c-primary);
  color: var(--c-text);
}

.page-news .news-container {
  padding-top: 24px;
  padding-bottom: 72px;
}

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

.page-news .news-page-head .section-title-meta {
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
}

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

.page-news .news-page-head .page-desc {
  color: var(--c-muted);
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

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

.page-news .news-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

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

.page-news .news-section {
  position: relative;
  padding-top: 24px;
  scroll-margin-top: 150px;
}

.page-news .news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-neon), transparent);
}

.page-news .section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.page-news .section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-nebula);
  background: rgba(123, 94, 167, 0.12);
  border: 1px solid rgba(123, 94, 167, 0.3);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.page-news .section-head h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

.page-news .spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(123, 94, 167, 0.18) 0%, rgba(10, 30, 60, 0.95) 55%);
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.page-news .spotlight-content {
  padding: 28px 26px 18px;
}

.page-news .category-tag {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 255, 159, 0.12);
  color: var(--c-neon);
  border: 1px solid rgba(0, 255, 159, 0.3);
  margin-bottom: 14px;
}

.page-news .spotlight-content h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 900;
}

.page-news .spotlight-content p {
  color: var(--c-muted);
  line-height: 1.7;
  margin: 0 0 18px;
  font-size: 15px;
}

.page-news .spotlight-img {
  border-top: 1px solid var(--c-border);
}

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

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

.page-news .mini-news-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-secondary);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-news .mini-news-card:hover {
  border-color: rgba(0, 255, 159, 0.5);
  box-shadow: var(--glow-neon);
}

.page-news .mini-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 159, 0.1);
  color: var(--c-neon);
  border: 1px solid rgba(0, 255, 159, 0.2);
  white-space: nowrap;
}

.page-news .mini-news-card h4 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 800;
}

.page-news .mini-news-card p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

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

.page-news .release-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-neon), var(--c-nebula), transparent);
}

.page-news .release-item {
  position: relative;
  padding-bottom: 28px;
}

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

.page-news .release-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: var(--glow-neon);
  border: 2px solid var(--c-primary);
}

.page-news .release-card {
  background: var(--c-secondary);
  border-left: 3px solid var(--c-neon);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.page-news .season-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-neon);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.page-news .release-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 800;
}

.page-news .release-card p {
  color: var(--c-muted);
  line-height: 1.65;
  font-size: 14px;
  margin: 0;
}

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

.page-news .changelog-image {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-secondary);
}

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

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

.page-news .changelog-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
  align-items: flex-start;
}

.page-news .changelog-item:first-child {
  padding-top: 0;
}

.page-news .changelog-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .ver-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-nebula);
  background: rgba(123, 94, 167, 0.14);
  border: 1px solid rgba(123, 94, 167, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  white-space: nowrap;
}

.page-news .changelog-item h3 {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 800;
}

.page-news .changelog-item p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

.page-news .feature-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-secondary);
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.page-news .feature-img {
  border-bottom: 1px solid var(--c-border);
}

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

.page-news .feature-content {
  padding: 24px;
}

.page-news .category-tag--purple {
  background: rgba(123, 94, 167, 0.18);
  color: #C9B4FF;
  border-color: rgba(123, 94, 167, 0.4);
}

.page-news .feature-content h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 900;
}

.page-news .feature-content p {
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0 0 18px;
  font-size: 15px;
}

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

.page-news .feature-mini {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: linear-gradient(120deg, rgba(123, 94, 167, 0.08), rgba(10, 30, 60, 0.6));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-news .feature-mini:hover {
  border-color: rgba(0, 255, 159, 0.4);
  box-shadow: var(--glow-neon);
}

.page-news .mini-num {
  font-family: var(--font-mono);
  color: var(--c-nebula);
  font-weight: 700;
  font-size: 14px;
}

.page-news .feature-mini h4 {
  margin: 10px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.page-news .feature-mini p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.page-news .sidebar-widget {
  background: var(--c-secondary);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.page-news .sidebar-widget h3 {
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 12px;
}

.page-news .sidebar-widget h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--c-neon);
  border-radius: 2px;
}

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

.page-news .tag-item {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-news .tag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-news .tag-item--neon {
  background: rgba(0, 255, 159, 0.12);
  color: var(--c-neon);
  border-color: rgba(0, 255, 159, 0.4);
}

.page-news .tag-item--purple {
  background: rgba(123, 94, 167, 0.16);
  color: #C9B4FF;
  border-color: rgba(123, 94, 167, 0.45);
}

.page-news .tag-item--amber {
  background: rgba(255, 183, 77, 0.12);
  color: var(--c-warning);
  border-color: rgba(255, 183, 77, 0.4);
}

.page-news .tag-item--blue {
  background: rgba(77, 159, 255, 0.12);
  color: var(--news-blue);
  border-color: rgba(77, 159, 255, 0.4);
}

.page-news .tag-item--green {
  background: rgba(76, 175, 80, 0.12);
  color: var(--c-success);
  border-color: rgba(76, 175, 80, 0.4);
}

.page-news .tag-item--muted {
  background: rgba(142, 158, 187, 0.1);
  color: var(--c-muted);
  border-color: rgba(142, 158, 187, 0.35);
}

.page-news .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: hot-counter;
}

.page-news .hot-list li {
  counter-increment: hot-counter;
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 58, 107, 0.6);
}

.page-news .hot-list li:first-child {
  padding-top: 0;
}

.page-news .hot-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .hot-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--c-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.page-news .hot-list a::before {
  content: counter(hot-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-neon);
}

.page-news .hot-list a:hover {
  color: var(--c-neon);
}

.page-news .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(31, 58, 107, 0.5);
}

.page-news .stat-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .stat-label {
  color: var(--c-muted);
  font-size: 14px;
}

.page-news .stat-num {
  font-family: var(--font-mono);
  color: var(--c-neon);
  font-size: 20px;
  font-weight: 700;
}

.page-news .sidebar-visual {
  padding: 0;
  overflow: hidden;
}

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

.page-news .sidebar-trend svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-news .trend-note {
  color: var(--c-muted);
  font-size: 13px;
  margin: 12px 0 0;
  line-height: 1.5;
}

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

  .page-news .news-sidebar {
    position: sticky;
    top: 140px;
  }

  .page-news .spotlight-card {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-news .spotlight-img {
    border-top: 0;
    border-left: 1px solid var(--c-border);
  }

  .page-news .announcement-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .changelog-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
  }

  .page-news .feature-card {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-news .feature-img {
    border-bottom: 0;
    border-right: 1px solid var(--c-border);
  }

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