.page-news {
  --news-deep: #0B3D2E;
  --news-green: #1B7A5A;
  --news-gold: #D4AF37;
  --news-dark-gold: #B8860B;
  --news-red: #8B0000;
  --news-bg: #F5F5F0;
  --news-card: #FFFFFF;
  --news-text: #1A1A1A;
  --news-muted: #4A4A4A;
  --news-line: #E0E0E0;
  background: var(--news-bg);
  color: var(--news-text);
}

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

/* ---------- 首屏标题区 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--news-deep);
  color: #F5F5F0;
  padding: 30px 0 42px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -42px;
  width: 230px;
  height: 170px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  transform: rotate(8deg);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: 64px;
  top: 14px;
  width: 72px;
  height: 72px;
  background: rgba(27, 122, 90, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.4);
  pointer-events: none;
}

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

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

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

.page-news .news-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-news .news-hero-copy .kicker {
  color: var(--news-gold);
}

.page-news .news-hero h1 {
  font-family: var(--head);
  font-size: 34px;
  line-height: 1.1;
  margin: 6px 0 12px;
  color: #FFFFFF;
}

.page-news .news-hero-desc {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  color: #cfe2d8;
  margin: 0;
  max-width: 56em;
}

.page-news .news-hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0;
  padding: 0;
}

.page-news .news-hero-index div {
  min-width: 132px;
  border-top: 3px solid var(--news-gold);
  padding-top: 10px;
}

.page-news .news-hero-index dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #a9c8b8;
}

.page-news .news-hero-index dd {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--news-gold);
}

/* ---------- 栏目图例 ---------- */
.page-news .news-legend {
  background: var(--news-card);
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-legend-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
}

.page-news .news-legend-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--news-muted);
  white-space: nowrap;
  text-transform: uppercase;
}

.page-news .news-legend-list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--news-line);
  background: var(--news-bg);
  font-family: var(--head);
  font-size: 13px;
  line-height: 1.2;
  color: var(--news-deep);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.page-news .legend-item::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--news-green);
}

.page-news .legend-item.legend-match::before {
  background: var(--news-dark-gold);
}

.page-news .legend-item.legend-feature::before {
  background: var(--news-red);
}

.page-news .legend-item.legend-notice::before {
  background: var(--news-text);
}

.page-news .legend-item:hover {
  border-color: var(--news-gold);
  background: var(--news-card);
}

/* ---------- 主布局 ---------- */
.page-news .news-layout {
  display: grid;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 52px;
}

.page-news .news-stream {
  background: var(--news-card);
  border: 1px solid var(--news-line);
  padding: 24px 18px;
}

.page-news .news-stream-head {
  border-left: 4px solid var(--news-gold);
  padding-left: 14px;
  margin-bottom: 24px;
}

.page-news .news-stream-head h2 {
  margin: 0 0 6px;
}

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

/* ---------- 新闻卡片 ---------- */
.page-news .news-card {
  padding: 24px 2px;
  border-top: 1px solid var(--news-line);
  background: transparent;
  transition: background 0.2s, box-shadow 0.2s;
}

.page-news .news-card:hover {
  background: rgba(245, 245, 240, 0.55);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.07);
}

.page-news .news-card-media {
  margin-bottom: 16px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--news-bg);
}

.page-news .news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-news .news-cat {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-family: var(--head);
  font-size: 12px;
  line-height: 1.2;
  color: var(--news-green);
}

.page-news .news-cat.cat-match {
  color: var(--news-dark-gold);
}

.page-news .news-cat.cat-feature {
  color: var(--news-red);
}

.page-news .news-cat.cat-notice {
  color: var(--news-text);
}

.page-news .news-sticky {
  background: var(--news-red);
  color: #FFFFFF;
  padding: 3px 8px;
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-news .news-sticky-red {
  background: var(--news-red);
}

.page-news .news-version {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--news-muted);
}

.page-news .news-card-copy h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 8px;
  font-family: var(--head);
}

.page-news .news-card-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.page-news .news-card-copy h3 a:hover {
  color: var(--news-green);
}

.page-news .news-card-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
  max-width: 60em;
}

.page-news .news-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.page-news .news-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--news-dark-gold);
}

.page-news .news-card-foot a {
  font-size: 14px;
  font-weight: 700;
  color: var(--news-green);
  text-decoration: none;
}

.page-news .news-card-foot a:hover {
  color: var(--news-deep);
}

.page-news .news-load-more {
  margin: 24px 0 0;
  padding: 14px 16px;
  background: var(--news-bg);
  color: var(--news-muted);
  font-size: 13px;
  line-height: 1.6;
  border-left: 3px solid var(--news-dark-gold);
}

/* ---------- 右侧边栏 ---------- */
.page-news .news-sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-news .sidebar-block {
  background: var(--news-card);
  border: 1px solid var(--news-line);
  padding: 24px 20px;
}

.page-news .sidebar-block h2 {
  font-size: 20px;
  margin: 4px 0 12px;
}

.page-news .sidebar-block .kicker {
  color: var(--news-dark-gold);
}

/* 标签列表 */
.page-news .tag-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .tag-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--news-bg);
  font-size: 14px;
  line-height: 1.4;
}

.page-news .tag-key {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--news-green);
}

.page-news .tag-key-gold {
  background: var(--news-gold);
}

.page-news .tag-key-red {
  background: var(--news-red);
}

.page-news .tag-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--news-dark-gold);
}

.page-news .tags-texture {
  margin-top: 16px;
}

.page-news .tags-texture img {
  display: block;
  width: 100%;
  opacity: 0.85;
}

/* 订阅关注 */
.page-news .subscribe-block {
  background: var(--news-deep);
  border-color: var(--news-deep);
  color: #F5F5F0;
}

.page-news .subscribe-block h2 {
  color: #FFFFFF;
}

.page-news .subscribe-block .kicker {
  color: var(--news-gold);
}

.page-news .subscribe-block p {
  font-size: 14px;
  line-height: 1.7;
  color: #d3e0d8;
  margin: 0 0 14px;
}

.page-news .subscribe-mail {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--news-gold);
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0 0 14px;
  word-break: break-all;
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.page-news .subscribe-actions .btn-gold {
  background: var(--news-gold);
  color: var(--news-deep);
}

.page-news .subscribe-actions .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}

.page-news .subscribe-actions .btn-outline:hover {
  border-color: var(--news-gold);
  color: var(--news-gold);
}

/* ---------- 版本更新路线 ---------- */
.page-news .release-timeline {
  background: var(--news-deep);
  color: #F5F5F0;
  padding: 44px 0 50px;
}

.page-news .release-timeline .section-head h2 {
  color: #FFFFFF;
}

.page-news .release-timeline .kicker {
  color: var(--news-gold);
}

.page-news .release-visual {
  margin: 22px 0 28px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  height: 160px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.page-news .release-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-news .timeline-list li {
  border-left: 2px solid rgba(212, 175, 55, 0.45);
  padding: 2px 0 2px 14px;
}

.page-news .timeline-version {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--news-gold);
  margin-bottom: 4px;
}

.page-news .timeline-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #d3e0d8;
}

/* ---------- 热门专题 ---------- */
.page-news .feature-topics {
  padding: 44px 0 60px;
}

.page-news .feature-topics .section-head h2 {
  margin-bottom: 0;
}

.page-news .topic-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.page-news .topic-card {
  display: block;
  background: var(--news-card);
  border: 1px solid var(--news-line);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-news .topic-card:hover {
  border-color: var(--news-gold);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.12);
}

.page-news .topic-card-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-news .topic-content {
  padding: 18px 20px 22px;
}

.page-news .topic-content h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 10px 0 8px;
  font-family: var(--head);
}

.page-news .topic-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-muted);
}

/* ---------- 响应式调整 ---------- */
@media (min-width: 700px) {
  .page-news .news-hero h1 {
    font-size: 44px;
  }

  .page-news .news-hero-layout {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .page-news .news-hero-copy {
    max-width: 620px;
  }

  .page-news .news-hero-index {
    justify-content: flex-end;
  }

  .page-news .news-card.is-featured {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 22px;
  }

  .page-news .news-card-media {
    margin-bottom: 0;
  }

  .page-news .release-visual {
    height: 220px;
  }
}

@media (min-width: 900px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 32px;
  }

  .page-news .news-stream {
    padding: 28px 24px;
  }

  .page-news .timeline-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .page-news .timeline-list li {
    border-left: none;
    border-top: 2px solid rgba(212, 175, 55, 0.45);
    padding: 12px 0 0;
  }

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

  .page-news .topic-card-main .topic-content {
    padding-bottom: 24px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
