.page-news {
  --news-hair: rgba(244, 241, 234, .14);
  --news-hair-strong: rgba(244, 241, 234, .28);
  --news-hair-ink: rgba(11, 18, 32, .14);
  --news-soft: rgba(244, 241, 234, .05);
  background: var(--indigo-950);
  color: var(--paper);
}

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

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding-top: clamp(96px, 14vh, 176px);
  padding-bottom: clamp(22px, 4vw, 40px);
}

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

.page-news .news-hero__head .h-page {
  margin: .12em 0 0;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: .98;
}

.page-news .news-hero__side .lede {
  max-width: 42ch;
  color: var(--paper-80);
}

.page-news .news-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--news-hair);
}

.page-news .news-fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--paper-60);
  margin-bottom: 8px;
}

.page-news .news-fact dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-news .news-fact:first-child dd {
  color: var(--cyan);
}

/* ---------- 顶部横幅 ---------- */
.page-news .news-banner {
  padding-top: clamp(6px, 1.6vw, 18px);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-news .news-banner .figure__frame {
  border-radius: clamp(20px, 3vw, 36px);
  overflow: hidden;
}

.page-news .news-banner .figure__img {
  width: 100%;
  object-fit: cover;
}

.page-news .news-banner .figure__caption,
.page-news .news-strip .figure__caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--paper-60);
}

/* ---------- 归档板 ---------- */
.page-news .news-board {
  background: linear-gradient(180deg, var(--indigo-950) 0%, var(--indigo-800) 14%, var(--indigo-800) 100%);
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  padding: clamp(44px, 8vw, 96px) 0 clamp(52px, 9vw, 104px);
}

.page-news .news-board__head {
  max-width: 60ch;
  margin-bottom: clamp(20px, 3.2vw, 34px);
}

.page-news .news-board__head .h-section {
  margin: .28em 0 .5em;
  font-weight: 300;
  letter-spacing: -.015em;
}

.page-news .news-board__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-60);
  max-width: 46ch;
}

/* 筛选控件 */
.page-news .news-board__inner {
  position: relative;
}

.page-news .news-filter__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-news .news-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(22px, 3.4vw, 38px);
}

.page-news .news-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--news-hair);
  background: transparent;
  color: var(--paper-80);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease);
}

.page-news .news-filter__pill:hover {
  border-color: var(--paper-40);
  color: var(--paper);
}

.page-news .news-filter__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.page-news .news-filter__dot--all { background: var(--paper-60); }
.page-news .news-filter__dot--scope { background: var(--cyan); }
.page-news .news-filter__dot--schedule { background: var(--orange); }
.page-news .news-filter__dot--network { background: var(--violet); }
.page-news .news-filter__dot--version { background: var(--orange-soft); }
.page-news .news-filter__dot--feature { background: var(--warm-gray); }

.page-news #ncat-all:checked ~ .news-filter__bar [for="ncat-all"],
.page-news #ncat-scope:checked ~ .news-filter__bar [for="ncat-scope"],
.page-news #ncat-schedule:checked ~ .news-filter__bar [for="ncat-schedule"],
.page-news #ncat-network:checked ~ .news-filter__bar [for="ncat-network"],
.page-news #ncat-version:checked ~ .news-filter__bar [for="ncat-version"],
.page-news #ncat-feature:checked ~ .news-filter__bar [for="ncat-feature"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}

.page-news #ncat-scope:checked ~ .news-list .news-item:not([data-cat="scope"]),
.page-news #ncat-schedule:checked ~ .news-list .news-item:not([data-cat="schedule"]),
.page-news #ncat-network:checked ~ .news-list .news-item:not([data-cat="network"]),
.page-news #ncat-version:checked ~ .news-list .news-item:not([data-cat="version"]),
.page-news #ncat-feature:checked ~ .news-list .news-item:not([data-cat="feature"]) {
  display: none;
}

/* 条目列表 */
.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(13px, 1.8vw, 22px);
}

.page-news .news-item {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--news-hair);
  border-radius: clamp(20px, 2.4vw, var(--radius));
  background: var(--news-soft);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  border-color: var(--news-hair-strong);
  background: rgba(244, 241, 234, .08);
}

.page-news .news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.page-news .news-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.page-news .news-mark--scope { color: var(--cyan); }
.page-news .news-mark--schedule { color: var(--orange); }
.page-news .news-mark--network { color: var(--violet); }
.page-news .news-mark--version { color: var(--orange-soft); }
.page-news .news-mark--feature { color: var(--warm-gray); }

.page-news .news-item__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--paper-60);
  white-space: nowrap;
  transition: transform .3s var(--ease);
}

.page-news .news-item__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--paper);
  transition: transform .3s var(--ease);
}

.page-news .news-item__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--paper-60);
}

.page-news .news-item:hover .news-item__time,
.page-news .news-item:hover .news-item__title {
  transform: translateX(6px);
}

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

.page-news .news-item__media .figure__frame {
  height: 100%;
  min-height: 168px;
  border-radius: clamp(14px, 1.8vw, 22px);
  overflow: hidden;
}

.page-news .news-item__media .figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 本周关注（米白阅读面） ---------- */
.page-news .news-watch {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  background: var(--paper);
  color: var(--ink);
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  padding: clamp(46px, 8vw, 92px) 0 clamp(36px, 6vw, 68px);
}

.page-news .news-watch .eyebrow {
  color: var(--warm-gray);
}

.page-news .news-watch__head {
  margin-bottom: clamp(22px, 3.4vw, 38px);
}

.page-news .news-watch__head .h-section {
  margin: .28em 0 0;
  font-weight: 300;
  letter-spacing: -.015em;
}

.page-news .news-watch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--news-hair-ink);
}

.page-news .news-watch__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 3vw, 34px);
  align-items: baseline;
  padding: clamp(18px, 2.6vw, 28px) 0;
  border-bottom: 1px solid var(--news-hair-ink);
}

.page-news .news-watch__idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--warm-gray);
}

.page-news .news-watch__text {
  margin: 0;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  max-width: 46ch;
}

.page-news .news-watch__hl {
  color: var(--cyan-ink);
  font-weight: 600;
}

/* ---------- 回看与订阅 ---------- */
.page-news .news-recall {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(20px, 3vw, 40px) 0 clamp(52px, 8vw, 96px);
}

.page-news .news-recall__grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr);
}

.page-news .news-recall .eyebrow {
  color: var(--warm-gray);
}

.page-news .news-recall .h-section {
  margin: .28em 0 clamp(18px, 2.6vw, 28px);
  font-weight: 300;
  letter-spacing: -.015em;
}

.page-news .news-recall .h-sub {
  margin: .3em 0 clamp(14px, 2vw, 20px);
  font-weight: 500;
}

.page-news .news-recall__links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--news-hair-ink);
}

.page-news .news-recall__links li {
  border-bottom: 1px solid var(--news-hair-ink);
}

.page-news .news-recall__links .link-index {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
  transition: color .24s var(--ease), transform .24s var(--ease);
}

.page-news .news-recall__links .link-index:hover,
.page-news .news-recall__links .link-index:focus-visible {
  color: var(--cyan-ink);
  transform: translateX(6px);
}

.page-news .news-recall__col--side {
  padding: clamp(22px, 3vw, 34px);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(150deg, rgba(0, 229, 199, .12) 0%, rgba(255, 107, 53, .10) 100%);
  border: 1px solid var(--news-hair-ink);
}

.page-news .news-recall__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  max-width: 40ch;
}

.page-news .news-recall__text--small {
  margin: 0;
  font-size: 13px;
  color: var(--warm-gray);
}

.page-news .news-recall__mail {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--cyan-ink);
  word-break: break-all;
}

/* ---------- 底部窄带 ---------- */
.page-news .news-strip {
  background: var(--indigo-950);
  padding: clamp(44px, 8vw, 88px) 0 clamp(48px, 8vw, 92px);
}

.page-news .news-strip .figure__frame {
  border-radius: clamp(20px, 3vw, 36px);
  overflow: hidden;
}

.page-news .news-strip .figure__img {
  width: 100%;
  object-fit: cover;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-news .news-recall__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 860px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(32px, 6vw, 76px);
  }

  .page-news .news-item--half {
    grid-column: span 6;
  }

  .page-news .news-item--media {
    grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
    align-items: stretch;
  }

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

@media (min-width: 1080px) {
  .page-news .news-list {
    padding-left: 26px;
    border-left: 1px solid var(--news-hair);
  }

  .page-news .news-item--mid {
    grid-column: 5 / span 8;
  }
}

@media (max-width: 619px) {
  .page-news .news-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-news .news-fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .page-news .news-fact dt {
    margin-bottom: 0;
  }

  .page-news .news-item__meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-filter__pill,
  .page-news .news-item,
  .page-news .news-item__time,
  .page-news .news-item__title,
  .page-news .news-recall__links .link-index {
    transition-duration: .12s;
  }

  .page-news .news-item:hover .news-item__time,
  .page-news .news-item:hover .news-item__title,
  .page-news .news-recall__links .link-index:hover,
  .page-news .news-recall__links .link-index:focus-visible {
    transform: none;
  }
}
