.page-news {
  --news-rail: 232px;
  --news-indent: 58px;
  background: var(--snow);
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding: clamp(26px, 4vw, 56px) 0 clamp(30px, 4vw, 52px);
  background:
    linear-gradient(180deg, var(--ice-pale) 0%, rgba(221, 239, 244, .35) 58%, var(--snow) 100%);
  border-bottom: 1px solid var(--line);
}

.page-news .news-hero__grid {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  margin-top: clamp(18px, 3vw, 34px);
}

.page-news .news-hero__lead h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 7.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--ink);
  max-width: 15em;
}

.page-news .news-hero__mark {
  color: var(--maple);
  position: relative;
  white-space: nowrap;
}

.page-news .news-hero__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: 6px;
  background: var(--gold);
  opacity: .55;
  z-index: -1;
}

.page-news .news-hero__lead .lede {
  margin-top: 18px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--deep);
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-news .news-hero__figure {
  margin: 0;
}

.page-news .news-hero__figure .figure__frame {
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

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

/* ---------- 版本时间轴 ---------- */
.page-news .news-timeline {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(18px, 2.4vw, 26px) 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 18px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-news .news-timeline__item {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.page-news .news-timeline__item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.page-news .news-timeline__item--live::before {
  background: var(--maple);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .16);
}

.page-news .news-timeline__ver {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--deep);
}

.page-news .news-timeline__item--live .news-timeline__ver {
  color: var(--maple);
}

.page-news .news-timeline__label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.page-news .news-timeline__when {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--slate);
}

/* ---------- 本期维护重点 ---------- */
.page-news .news-highlights {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-news .news-highlight {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ice);
}

.page-news .news-highlight--gold {
  border-top-color: var(--gold);
}

.page-news .news-highlight--maple {
  border-top-color: var(--maple);
}

.page-news .news-highlight__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--deep);
}

.page-news .news-highlight--gold .news-highlight__num {
  color: var(--gold-ink);
}

.page-news .news-highlight--maple .news-highlight__num {
  color: var(--maple);
}

.page-news .news-highlight__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-highlight p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .news-highlight__link {
  justify-self: start;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--maple);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 57, 43, .4);
  padding-bottom: 2px;
}

.page-news .news-highlight__link:hover,
.page-news .news-highlight__link:focus-visible {
  color: var(--maple-hot);
  border-bottom-color: var(--maple-hot);
}

/* ---------- 编辑部目录 ---------- */
.page-news .news-desk__layout {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-news .news-desk__rail {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-desk__rail-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--slate);
}

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

.page-news .filter-btn {
  appearance: none;
  cursor: pointer;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  letter-spacing: .04em;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-news .filter-btn:hover {
  border-color: var(--maple);
  color: var(--maple);
}

.page-news .filter-btn[aria-pressed="true"] {
  background: var(--maple);
  border-color: var(--maple);
  color: var(--paper);
}

.page-news .news-desk__hint {
  margin: 2px 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate);
}

.page-news .news-desk__hint a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .filter-item[hidden] {
  display: none;
}

.page-news .news-entry {
  border-top: 1px solid var(--line);
  animation: news-entry-in .28s ease both;
}

.page-news .news-entry:last-child {
  border-bottom: 1px solid var(--line);
}

@keyframes news-entry-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.page-news .news-entry__details > summary {
  list-style: none;
  cursor: pointer;
}

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

.page-news .news-entry__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  background: transparent;
}

.page-news .news-entry__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--slate);
}

.page-news .news-entry__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.page-news .news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .news-entry__when {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--slate);
}

.page-news .news-entry__title {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s ease;
}

.page-news .news-entry__head:hover .news-entry__title {
  color: var(--ice);
}

.page-news .news-entry__sum {
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .news-entry__sign {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.page-news .news-entry__sign::before,
.page-news .news-entry__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--maple);
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.page-news .news-entry__sign::before { width: 10px; height: 1.5px; }
.page-news .news-entry__sign::after { width: 1.5px; height: 10px; }

.page-news .news-entry__details[open] .news-entry__sign::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(.2);
}

.page-news .news-entry__details[open] .news-entry__sign {
  border-color: var(--maple);
  background: rgba(192, 57, 43, .06);
}

.page-news .news-entry__body {
  padding: 2px 0 24px;
  animation: news-body-in .26s ease both;
}

@keyframes news-body-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}

.page-news .news-entry__body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.page-news .news-entry__body ul {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-news .news-entry__body li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--deep);
}

.page-news .news-entry__body li::marker {
  color: var(--gold-ink);
}

.page-news .news-entry__links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

/* ---------- 版本说明 ---------- */
.page-news .news-versions__grid {
  margin-top: clamp(24px, 3vw, 36px);
  align-items: start;
}

.page-news .news-versions__copy .prose p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.page-news .news-version-rules {
  margin: 24px 0 0;
  border-top: 1px solid var(--line-strong);
}

.page-news .news-version-rules__row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-version-rules__term {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-version-rules__pos {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  background: var(--ice-pale);
  padding: 2px 7px;
}

.page-news .news-version-rules__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .news-versions__more {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.page-news .news-versions__more a {
  color: var(--maple);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 57, 43, .4);
  padding-bottom: 2px;
}

.page-news .news-versions__more a:hover,
.page-news .news-versions__more a:focus-visible {
  color: var(--maple-hot);
}

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

.page-news .news-versions__figure .figure__frame {
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.page-news .news-versions__figure img,
.page-news .news-series__figure img,
.page-news .news-next__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 专题系列 ---------- */
.page-news .news-series__grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-news .news-series__list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-news .news-series__item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ice);
  text-decoration: none;
  color: inherit;
  transition: border-left-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.page-news .news-series__item:hover,
.page-news .news-series__item:focus-visible {
  border-left-color: var(--maple);
  transform: translateX(3px);
  box-shadow: 0 6px 18px rgba(11, 31, 42, .07);
}

.page-news .news-series__badge {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold-ink);
}

.page-news .news-series__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-series__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .news-series__figure {
  margin: 0;
}

.page-news .news-series__frame {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

/* ---------- 回看与跟进 ---------- */
.page-news .news-next__grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-news .news-next__figure {
  margin: 0;
}

.page-news .news-next__figure .figure__frame {
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.page-news .news-next__links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-news .news-next__card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 3px 12px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, background .2s ease;
}

.page-news .news-next__card:hover,
.page-news .news-next__card:focus-visible {
  border-color: var(--maple);
  background: rgba(192, 57, 43, .04);
}

.page-news .news-next__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--gold-ink);
}

.page-news .news-next__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-next__text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-news .news-next__top {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .04em;
}

.page-news .news-next__top a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.page-news .news-next__top a:hover,
.page-news .news-next__top a:focus-visible {
  color: var(--maple);
  border-bottom-color: var(--maple);
}

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

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: end;
  }

  .page-news .news-entry__head {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 16px;
    padding: 22px 0;
  }

  .page-news .news-entry__title {
    font-size: 19px;
  }

  .page-news .news-entry__body {
    padding-left: var(--news-indent);
  }

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

@media (min-width: 960px) {
  .page-news .news-desk__layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-desk__rail {
    position: sticky;
    top: 96px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    padding-left: 18px;
    padding-bottom: 0;
  }

  .page-news .news-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .page-news .filter-btn {
    text-align: left;
  }

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

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

  .page-news .news-versions__figure {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-entry,
  .page-news .news-entry__body,
  .page-news .news-series__item,
  .page-news .filter-btn,
  .page-news .news-entry__sign::before,
  .page-news .news-entry__sign::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
