.page-news {
  color: var(--paper);
  background:
    radial-gradient(1100px 560px at 84% -8%, rgba(227, 178, 75, 0.10), transparent 62%),
    radial-gradient(900px 520px at -6% 26%, rgba(46, 140, 122, 0.10), transparent 66%);
}

.page-news section[id] {
  scroll-margin-top: 96px;
}

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

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

.news-hero {
  padding-top: clamp(18px, 3vw, 34px);
}

.news-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.news-hero__title {
  margin: 14px 0 0;
  font-size: var(--fs-xl);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.news-hero__kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--gold);
}

.news-hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(243, 239, 230, 0.9);
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.news-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.news-stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: var(--ink-2);
}

.news-stats__num {
  font-family: var(--mono);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1;
  color: var(--gold);
}

.news-stats__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--stone);
}

.news-hero__side {
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
  padding: 16px 0 18px;
}

.news-index__coord {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: var(--stone);
}

.news-index__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-index__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 8px;
  font-size: var(--fs-sm);
  color: var(--stone);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.news-index__list a:hover,
.news-index__list a:focus-visible {
  color: var(--gold-soft);
  border-left-color: var(--gold);
  background: rgba(227, 178, 75, 0.07);
}

.news-index__list a[aria-current="true"] {
  color: var(--gold);
  border-left-color: var(--gold);
}

.news-index__num {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--stone);
}

/* ---------- 章节标题 ---------- */

.news-block-head {
  max-width: 36em;
}

.news-block-head__title {
  margin: 12px 0 0;
  font-size: var(--fs-lg);
  font-weight: 900;
  line-height: 1.2;
  color: var(--paper);
}

.news-block-head__note {
  margin: 14px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- 时间轴与侧栏 ---------- */

.news-ledger__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.news-ledger__banner {
  margin: 26px 0 0;
  aspect-ratio: 16 / 6;
}

.news-ledger__banner img,
.news-entries__figure img,
.news-cadence__figure img,
.news-digest__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.news-timeline {
  position: relative;
  margin: 34px 0 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.news-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--line-strong) 18%, var(--line) 100%);
}

.news-timeline__item {
  position: relative;
  padding-bottom: 12px;
}

.news-timeline__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 24px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--stone);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.news-timeline__item--now::before {
  background: var(--cinnabar);
  box-shadow: 0 0 0 4px rgba(210, 80, 60, 0.2);
}

.news-timeline__item:has(.news-node[open])::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(227, 178, 75, 0.16);
}

.news-node {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 42, 78, 0.72), rgba(14, 27, 51, 0.72));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.news-node[open] {
  border-color: rgba(227, 178, 75, 0.46);
}

.news-node__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.news-node__head::-webkit-details-marker {
  display: none;
}

.news-node__time {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--gold);
}

.news-node__title {
  flex: 1 1 100%;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.news-node__body {
  padding: 0 18px 18px;
}

.news-node__body p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: rgba(243, 239, 230, 0.82);
}

.news-ledger__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.news-summary {
  padding: 24px 22px;
  background: var(--ink-2);
  border-color: var(--line);
}

.news-summary--alt {
  background: rgba(24, 42, 78, 0.55);
}

.news-summary__coord {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--jade);
}

.news-summary__title {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
  color: var(--paper);
}

.news-summary__text {
  margin: 12px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: rgba(243, 239, 230, 0.8);
}

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

.news-summary__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--paper);
}

.news-summary__mark {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  transform: rotate(45deg);
  background: var(--gold);
}

.news-summary__btn {
  margin-top: 22px;
}

.news-summary__link {
  display: inline-block;
  margin-top: 18px;
  font-size: var(--fs-sm);
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 入口对照表 ---------- */

.news-entries__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.news-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: rgba(24, 42, 78, 0.5);
  -webkit-overflow-scrolling: touch;
}

.news-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.news-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--stone);
}

.news-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
}

.news-table thead th:first-child {
  left: 0;
  z-index: 3;
}

.news-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 14px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.news-table tbody td {
  padding: 14px;
  vertical-align: top;
  line-height: 1.7;
  color: rgba(243, 239, 230, 0.82);
  border-top: 1px solid var(--line);
}

.news-table tbody tr:nth-child(even) td {
  background: rgba(14, 27, 51, 0.42);
}

.news-table tbody tr:hover th,
.news-table tbody tr:hover td {
  background: rgba(227, 178, 75, 0.08);
}

.news-entries__figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

.news-entries__caption {
  margin-top: 12px;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 更新节奏 ---------- */

.news-cadence__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.news-cadence__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-left: 2px solid var(--gold);
}

.news-cadence__lead {
  margin: 16px 0 0;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(243, 239, 230, 0.88);
}

.news-cadence__facts {
  display: grid;
  gap: 1px;
  margin: 26px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.news-cadence__facts > div {
  padding: 16px 18px;
  background: var(--ink-2);
}

.news-cadence__facts dt {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--stone);
}

.news-cadence__facts dd {
  margin: 8px 0 0;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--paper);
}

.news-cadence__note {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--jade);
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- 速览卡片 ---------- */

.news-digest__figure {
  margin: 26px 0 0;
  aspect-ratio: 3 / 2;
}

.news-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 80%);
  gap: 16px;
  margin: 24px 0 0;
  padding: 4px 4px 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.news-cards:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  scroll-snap-align: start;
}

.news-card__tag {
  align-self: flex-start;
}

.news-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--paper);
}

.news-card__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(243, 239, 230, 0.78);
}

/* ---------- 反馈 ---------- */

.news-feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.news-feedback__lead {
  margin: 16px 0 0;
  max-width: 32em;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(243, 239, 230, 0.86);
}

.news-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.news-faq {
  border-top: 1px solid var(--line-strong);
}

.news-faq details {
  border-bottom: 1px solid var(--line);
}

.news-faq summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

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

.news-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: var(--fs-body);
  color: var(--gold);
}

.news-faq details[open] summary::after {
  content: "−";
}

.news-faq__body {
  padding: 0 0 20px;
}

.news-faq__body p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: rgba(243, 239, 230, 0.82);
}

.news-link {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-link:hover,
.news-link:focus-visible {
  color: var(--gold);
}

/* ---------- 断点 ---------- */

@media (min-width: 700px) {
  .news-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .news-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 48px;
    align-items: start;
  }

  .news-hero__side {
    margin-top: 6px;
  }

  .news-entries__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
    align-items: start;
  }

  .news-cadence__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 44px;
  }

  .news-feedback__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
  }

  .news-cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding: 4px 0 0;
  }
}

@media (min-width: 1024px) {
  .news-ledger__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 48px;
    align-items: start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-news .news-node,
  .page-news .news-index__list a,
  .page-news .news-timeline__item::before {
    transition: none;
  }
}
