.page-news {
  --news-gap: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.page-news .news-shell {
  padding-inline: clamp(16px, 4vw, 40px);
  padding-top: 20px;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news .news-h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .news-note {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ── 首屏 ───────────────────────────────── */
.page-news .news-head {
  position: relative;
  margin-top: 28px;
  padding-top: 34px;
  display: grid;
  gap: 24px;
}

.page-news .news-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(48%, 440px);
  height: 3px;
  background: var(--grad-seasons);
}

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

.page-news .news-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 200;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.page-news .news-title__main {
  display: block;
  font-size: clamp(48px, 11vw, 136px);
  font-weight: 200;
  line-height: 0.94;
}

.page-news .news-title__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.22em;
  color: var(--ink-2);
}

.page-news .news-lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
}

.page-news .news-lead a {
  color: var(--winter);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .news-lead a:hover {
  color: var(--ink);
}

.page-news .news-stat-row {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 2px solid var(--line);
}

.page-news .news-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--panel);
}

.page-news .news-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.page-news .news-stat__label {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* ── 常设栏目 ───────────────────────────── */
.page-news .news-columns,
.page-news .news-feed,
.page-news .news-topics,
.page-news .news-versions,
.page-news .news-subscribe {
  margin-top: var(--news-gap);
}

.page-news .column-grid {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  gap: 20px;
}

.page-news .column-card {
  --accent: var(--winter);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-top: 4px solid var(--accent);
  box-shadow: var(--hard-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-news .column-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
}

.page-news .column-card--spring { --accent: var(--spring); }
.page-news .column-card--summer { --accent: var(--summer); }
.page-news .column-card--autumn { --accent: var(--autumn); }
.page-news .column-card--winter { --accent: var(--winter); }

.page-news .column-card__freq {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.page-news .column-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.page-news .column-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-news .column-card__link {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--winter);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .column-card__link::after {
  content: " →";
}

.page-news .column-card__link:hover {
  color: var(--ink);
}

/* ── 条目列表 ───────────────────────────── */
.page-news .feed-rail {
  display: none;
}

.page-news .feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.page-news .feed-filter {
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-decoration: none;
  border: 2px solid var(--line);
  background: transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-news .feed-filter:first-child {
  color: var(--ink);
  border-color: var(--winter);
}

.page-news .feed-filter:hover,
.page-news .feed-filter:focus-visible {
  color: var(--ink);
  border-color: var(--winter);
  background: rgba(76, 141, 255, 0.12);
}

.page-news .feed-group {
  margin-top: 42px;
  scroll-margin-top: 96px;
}

.page-news .feed-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}

.page-news .feed-group__bar {
  display: block;
  width: 4px;
  height: 14px;
  background: var(--winter);
}

.page-news .feed-group__bar--spring { background: var(--spring); }
.page-news .feed-group__bar--summer { background: var(--summer); }
.page-news .feed-group__bar--autumn { background: var(--autumn); }
.page-news .feed-group__bar--winter { background: var(--winter); }

.page-news .feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0 22px 16px;
  border-bottom: 1px dashed var(--line);
}

.page-news .feed-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 3px;
  height: 18px;
  background: var(--grad-seasons);
  transition: height var(--dur) var(--ease);
}

.page-news .feed-item:hover::before {
  height: calc(100% - 48px);
}

.page-news .feed-item__num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-3);
  padding-top: 2px;
  transition: color var(--dur) var(--ease);
}

.page-news .feed-item:hover .feed-item__num {
  color: var(--autumn);
}

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

.page-news .feed-item__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.page-news .feed-item__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.page-news .feed-item:hover .feed-item__title {
  color: var(--winter);
}

.page-news .feed-item__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-news .feed-item--lead {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 26px;
  padding-bottom: 28px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.page-news .feed-item--lead .feed-item__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--panel-2);
  border: 2px solid var(--line);
  box-shadow: var(--hard-sm);
}

.page-news .feed-item--lead .feed-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .feed-item--lead .feed-item__num {
  font-size: 34px;
  color: var(--autumn);
}

.page-news .feed-item--lead .feed-item__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.35;
}

/* ── 专题带 ─────────────────────────────── */
.page-news .topic-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 78%);
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.page-news .topic-strip:focus-visible {
  outline: 2px solid var(--winter);
  outline-offset: 6px;
}

.page-news .topic-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .topic-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
  border-color: var(--winter);
}

.page-news .topic-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel-2);
  border-bottom: 2px solid var(--line);
}

.page-news .topic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .topic-card__plate {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-bottom: 2px solid var(--line);
}

.page-news .topic-card__plate--summer {
  background: linear-gradient(135deg, rgba(255, 138, 60, 0.42), rgba(7, 11, 20, 0.94));
}

.page-news .topic-card__plate--spring {
  background: linear-gradient(135deg, rgba(43, 224, 138, 0.38), rgba(7, 11, 20, 0.94));
}

.page-news .topic-card__plate-num {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  opacity: 0.85;
}

.page-news .topic-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 20px;
}

.page-news .topic-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.page-news .topic-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-news .topic-card__link {
  margin-top: auto;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--winter);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .topic-card__link:hover {
  color: var(--ink);
}

/* ── 版本记录 ───────────────────────────── */
.page-news .news-versions {
  display: grid;
  gap: 34px;
}

.page-news .versions-visual img {
  width: 100%;
  border: 2px solid var(--line);
  box-shadow: var(--hard-sm);
}

.page-news .versions-cap {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.page-news .ver-item {
  margin-top: 12px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-sm);
  transition: border-color var(--dur) var(--ease);
}

.page-news .ver-item[open] {
  border-color: var(--winter);
}

.page-news .ver-item__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-news .ver-item__head::-webkit-details-marker {
  display: none;
}

.page-news .ver-item__ver {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--autumn);
}

.page-news .ver-item__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .ver-item__when {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.page-news .ver-item__body {
  padding: 16px 18px 20px;
  border-top: 1px dashed var(--line);
}

.page-news .ver-item__body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-news .ver-item__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-news .ver-item__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.page-news .ver-item__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 2px;
  background: var(--grad-seasons);
}

/* ── 订阅 ───────────────────────────────── */
.page-news .subscribe-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard);
}

.page-news .subscribe-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-seasons);
}

.page-news .subscribe-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 60% 40%, rgba(76, 141, 255, 0.2), rgba(7, 11, 20, 0) 70%);
  pointer-events: none;
}

.page-news .subscribe-panel > * {
  position: relative;
  z-index: 1;
}

.page-news .subscribe-panel .eyebrow {
  margin: 0;
}

.page-news .subscribe-panel p {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-news .subscribe-panel p a {
  color: var(--winter);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

/* ── 断点 ───────────────────────────────── */
@media (min-width: 760px) {
  .page-news .feed-item--lead {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    column-gap: 28px;
    align-items: center;
  }

  .page-news .topic-strip {
    grid-auto-columns: minmax(300px, 360px);
  }
}

@media (min-width: 900px) {
  .page-news .news-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 72px);
    align-items: end;
  }

  .page-news .news-head__kicker {
    grid-column: 1 / -1;
  }

  .page-news .news-title {
    grid-column: 1;
  }

  .page-news .news-head__aside {
    grid-column: 2;
    padding-bottom: 10px;
  }
}

@media (min-width: 980px) {
  .page-news .news-versions {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .page-news .news-feed {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
  }

  .page-news .feed-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .page-news .feed-rail__word {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--ink-3);
  }

  .page-news .feed-rail__bar {
    flex: 1 1 auto;
    width: 3px;
    min-height: 140px;
    background: var(--grad-seasons);
  }
}

@media (max-width: 620px) {
  .page-news .feed-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .page-news .feed-item__num {
    font-size: 24px;
  }

  .page-news .feed-item--lead .feed-item__num {
    font-size: 26px;
  }

  .page-news .feed-item--lead {
    padding-left: 14px;
    padding-right: 4px;
  }

  .page-news .feed-filter {
    padding: 6px 11px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .column-card,
  .page-news .topic-card,
  .page-news .feed-item::before,
  .page-news .feed-item__num,
  .page-news .feed-item__title {
    transition: none;
  }

  .page-news .column-card:hover,
  .page-news .topic-card:hover {
    transform: none;
  }
}
