.page-news {
  --news-gap: clamp(18px, 2.4vw, 32px);
  --news-track: 1px solid var(--c-line);
  background-color: var(--c-paper);
  background-image:
    linear-gradient(to right, rgba(200, 189, 166, 0.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 189, 166, 0.32) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.75;
  padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 88px);
}

.page-news .news-shell {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 64px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  display: grid;
  gap: var(--news-gap);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(18px, 3vw, 32px);
}

.page-news .news-hero__main h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-48);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--c-black);
  margin: 10px 0 0;
  max-width: 20ch;
}

.page-news .news-hero__lead {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: var(--fs-18);
  color: var(--c-ink);
}

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

.page-news .news-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--news-track);
  background: var(--c-panel);
  align-content: start;
}

.page-news .news-metric {
  padding: 16px 14px;
  border-bottom: var(--news-track);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-metric:nth-child(odd) {
  border-right: var(--news-track);
}

.page-news .news-metric__num {
  font-family: var(--font-mono);
  font-size: var(--fs-28);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-red);
  letter-spacing: -0.01em;
}

.page-news .news-metric__label {
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--c-ink);
  opacity: 0.78;
}

.page-news .news-metric--wide {
  grid-column: 1 / -1;
  border-right: 0;
  background: var(--c-red);
}

.page-news .news-metric--wide .news-metric__num {
  font-size: var(--fs-22);
  color: var(--c-gold-bright);
}

.page-news .news-metric--wide .news-metric__label {
  color: var(--c-paper);
  opacity: 0.9;
}

.page-news .news-hero__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  font-size: var(--fs-14);
  color: var(--c-ink);
  background: var(--c-paper);
  border-top: var(--news-track);
}

/* ---------- 区块通用 ---------- */
.page-news .news-section {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
}

.page-news .news-section__head {
  max-width: 62ch;
}

.page-news .news-section__head .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-36);
  line-height: 1.25;
  color: var(--c-black);
  margin: 8px 0 0;
}

.page-news .news-section__intro {
  margin: 12px 0 0;
  max-width: 38ch;
  font-size: var(--fs-16);
  color: var(--c-ink);
}

.page-news .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.page-news .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-gold);
}

/* ---------- 栏目标签墙 ---------- */
.page-news .news-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: var(--news-track);
}

.page-news .news-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px 16px;
  background: var(--c-paper);
  color: var(--c-ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  min-height: 96px;
}

.page-news .news-tile--lv1 { background: var(--c-panel); }
.page-news .news-tile--lv2 { background: #F0E8D7; }
.page-news .news-tile--lv3 { background: var(--c-paper); }

.page-news .news-tile__no {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-gold);
  letter-spacing: 0.1em;
}

.page-news .news-tile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.3;
  color: var(--c-black);
}

.page-news .news-tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-ink);
}

.page-news .news-tile__count {
  color: var(--c-red);
  font-weight: 700;
}

.page-news .news-tile__freq {
  opacity: 0.72;
}

.page-news .news-tile:hover,
.page-news .news-tile:focus-visible {
  background: var(--c-red-deep);
  border-left-color: var(--c-gold-bright);
}

.page-news .news-tile:hover .news-tile__name,
.page-news .news-tile:focus-visible .news-tile__name {
  color: var(--c-paper);
}

.page-news .news-tile:hover .news-tile__count,
.page-news .news-tile:focus-visible .news-tile__count {
  color: var(--c-gold-bright);
}

.page-news .news-tile:hover .news-tile__no,
.page-news .news-tile:hover .news-tile__freq,
.page-news .news-tile:focus-visible .news-tile__no,
.page-news .news-tile:focus-visible .news-tile__freq {
  color: var(--c-paper);
  opacity: 0.85;
}

/* ---------- 快查 ---------- */
.page-news .news-quick {
  display: grid;
  gap: var(--news-gap);
}

.page-news .news-quick__figure {
  margin: 0;
  border: var(--news-track);
  background: var(--c-panel);
  overflow: hidden;
}

.page-news .news-quick__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-news .news-quick__list {
  display: grid;
  gap: 12px;
}

.page-news .news-quick__card {
  border: var(--news-track);
  border-left: 3px solid var(--c-gold);
  background: var(--c-paper);
  padding: 16px 16px 18px;
  display: grid;
  gap: 6px;
}

.page-news .news-quick__code {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--c-gold);
}

.page-news .news-quick__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-22);
  line-height: 1.3;
  color: var(--c-black);
}

.page-news .news-quick__card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--c-ink);
}

.page-news .news-quick__link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
}

.page-news .news-quick__link:hover,
.page-news .news-quick__link:focus-visible {
  color: var(--c-red-deep);
  border-bottom-color: var(--c-red);
}

/* ---------- 条目列表 ---------- */
.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--news-track);
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0 18px;
  border-bottom: var(--news-track);
  border-left: 3px solid transparent;
  padding-left: 0;
  transition: border-color 0.18s ease, padding-left 0.18s ease;
}

.page-news .news-item__code {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--c-gold);
}

.page-news .news-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.page-news .news-item__time {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-ink);
  opacity: 0.7;
}

.page-news .news-item__body h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--c-black);
  border-bottom: 1px solid transparent;
  display: inline;
}

.page-news .news-item__body p {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: var(--fs-14);
  line-height: 1.72;
  color: var(--c-ink);
}

.page-news .news-item__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: var(--news-track);
  margin-top: 4px;
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  border-left-color: var(--c-red);
  padding-left: 12px;
}

.page-news .news-item:hover .news-item__body h3,
.page-news .news-item:focus-within .news-item__body h3 {
  border-bottom-color: var(--c-gold);
}

.page-news .news-list__foot {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--c-ink);
}

.page-news .news-list__foot a {
  color: var(--c-red);
  margin-left: 6px;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
}

.page-news .news-list__foot a:hover,
.page-news .news-list__foot a:focus-visible {
  border-bottom-color: var(--c-gold);
}

/* ---------- 专题 ---------- */
.page-news .news-section--topics {
  background: var(--c-panel);
  border-top: 3px solid var(--c-red);
  border-bottom: var(--news-track);
  padding: clamp(18px, 3vw, 32px) clamp(14px, 2.4vw, 28px);
  margin-inline: calc(var(--gutter) * -0.5);
}

.page-news .news-topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .news-topics__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold) transparent;
}

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

.page-news .news-topic {
  flex: 0 0 min(84vw, 320px);
  scroll-snap-align: start;
  border: var(--news-track);
  background: var(--c-paper);
  display: flex;
  flex-direction: column;
}

.page-news .news-topic__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: var(--news-track);
}

.page-news .news-topic__body {
  padding: 14px 14px 18px;
  display: grid;
  gap: 8px;
}

.page-news .news-topic__no {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--c-red);
}

.page-news .news-topic__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-22);
  line-height: 1.3;
  color: var(--c-black);
}

.page-news .news-topic__body p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--c-ink);
}

.page-news .news-topic__prog {
  height: 5px;
  background: var(--c-line);
  border-radius: 0;
  overflow: hidden;
}

.page-news .news-topic__bar {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--c-red), var(--c-gold-bright));
}

.page-news .news-topic__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-ink);
  letter-spacing: 0.06em;
}

.page-news .news-topics__hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--c-ink);
  opacity: 0.7;
}

/* ---------- 索引与变更 ---------- */
.page-news .news-guide {
  display: grid;
  gap: var(--news-gap);
}

.page-news .news-guide__read {
  border: var(--news-track);
  background: var(--c-black);
  color: var(--c-paper);
  padding: 18px 16px 20px;
  display: grid;
  gap: 14px;
}

.page-news .news-guide__sample {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-36);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-gold-bright);
  line-height: 1.1;
}

.page-news .news-guide__parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--c-paper);
}

.page-news .news-guide__parts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 240, 227, 0.18);
}

.page-news .news-guide__parts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .news-guide__k {
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  color: var(--c-gold-bright);
  flex: 0 0 auto;
}

.page-news .news-guide__tip {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--c-paper);
  border-left: 3px solid var(--c-red);
  padding-left: 12px;
}

.page-news .news-guide__changes h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-22);
  color: var(--c-black);
}

.page-news .news-table {
  border: var(--news-track);
  background: var(--c-paper);
}

.page-news .news-table__head,
.page-news .news-table__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 14px;
  border-bottom: var(--news-track);
}

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

.page-news .news-table__head {
  background: var(--c-ink);
  color: var(--c-gold-bright);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  border-bottom: 0;
}

.page-news .news-table__row {
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--c-ink);
}

.page-news .news-table__row:nth-child(odd) {
  background: var(--c-panel);
}

.page-news .news-table__row span:first-child {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-red);
  letter-spacing: 0.04em;
}

.page-news .news-table__row span:nth-child(2) {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  opacity: 0.75;
}

/* ---------- 结尾 ---------- */
.page-news .news-cta {
  display: grid;
  gap: 18px;
  border-top: 3px solid var(--c-red);
  border-bottom: var(--news-track);
  background: var(--c-panel);
  padding: clamp(20px, 3vw, 32px);
  margin-inline: calc(var(--gutter) * -0.5);
}

.page-news .news-cta__text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-28);
  line-height: 1.3;
  color: var(--c-black);
}

.page-news .news-cta__text p {
  margin: 10px 0 0;
  max-width: 42ch;
  font-size: var(--fs-16);
  color: var(--c-ink);
}

.page-news .news-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 中等屏 ---------- */
@media (min-width: 640px) {
  .page-news .news-item {
    grid-template-columns: 1fr;
  }

  .page-news .news-table__head,
  .page-news .news-table__row {
    grid-template-columns: 1.1fr 0.8fr 2.1fr;
    gap: 12px;
    align-items: baseline;
  }

  .page-news .news-item--media {
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: start;
    column-gap: 18px;
  }

  .page-news .news-item--media .news-item__thumb {
    margin-top: 0;
    grid-row: 1;
    grid-column: 2;
  }

  .page-news .news-item--media .news-item__body {
    grid-column: 1;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

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

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

  .page-news .news-tile:nth-child(1),
  .page-news .news-tile:nth-child(8),
  .page-news .news-tile:nth-child(9),
  .page-news .news-tile:nth-child(10) {
    grid-column: span 2;
  }

  .page-news .news-quick {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-news .news-quick__figure {
    position: sticky;
    top: 16px;
  }

  .page-news .news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 44px);
    border-top: 0;
  }

  .page-news .news-item {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 16px;
    border-top: var(--news-track);
  }

  .page-news .news-item__code {
    grid-column: 1;
    grid-row: 1;
    padding-top: 2px;
  }

  .page-news .news-item__body {
    grid-column: 2;
  }

  .page-news .news-item--media {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .page-news .news-item--media .news-item__thumb {
    grid-column: 2;
    grid-row: 2;
    margin-top: 10px;
    max-width: 320px;
  }

  .page-news .news-item--media .news-item__body {
    grid-row: 1;
    grid-column: 2;
  }

  .page-news .news-guide {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-news .news-guide__read {
    position: sticky;
    top: 16px;
  }

  .page-news .news-topic {
    flex-basis: 300px;
  }

  .page-news .news-cta {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .page-news .news-section--topics {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero__main h1 {
    font-size: var(--fs-64);
  }

  .page-news .news-section__head .section-title {
    font-size: var(--fs-36);
  }
}

.page-news {
  --p: 1rem;
}
