.page-news {
  --news-font-mono: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --news-card-bg: #FFFFFF;
  --news-line: rgba(11, 30, 58, 0.08);
  --news-ice-muted: rgba(232, 240, 248, 0.68);
}

.page-news .news-container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  padding: 32px 0 64px;
}

.page-news .news-breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
}

.page-news a:focus-visible {
  outline: 2px solid var(--bright-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.page-news [data-reveal] {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ===== 首屏标题区 ===== */
.page-news .news-top {
  position: relative;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--midnight-indigo) 100%);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
  overflow: hidden;
}

.page-news .news-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(232, 240, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 248, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

.page-news .news-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.page-news .news-kicker .section-index {
  color: var(--bright-orange);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.page-news .news-kicker .section-annotation {
  color: var(--warm-amber);
  font-family: var(--news-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-news .news-top h1 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--ice-white);
  margin: 0 0 14px;
  line-height: 1.18;
}

.page-news .news-lead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.8;
  color: rgba(232, 240, 248, 0.88);
  max-width: 640px;
  margin: 0;
}

.page-news .news-top-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232, 240, 248, 0.14);
}

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

.page-news .news-top-figure .figure-figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(11, 30, 58, 0.76);
  color: var(--ice-white);
  font-family: var(--news-font-mono);
  font-size: 12px;
  border-radius: 4px;
  border-left: 2px solid var(--bright-orange);
}

/* ===== 编辑部列表布局 ===== */
.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-news .news-index {
  background: var(--deep-blue);
  color: var(--ice-white);
  padding: 24px 20px;
  border-radius: 8px;
  height: fit-content;
  border: 1px solid rgba(14, 95, 107, 0.4);
}

.page-news .news-index-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: var(--ice-white);
  border-bottom: 1px solid rgba(232, 240, 248, 0.14);
  padding-bottom: 12px;
}

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

.page-news .news-index-list li + li {
  margin-top: 4px;
}

.page-news .news-index-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 240, 248, 0.82);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 4px;
  border-left: 2px solid transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-news .news-index-list a:hover,
.page-news .news-index-list a:focus-visible {
  background: rgba(255, 107, 53, 0.14);
  color: var(--ice-white);
  border-left-color: var(--bright-orange);
}

.page-news .index-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.page-news .swatch-feature {
  background: var(--jewel-teal);
}

.page-news .swatch-review {
  background: var(--bright-orange);
}

.page-news .swatch-topic {
  background: var(--warm-amber);
}

.page-news .news-index-note {
  font-family: var(--news-font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--news-ice-muted);
  border-top: 1px solid rgba(232, 240, 248, 0.16);
  margin: 20px 0 0;
  padding-top: 14px;
}

/* ===== 筛选胶囊 ===== */
.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 0;
}

.page-news .filter-chip {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11, 30, 58, 0.18);
  color: var(--deep-blue);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-news .filter-chip:hover,
.page-news .filter-chip:focus-visible,
.page-news .filter-chip.is-active {
  background: var(--deep-blue);
  color: var(--ice-white);
  border-color: var(--deep-blue);
}

/* ===== 时间线 ===== */
.page-news .timeline {
  position: relative;
  padding-left: 28px;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--bright-orange) 0%, var(--jewel-teal) 55%, var(--warm-amber) 100%);
  opacity: 0.4;
  border-radius: 2px;
}

.page-news .timeline-group {
  position: relative;
  margin-bottom: 32px;
}

.page-news .timeline-group-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 18px;
  padding-top: 6px;
}

.page-news .timeline-group-title::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--deep-blue);
  border: 2px solid var(--warm-amber);
  box-sizing: border-box;
}

.page-news .group-num {
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--bright-orange);
  letter-spacing: 0.08em;
}

.page-news .timeline-item {
  position: relative;
  margin-bottom: 18px;
}

.page-news .timeline-marker {
  position: absolute;
  left: -28px;
  top: 22px;
  width: 12px;
  height: 12px;
  z-index: 1;
}

.page-news .marker-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm-gray);
  border: 2px solid var(--jewel-teal);
  box-sizing: border-box;
}

.page-news .timeline-card {
  background: var(--news-card-bg);
  border: 1px solid var(--news-line);
  border-radius: 8px;
  padding: 20px 20px;
  box-shadow: 0 2px 8px rgba(11, 30, 58, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-news .timeline-card:hover,
.page-news .timeline-card:focus-within {
  border-color: rgba(14, 95, 107, 0.45);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(11, 30, 58, 0.08);
}

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

.page-news .tag-cat {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.page-news .cat-feature {
  background: rgba(14, 95, 107, 0.12);
  color: #0E5F6B;
  border-color: rgba(14, 95, 107, 0.3);
}

.page-news .cat-review {
  background: rgba(255, 107, 53, 0.12);
  color: #B84A1F;
  border-color: rgba(255, 107, 53, 0.4);
}

.page-news .cat-topic {
  background: rgba(255, 167, 51, 0.14);
  color: #9A6A0B;
  border-color: rgba(255, 167, 51, 0.45);
}

.page-news .tag-version {
  font-family: var(--news-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--jewel-teal);
  text-transform: uppercase;
}

.page-news .timeline-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 8px;
  line-height: 1.4;
}

.page-news .timeline-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-news .timeline-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--jewel-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 95, 107, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news .timeline-link:hover,
.page-news .timeline-link:focus-visible {
  color: var(--bright-orange);
  border-color: var(--bright-orange);
}

.page-news .timeline-feature-figure {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 95, 107, 0.28);
}

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

.page-news .timeline-review-figure {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.3);
  position: relative;
}

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

.page-news .timeline-review-figure .figure-figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(11, 30, 58, 0.76);
  color: var(--ice-white);
  font-family: var(--news-font-mono);
  font-size: 12px;
  border-radius: 4px;
  border-left: 2px solid var(--bright-orange);
}

/* ===== 订阅提示 ===== */
.page-news .news-subscribe {
  margin-top: 48px;
  border: 2px dashed var(--bright-orange);
  border-radius: 14px;
  padding: 24px;
  background: rgba(255, 107, 53, 0.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .subscribe-figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.22);
}

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

.page-news .subscribe-content .section-annotation {
  font-family: var(--news-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bright-orange);
}

.page-news .subscribe-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--deep-blue);
  margin: 8px 0 10px;
}

.page-news .subscribe-content > p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 14px;
}

.page-news .subscribe-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.page-news .subscribe-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-news .subscribe-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--bright-orange);
  border-radius: 50%;
}

/* ===== 归档索引 ===== */
.page-news .news-archive {
  margin-top: 48px;
  background: var(--midnight-indigo);
  border-radius: 14px;
  padding: 28px 24px;
  color: var(--ice-white);
  border: 1px solid rgba(14, 95, 107, 0.35);
}

.page-news .archive-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.page-news .archive-head .section-index {
  color: var(--bright-orange);
  font-family: var(--news-font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.page-news .archive-head h2 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  margin: 0 0 6px;
}

.page-news .archive-head p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--news-ice-muted);
  margin: 0;
}

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

.page-news .archive-card {
  background: rgba(11, 30, 58, 0.52);
  border: 1px solid rgba(14, 95, 107, 0.35);
  border-radius: 8px;
  padding: 18px 18px 14px;
}

.page-news .archive-num {
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--warm-amber);
  letter-spacing: 0.08em;
}

.page-news .archive-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  margin: 6px 0 10px;
  color: var(--ice-white);
}

.page-news .archive-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news .archive-card li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(232, 240, 248, 0.82);
  padding: 5px 0;
  border-bottom: 1px dotted rgba(232, 240, 248, 0.14);
}

.page-news .archive-card li:last-child {
  border-bottom: none;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 900px) {
  .page-news .news-container {
    padding: 40px 32px 80px;
  }

  .page-news .news-top {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding: 40px 40px;
    margin-bottom: 56px;
  }

  .page-news .news-top h1 {
    font-size: var(--text-2xl);
  }

  .page-news .news-top-figure {
    height: 300px;
  }

  .page-news .news-top-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .page-news .news-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
  }

  .page-news .news-index {
    position: sticky;
    top: 24px;
  }

  .page-news .news-filter {
    position: sticky;
    top: 24px;
    z-index: 5;
    background: rgba(245, 247, 250, 0.92);
    border-radius: 999px;
    padding: 8px 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(11, 30, 58, 0.05);
    backdrop-filter: blur(6px);
  }

  .page-news .news-subscribe {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    padding: 32px 36px;
    margin-top: 56px;
  }

  .page-news .subscribe-figure img {
    height: 320px;
    width: 100%;
    object-fit: cover;
  }

  .page-news .news-archive {
    padding: 36px 32px;
    margin-top: 56px;
  }

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

  .page-news .timeline-review-figure img {
    max-height: 320px;
    object-fit: cover;
  }
}
