.page-news {
  --news-rail: 34px;
  background:
    radial-gradient(120% 55% at 82% -8%, rgba(168, 216, 232, .10), transparent 62%),
    var(--ink-blue);
  color: var(--paper);
}

.page-news .section {
  padding: 36px 0;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  font-family: var(--font-sans);
  font-weight: 800;
}

.page-news .kicker {
  color: var(--snow);
  font-family: var(--font-serif);
  letter-spacing: .08em;
  font-size: 14px;
  margin: 0 0 8px;
}

.page-news .section-note {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
  margin: 10px 0 0;
  max-width: 42em;
}

/* ---------- 首屏 ---------- */

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding-top: 22px;
  padding-bottom: 40px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 30%;
  height: 46%;
  background: linear-gradient(100deg, var(--ink-night), rgba(22, 35, 63, .18) 72%);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transform: skewY(-6deg);
  pointer-events: none;
}

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

.page-news .breadcrumb {
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--steel);
}

.page-news .breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(108, 126, 150, .7);
}

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

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--teal);
}

.page-news h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: .04em;
  margin: 0 0 14px;
  max-width: 20em;
}

.page-news .news-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 40em;
  margin: 0;
}

.page-news .legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 26px;
  padding: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.page-news .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-news .legend-chip {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.page-news .legend-item--entry .legend-chip { background: var(--gold); }
.page-news .legend-item--feature .legend-chip { background: var(--teal); }
.page-news .legend-item--adapt .legend-chip { background: var(--snow); }
.page-news .legend-item--doc .legend-chip { background: var(--steel); }

.page-news .news-figure {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink-night);
}

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

/* ---------- 主体双栏 ---------- */

.page-news .news-body {
  padding-bottom: 56px;
}

.page-news .news-layout {
  display: grid;
  gap: 26px;
}

.page-news .news-index {
  padding-bottom: 4px;
}

.page-news .index-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--steel);
  margin: 0 0 10px;
}

.page-news .index-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}

.page-news .index-list a {
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--text-soft);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-news .index-list a:hover,
.page-news .index-list a:focus-visible {
  color: var(--teal);
  border-color: rgba(18, 179, 154, .45);
}

.page-news .index-list a[aria-current="true"] {
  color: var(--teal);
  background: rgba(18, 179, 154, .1);
  border-color: rgba(18, 179, 154, .45);
}

.page-news .index-note {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel);
  margin: 0;
}

/* ---------- 章节骨架 ---------- */

.page-news .news-flow > section {
  padding: 0 0 44px;
  scroll-margin-top: 96px;
}

.page-news .news-flow > section + section {
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.page-news .news-flow h2 {
  font-size: 24px;
  letter-spacing: .04em;
  line-height: 1.3;
  margin: 0;
}

.page-news .news-flow h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}

/* ---------- 条目流 ---------- */

.page-news .stream {
  list-style: none;
  position: relative;
  margin: 26px 0 0;
  padding: 0;
}

.page-news .stream::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 18px;
  width: 1px;
  background: var(--line-dark);
}

.page-news .entry {
  position: relative;
  padding: 0 0 26px var(--news-rail);
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink-blue);
  border: 2px solid var(--steel);
}

.page-news .entry--fresh::before {
  border-color: var(--teal);
  background: var(--ink-blue);
  box-shadow: 0 0 0 4px rgba(18, 179, 154, .14);
}

.page-news .entry--lead::before {
  top: 22px;
}

.page-news .entry--lead .entry-body {
  background: linear-gradient(180deg, var(--ink-night), rgba(22, 35, 63, .68));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 16px 18px;
}

.page-news .entry--loose .entry-body {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

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

.page-news .entry-tag {
  border-radius: 2px;
  letter-spacing: .06em;
}

.page-news .entry-ver {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .04em;
}

.page-news .entry-time {
  font-size: 13px;
  color: var(--steel);
  margin-left: auto;
}

.page-news .entry-title {
  margin: 0 0 8px;
}

.page-news .entry-sum {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0;
}

.page-news .entry-impact {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 238, 223, .62);
  border-top: 1px dashed var(--line-dark);
  margin: 12px 0 0;
  padding-top: 10px;
}

.page-news .entry-impact .key {
  color: var(--snow);
  font-weight: 700;
}

.page-news .entry-links {
  margin: 10px 0 0;
}

.page-news .entry-links a {
  color: var(--teal);
  font-size: 13.5px;
  text-decoration: none;
}

.page-news .entry-links a:hover,
.page-news .entry-links a:focus-visible {
  text-decoration: underline;
}

/* ---------- 版本迭代 ---------- */

.page-news .news-figure--versions {
  margin: 24px 0;
}

.page-news .version-wrap {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--ink-night);
  overflow-x: auto;
}

.page-news .version-wrap .data-table {
  min-width: 620px;
}

.page-news .version-foot {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 14px 0 0;
}

/* ---------- 更新节奏（纸面卡） ---------- */

.page-news .news-cadence {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-card);
  box-shadow: 7px 7px 0 rgba(201, 194, 180, .16);
}

.page-news .cadence-grid {
  display: grid;
  gap: 22px;
}

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

.page-news .cadence-item h3 {
  font-size: 17px;
  color: var(--ink-brown);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.page-news .cadence-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(36, 28, 24, .78);
}

.page-news .cadence-tip {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gold-ink);
  border-top: 1px solid var(--sand);
  padding-top: 14px;
}

.page-news .news-figure--cadence {
  border-color: var(--sand);
  background: rgba(201, 194, 180, .25);
}

/* ---------- 回溯 ---------- */

.page-news .steps {
  list-style: none;
  counter-reset: step;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-news .step {
  position: relative;
  padding-left: 52px;
}

.page-news .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 4px 7px;
}

.page-news .step h3 {
  margin: 0 0 6px;
}

.page-news .step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-news .news-figure--archive {
  margin: 26px 0 0;
}

.page-news .archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
}

.page-news .archive-links a {
  color: var(--teal);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 179, 154, .35);
  padding-bottom: 2px;
}

.page-news .archive-links a:hover,
.page-news .archive-links a:focus-visible {
  border-bottom-color: var(--teal);
}

/* ---------- 下一步去向 ---------- */

.page-news .next-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-news .next-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--snow);
  border-radius: var(--radius-card);
  background: rgba(22, 35, 63, .55);
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}

.page-news .next-card:hover,
.page-news .next-card:focus-visible {
  border-left-color: var(--teal);
  background: var(--ink-night);
  transform: translateY(-3px);
}

.page-news .next-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .03em;
  margin-bottom: 6px;
}

.page-news .next-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-news h1 {
    font-size: 36px;
  }

  .page-news .news-flow h2 {
    font-size: 28px;
  }

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

@media (min-width: 900px) {
  .page-news .section {
    padding: 48px 0;
  }

  .page-news h1 {
    font-size: 44px;
  }

  .page-news .news-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .news-index {
    position: sticky;
    top: 104px;
    border-left: 1px solid var(--line-dark);
    padding-left: 16px;
  }

  .page-news .index-list {
    flex-direction: column;
    gap: 2px;
  }

  .page-news .index-list a {
    border-color: transparent;
    border-radius: 4px;
    padding: 7px 10px;
  }

  .page-news .cadence-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    align-items: start;
    gap: 28px;
  }

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

  .page-news .step {
    padding-left: 0;
    padding-top: 46px;
  }

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

@media (min-width: 1180px) {
  .page-news .news-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}
