.page-news {
  --news-rail-w: 300px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-news .news-crumb {
  padding-top: 16px;
  padding-bottom: 10px;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ice);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: clamp(26px, 5vw, 52px) 0 clamp(30px, 6vw, 60px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(0, 194, 255, 0.14) 0 1px, transparent 1px 76px);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(0, 194, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.page-news .news-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.page-news .news-hero-copy .eyebrow {
  color: var(--amber);
  margin: 0 0 12px;
}

.page-news .news-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-news .news-hero-copy .lede {
  margin: 0 0 22px;
  color: var(--fog);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}

.page-news .news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-news .news-hero-actions .btn--ghost {
  color: var(--ice);
  border-color: var(--cyan);
  background: transparent;
  box-shadow: 4px 4px 0 rgba(0, 194, 255, 0.35);
}

.page-news .news-hero-actions .btn--ghost:hover,
.page-news .news-hero-actions .btn--ghost:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

.page-news .news-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 2px solid rgba(0, 194, 255, 0.45);
  background: rgba(0, 194, 255, 0.45);
}

.page-news .news-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(10, 26, 47, 0.92);
}

.page-news .news-stat-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
}

.page-news .news-stat-label {
  font-size: 12px;
  color: var(--fog);
  line-height: 1.4;
}

.page-news .news-hero-figure {
  margin: 0;
}

.page-news .news-hero-figure .media-frame {
  aspect-ratio: 3 / 4;
  border: 2px solid var(--black);
  box-shadow: var(--shadow-hard);
  background: var(--fog);
  overflow: hidden;
}

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

.page-news .news-hero-figure .media-caption {
  margin-top: 10px;
  color: var(--fog);
}

/* ---------- 章节通用 ---------- */
.page-news .news-body {
  padding-top: clamp(28px, 5vw, 48px);
}

.page-news .news-section {
  margin-top: clamp(40px, 7vw, 76px);
}

.page-news .news-section:first-child {
  margin-top: 0;
}

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

.page-news .section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.page-news .section-head h2::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border: var(--border);
  transform: translateY(-2px);
}

.page-news .section-head p {
  margin: 0;
  max-width: 68ch;
  color: var(--slate);
  line-height: 1.7;
}

.page-news .sub-title {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.35;
}

/* ---------- 公告区双栏 ---------- */
.page-news .news-split {
  display: grid;
  gap: 24px;
}

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

.page-news .filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  -webkit-overflow-scrolling: touch;
}

.page-news .filter-strip .tag {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-news .filter-note {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.page-news .notice-group {
  margin-bottom: 14px;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.page-news .notice-group > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  background: var(--fog);
  border-bottom: var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-news .notice-group > summary::-webkit-details-marker {
  display: none;
}

.page-news .notice-group > summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--teal);
  font-weight: 700;
}

.page-news .notice-group[open] > summary::after {
  content: "－";
}

.page-news .notice {
  padding: 14px 15px;
  border-bottom: 1px dashed rgba(30, 58, 95, 0.35);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.page-news .notice:last-child {
  border-bottom: 0;
}

.page-news .notice:hover {
  transform: translateX(3px);
  background: var(--ice);
}

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

.page-news .notice-ver {
  display: inline-block;
  padding: 1px 7px;
  background: var(--ink);
  color: var(--cyan);
  border: 2px solid var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-news .notice-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-news .notice-title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.page-news .notice-sum {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .notice-path {
  margin: 0;
  font-size: 12px;
  color: var(--slate);
  word-break: break-word;
}

/* ---------- 粘性时间轴侧栏 ---------- */
.page-news .news-rail {
  min-width: 0;
}

.page-news .rail-card {
  border: var(--border);
  background: var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 16px;
}

.page-news .rail-kicker {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 194, 255, 0.4);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .rail-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0 0 0 22px;
  position: relative;
}

.page-news .rail-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(0, 194, 255, 0.45);
}

.page-news .rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 10px;
}

.page-news .rail-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-news .rail-item.is-current::before {
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--amber);
}

.page-news .rail-ver {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

.page-news .rail-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fog);
}

.page-news .rail-btn {
  width: 100%;
  color: var(--ice);
  border-color: var(--cyan);
  background: transparent;
  box-shadow: none;
}

.page-news .rail-btn:hover,
.page-news .rail-btn:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

/* ---------- 新版观察 ---------- */
.page-news .news-version-figure {
  margin: 0 0 20px;
}

.page-news .news-version-figure .media-frame {
  aspect-ratio: 10 / 7;
  border: var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--fog);
  overflow: hidden;
}

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

.page-news .table-cap {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-news .data-table td,
.page-news .data-table th {
  vertical-align: top;
  line-height: 1.6;
}

.page-news .news-section .callout {
  margin-top: 18px;
}

/* ---------- 分类与检索 ---------- */
.page-news .news-cats {
  display: grid;
  gap: 14px;
}

.page-news .cat-card {
  position: relative;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
  border-top-width: 8px;
  border-top-color: var(--cyan);
}

.page-news .cat-card--amber {
  border-top-color: var(--amber);
}

.page-news .cat-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.page-news .cat-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .cat-count {
  margin: 0;
  font-size: 12px;
  color: var(--slate);
}

.page-news .news-cat-figure {
  margin: 20px 0 0;
}

.page-news .news-cat-figure .media-frame {
  aspect-ratio: 8 / 5;
  border: var(--border);
  background: var(--fog);
  overflow: hidden;
}

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

.page-news .news-search-split {
  display: grid;
  gap: 24px;
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: clamp(22px, 4vw, 36px);
  border-top: 2px dashed rgba(30, 58, 95, 0.3);
}

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

.page-news .tip-list li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .tip-list li:last-child {
  margin-bottom: 0;
}

.page-news .tip-list li::before {
  counter-increment: news-tip;
  content: counter(news-tip, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--cyan);
  background: var(--ink);
  border: 2px solid var(--black);
}

.page-news .tip-list li strong {
  color: var(--ink);
}

.page-news .news-search-figure {
  margin: 0;
  align-self: start;
}

.page-news .news-search-figure .media-frame {
  aspect-ratio: 9 / 5.6;
  border: var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--ice);
  overflow: hidden;
}

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

/* ---------- 版本时间轴 ---------- */
.page-news .tl {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}

.page-news .tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--steel);
}

.page-news .tl > li {
  position: relative;
  margin-bottom: 14px;
}

.page-news .tl > li:last-child {
  margin-bottom: 0;
}

.page-news .tl > li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border: 2px solid var(--black);
}

.page-news .tl > li:nth-child(even)::before {
  background: var(--amber);
}

.page-news .tl details {
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.page-news .tl summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

.page-news .tl summary::-webkit-details-marker {
  display: none;
}

.page-news .tl details[open] summary {
  background: var(--fog);
  border-bottom: var(--border);
}

.page-news .tl-ver {
  padding: 1px 6px;
  background: var(--ink);
  color: var(--cyan);
  border: 2px solid var(--black);
  font-size: 12px;
  font-weight: 700;
}

.page-news .tl-name {
  font-size: 16px;
}

.page-news .tl-when {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--slate);
}

.page-news .tl-body {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 回访 ---------- */
.page-news .revisit-grid {
  display: grid;
  gap: 14px;
}

.page-news .revisit-card {
  border: var(--border);
  background: var(--ice);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  transition: transform 0.16s ease;
}

.page-news .revisit-card:hover {
  transform: translateY(-3px);
}

.page-news .revisit-card .index-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--ink);
  color: var(--cyan);
  border: 2px solid var(--black);
}

.page-news .revisit-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.page-news .revisit-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .revisit-card p:last-child {
  margin-bottom: 0;
}

.page-news .text-link {
  display: inline-block;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--teal);
}

.page-news .text-link:hover,
.page-news .text-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.page-news .news-revisit .callout {
  margin-top: 18px;
}

.page-news .news-revisit .callout a {
  color: var(--teal);
  text-decoration: underline dashed;
  text-underline-offset: 3px;
}

.page-news .news-revisit .callout a:hover,
.page-news .news-revisit .callout a:focus-visible {
  color: var(--ink);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .news-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .revisit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-news .news-search-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .page-news .news-split {
    grid-template-columns: minmax(0, 1fr) var(--news-rail-w);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
  }

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

  .page-news .revisit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .notice,
  .page-news .revisit-card {
    transition: none;
  }

  .page-news .notice:hover,
  .page-news .revisit-card:hover {
    transform: none;
  }
}
