.page-news {
  background: var(--pure-white);
  color: var(--ink-black);
}

.page-news img {
  max-width: 100%;
  height: auto;
}

/* ===== Hero 区 ===== */
.page-news .news-hero {
  background: var(--green-950);
  color: var(--pure-white);
  padding: 44px 0 56px;
  position: relative;
  overflow: hidden;
}

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

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

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

.page-news .news-hero .breadcrumbs {
  margin-bottom: 36px;
}

.page-news .news-hero .breadcrumbs a {
  color: var(--gold-400);
}

.page-news .news-hero .breadcrumbs span {
  color: var(--gray-400);
}

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

@media (min-width: 900px) {
  .page-news .news-hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: end;
  }
}

.page-news .news-hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-news .news-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  line-height: 1.15;
  color: var(--pure-white);
}

@media (min-width: 900px) {
  .page-news .news-hero h1 {
    font-size: 56px;
  }
}

.page-news .news-hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  max-width: 54ch;
  margin: 0;
}

.page-news .news-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

@media (max-width: 480px) {
  .page-news .news-hero-stats {
    gap: 8px;
  }
}

.page-news .hero-stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 8px;
}

.page-news .hero-stat-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-400);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.page-news .live-time {
  display: inline-block;
  animation: pageNewsBlink 2.4s ease-in-out infinite;
}

@keyframes pageNewsBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .live-time {
    animation: none;
  }
}

/* ===== 主内容区左右分栏 ===== */
.page-news .news-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  .page-news .news-main-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 56px;
    align-items: start;
  }
}

/* ===== Section 标题通用 ===== */
.page-news .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 16px;
  margin-bottom: 36px;
}

.page-news .section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.1em;
}

.page-news .section-heading h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--green-900);
  margin: 0;
  line-height: 1.2;
}

.page-news .section-desc {
  margin-left: auto;
  color: var(--gray-700);
  font-size: 14px;
}

/* ===== 最新动态列表 ===== */
.page-news .news-latest {
  scroll-margin-top: 96px;
}

.page-news .news-list {
  border-top: 2px solid var(--green-900);
}

.page-news .news-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .news-item-with-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .page-news .news-item-with-media {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: center;
  }

  .page-news .news-item-with-media .news-item-body {
    order: 0;
  }

  .page-news .news-item-with-media .news-item-media {
    order: 1;
  }
}

.page-news .news-item-idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  grid-column: 1 / -1;
}

.page-news .news-item-media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-card);
}

.page-news .news-item-body h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  margin: 8px 0 10px;
  color: var(--ink-black);
  letter-spacing: 0.01em;
}

.page-news .news-item-featured h3 {
  font-size: 22px;
  line-height: 1.4;
}

.page-news .news-item-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-700);
  margin: 0 0 4px;
}

.page-news .news-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-item-tags .tag {
  margin: 0;
}

.page-news .news-more {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--green-900);
  margin-top: 12px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.page-news .news-more span {
  display: inline-block;
  transition: transform 0.2s ease;
}

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

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

.page-news .news-more-wrap {
  margin-top: 28px;
  text-align: center;
}

.page-news .news-more-wrap .btn {
  min-width: 220px;
}

/* ===== 侧边栏 ===== */
.page-news .news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-news .sidebar-card {
  background: var(--pure-white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.page-news .sidebar-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--green-900);
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.page-news .sidebar-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-700);
  margin: 0 0 16px;
}

.page-news .sidebar-card-gold {
  border-top: 4px solid var(--gold-500);
}

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

.page-news .sidebar-cats li + li {
  border-top: 1px solid var(--gray-100);
}

.page-news .sidebar-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-black);
  transition: color 0.2s ease, padding-left 0.2s ease;
  text-decoration: none;
}

.page-news .sidebar-cats a:hover {
  color: var(--green-900);
  padding-left: 8px;
}

.page-news .sidebar-cats em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--gray-400);
  background: var(--gray-100);
  border-radius: 20px;
  padding: 2px 12px;
}

.page-news .sidebar-card .btn-gold {
  display: block;
  text-align: center;
  width: 100%;
}

/* ===== 版本历史 ===== */
.page-news .news-version {
  background: var(--cream-100);
  padding: 72px 0;
  scroll-margin-top: 96px;
}

.page-news .news-version .section-heading {
  border-bottom-color: #DDD5C3;
}

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

@media (min-width: 900px) {
  .page-news .version-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 64px;
    align-items: start;
  }
}

.page-news .version-list {
  padding: 8px 0;
}

.page-news .version-item {
  position: relative;
  padding: 24px 0 24px 44px;
  border-left: 3px solid #D8D0BC;
}

.page-news .version-item:last-child {
  border-left-color: transparent;
}

.page-news .version-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 32px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--cream-100);
  box-shadow: 0 0 0 2px var(--gold-500);
}

.page-news .version-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--green-900);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.page-news .version-info h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-black);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.page-news .version-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .version-info li {
  padding: 4px 0 4px 18px;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
}

.page-news .version-info li::before {
  content: "—";
  color: var(--gold-600);
  position: absolute;
  left: 0;
}

.page-news .version-media {
  position: sticky;
  top: 96px;
}

.page-news .version-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  display: block;
}

.page-news .version-caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-700);
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.06em;
}

/* ===== 赛事专题 ===== */
.page-news .news-topics {
  background: var(--green-900);
  padding: 80px 0;
  color: var(--pure-white);
  scroll-margin-top: 96px;
}

.page-news .news-topics .section-heading {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.page-news .news-topics .section-heading h2 {
  color: var(--pure-white);
}

.page-news .news-topics .section-num {
  color: var(--gold-400);
}

.page-news .news-topics .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

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

@media (min-width: 900px) {
  .page-news .topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-news .topic-card-main {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
  }
}

.page-news .topic-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.page-news .topic-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.page-news .topic-media img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.page-news .topic-card h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  margin: 14px 0 10px;
  color: var(--pure-white);
  letter-spacing: 0.01em;
}

.page-news .topic-card p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 4px;
}

.page-news .topic-card .news-more {
  color: var(--gold-400);
}

.page-news .topic-card .news-more:hover {
  color: var(--gold-500);
}

.page-news .topic-card .btn-outline {
  border-color: var(--gold-500);
  color: var(--gold-400);
  margin-top: 16px;
}

.page-news .topic-card .btn-outline:hover {
  background: var(--gold-500);
  color: var(--green-950);
  border-color: var(--gold-500);
}

@media (prefers-reduced-motion: no-preference) {
  .page-news .news-item {
    animation: pageNewsItemIn 0.5s ease both;
  }

  .page-news .news-item:nth-child(2) {
    animation-delay: 0.08s;
  }

  .page-news .news-item:nth-child(3) {
    animation-delay: 0.16s;
  }

  .page-news .news-item:nth-child(4) {
    animation-delay: 0.24s;
  }
}

@keyframes pageNewsItemIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
