.page-news {
  --cat-log: var(--flesh);
  --cat-observe: var(--sprout);
  --cat-feature: var(--orange);
  --cat-note: var(--yellow);
  --line: rgba(16, 22, 15, .16);
  --muted: rgba(16, 22, 15, .62);
  --cat: var(--flesh);
}

.page-news .breadcrumb {
  padding: 20px 0 2px;
}

/* ============ 首屏 ============ */
.page-news .hero {
  padding: 10px 0 clamp(38px, 6vw, 72px);
}

.page-news .hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-news .hero__lead {
  position: relative;
  z-index: 2;
}

.page-news .hero__lead .eyebrow {
  margin: 0 0 16px;
  color: var(--leaf);
  letter-spacing: .2em;
}

.page-news .hero .display {
  margin: 0 0 20px;
  font-size: clamp(56px, 13vw, 132px);
  line-height: .86;
  letter-spacing: -.045em;
  font-weight: 200;
}

.page-news .hero .display span,
.page-news .hero .display strong {
  display: block;
}

.page-news .hero .display strong {
  font-weight: 900;
  letter-spacing: -.055em;
}

.page-news .hero__lead .lead {
  margin: 0;
  max-width: 30em;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.78;
  color: rgba(16, 22, 15, .8);
}

.page-news .hero__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 40px);
}

.page-news .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .hero__facts strong {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .hero__facts span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
}

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

.page-news .hero__figure .figure__frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mist);
}

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

.page-news .hero__cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.page-news .hcard {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-left-width: 4px;
  box-shadow: var(--shadow-paper-sm);
  padding: 13px 15px 15px;
}

.page-news .hcard[data-cat="log"] { border-left-color: var(--cat-log); }
.page-news .hcard[data-cat="observe"] { border-left-color: var(--cat-observe); }
.page-news .hcard[data-cat="feature"] { border-left-color: var(--cat-feature); }
.page-news .hcard[data-cat="note"] { border-left-color: var(--cat-note); }

.page-news .hcard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 7px;
}

.page-news .hcard__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  white-space: nowrap;
}

.page-news .hcard__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
}

/* ============ 标签纸 ============ */
.page-news .tag {
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}

.page-news .hcard[data-cat="log"] .tag,
.page-news .entry[data-cat="log"] .tag { background: var(--flesh); }

.page-news .hcard[data-cat="observe"] .tag,
.page-news .entry[data-cat="observe"] .tag { background: var(--sprout); }

.page-news .hcard[data-cat="feature"] .tag,
.page-news .entry[data-cat="feature"] .tag { background: var(--orange); }

.page-news .hcard[data-cat="note"] .tag,
.page-news .entry[data-cat="note"] .tag { background: var(--yellow); }

/* ============ 章节刻度线 ============ */
.page-news .rule {
  margin: 0 0 clamp(20px, 3vw, 30px);
}

/* ============ 四类内容 ============ */
.page-news .cats {
  position: relative;
  overflow: hidden;
  background: var(--leaf);
  color: var(--paper);
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 60px);
}

.page-news .cats::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(var(--sprout) 1.6px, transparent 1.7px);
  background-size: 17px 17px;
  opacity: .32;
  z-index: 0;
  pointer-events: none;
}

.page-news .cats .wrap {
  position: relative;
  z-index: 1;
}

.page-news .cats__head {
  max-width: 640px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.page-news .cats__head .eyebrow {
  margin: 0 0 12px;
  color: var(--sprout);
  letter-spacing: .2em;
}

.page-news .cats__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-news .cats__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(245, 241, 230, .78);
  max-width: 34em;
}

.page-news .cats__grid {
  display: grid;
  gap: 14px;
}

.page-news .cat {
  --cat: var(--flesh);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 26px 18px 20px;
  box-shadow: var(--shadow-paper-sm);
}

.page-news .cat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--cat);
}

.page-news .cat--log { --cat: var(--flesh); }
.page-news .cat--observe { --cat: var(--sprout); }
.page-news .cat--feature { --cat: var(--orange); }
.page-news .cat--note { --cat: var(--yellow); background: var(--mist); }

.page-news .cat__no {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

.page-news .cat h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-news .cat p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(16, 22, 15, .8);
}

.page-news .cat p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-news .cat p a:hover {
  background: var(--sprout);
}

.page-news .cat__freq {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--leaf) !important;
}

/* ============ 条目时间流 ============ */
.page-news .stream {
  position: relative;
  padding: clamp(28px, 4vw, 46px) 0 clamp(36px, 5vw, 60px);
}

.page-news .seedfade {
  height: 58px;
  margin-bottom: 6px;
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.5px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent);
  pointer-events: none;
}

.page-news .stream__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 32px;
  margin-bottom: 22px;
}

.page-news .stream__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .stream__note {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 28em;
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.page-news .filter-pill {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  box-shadow: 3px 3px 0 -1px rgba(16, 22, 15, .18);
  transition: transform .16s ease, box-shadow .16s ease;
}

.page-news .filter-pill:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 -1px rgba(16, 22, 15, .24);
}

.page-news #f-all:checked ~ .filters .filter-pill[for="f-all"],
.page-news #f-log:checked ~ .filters .filter-pill[for="f-log"],
.page-news #f-observe:checked ~ .filters .filter-pill[for="f-observe"],
.page-news #f-feature:checked ~ .filters .filter-pill[for="f-feature"],
.page-news #f-note:checked ~ .filters .filter-pill[for="f-note"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.page-news .stream:has(#f-log:checked) .entry:not([data-cat="log"]) { display: none; }
.page-news .stream:has(#f-observe:checked) .entry:not([data-cat="observe"]) { display: none; }
.page-news .stream:has(#f-feature:checked) .entry:not([data-cat="feature"]) { display: none; }
.page-news .stream:has(#f-note:checked) .entry:not([data-cat="note"]) { display: none; }

.page-news .entries {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .entry {
  --cat: var(--flesh);
  position: relative;
  padding: 22px 0 22px 20px;
  border-top: 1px solid var(--line);
}

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

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: var(--cat);
  border-radius: 0 2px 2px 0;
}

.page-news .entry[data-cat="log"] { --cat: var(--cat-log); }
.page-news .entry[data-cat="observe"] { --cat: var(--cat-observe); }
.page-news .entry[data-cat="feature"] { --cat: var(--cat-feature); }
.page-news .entry[data-cat="note"] { --cat: var(--cat-note); }

.page-news .entry__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.page-news .entry__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  white-space: nowrap;
}

.page-news .entry h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -.015em;
}

.page-news .entry > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.76;
  color: rgba(16, 22, 15, .78);
  max-width: 42em;
}

.page-news .entry--tight {
  padding: 16px 0 16px 20px;
}

.page-news .entry--tight::before {
  top: 18px;
  bottom: 18px;
}

.page-news .entry--tight h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.page-news .entry--tight > p {
  font-size: 15px;
  line-height: 1.72;
}

.page-news .entry--tighter {
  padding: 12px 0 12px 20px;
}

.page-news .entry--tighter::before {
  top: 14px;
  bottom: 14px;
  width: 3px;
}

.page-news .entry--tighter h3 {
  font-size: 16.5px;
  margin-bottom: 3px;
}

.page-news .entry--tighter > p {
  font-size: 14px;
  line-height: 1.68;
}

.page-news .entry__figure {
  margin: 16px 0 0;
  max-width: 560px;
}

.page-news .entry__figure .figure__frame {
  aspect-ratio: 9 / 5;
  overflow: hidden;
  background: var(--mist);
}

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

.page-news .entry__figure .figure__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ 专题系列 ============ */
.page-news .series-sec {
  padding: clamp(28px, 4vw, 46px) 0 clamp(38px, 5vw, 62px);
}

.page-news .series-sec__head {
  max-width: 620px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-news .series-sec__head .eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  letter-spacing: .2em;
}

.page-news .series-sec__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .series-sec__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 34em;
}

.page-news .series-list {
  display: grid;
  gap: clamp(26px, 4vw, 34px);
}

.page-news .series {
  position: relative;
  isolation: isolate;
}

.page-news .series__body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 18px 18px 20px;
  transition: transform .18s ease;
}

.page-news .series__body::before,
.page-news .series__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  transition: transform .22s ease;
}

.page-news .series__body::before {
  background: var(--sprout);
  transform: translate(5px, 5px);
  z-index: -1;
}

.page-news .series__body::after {
  background: var(--yellow);
  transform: translate(10px, 10px);
  z-index: -2;
}

.page-news .series:hover .series__body::before { transform: translate(8px, 8px); }
.page-news .series:hover .series__body::after { transform: translate(15px, 15px); }

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

.page-news .series__figure .figure__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

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

.page-news .series__body .eyebrow {
  margin: 0 0 6px;
  color: var(--leaf);
  letter-spacing: .2em;
}

.page-news .series__body h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .series__body p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(16, 22, 15, .8);
}

.page-news .series__meta {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.65;
  letter-spacing: .1em;
  color: var(--leaf) !important;
}

.page-news .series--wide .series__body {
  background: var(--leaf);
  color: var(--paper);
  padding: clamp(22px, 3vw, 32px);
}

.page-news .series--wide .series__body::before { background: var(--flesh); }
.page-news .series--wide .series__body::after { background: var(--orange); }

.page-news .series--wide .eyebrow { color: var(--sprout); }
.page-news .series--wide h3 { color: var(--paper); }

.page-news .series--wide p {
  color: rgba(245, 241, 230, .82);
  max-width: 40em;
}

.page-news .series--wide .series__meta {
  border-top-color: rgba(245, 241, 230, .28);
  color: var(--sprout) !important;
}

/* ============ 订阅与投稿 ============ */
.page-news .join {
  padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 6vw, 76px);
}

.page-news .join__head h2 {
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .join__grid {
  display: grid;
  gap: 18px;
}

.page-news .join__panel {
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
  padding: clamp(22px, 3vw, 32px);
}

.page-news .join__panel--alt {
  background: var(--sprout);
}

.page-news .join__panel .eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  letter-spacing: .2em;
}

.page-news .join__panel h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-news .join__panel p {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(16, 22, 15, .82);
  max-width: 34em;
}

.page-news .join__panel p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-news .join__panel p a:hover {
  background: var(--yellow);
}

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

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-news .cats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-news .hero__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .page-news .hcard__title {
    font-size: 15px;
  }
}

@media (min-width: 900px) {
  .page-news .hero__grid {
    grid-template-columns: 5fr 6fr;
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
  }

  .page-news .hero__cards {
    grid-template-columns: 1fr;
    margin-top: -58px;
    position: relative;
    z-index: 2;
    gap: 12px;
  }

  .page-news .hcard--1 { margin-right: 16%; }
  .page-news .hcard--2 { margin-left: 10%; margin-right: 4%; }
  .page-news .hcard--3 { margin-right: 8%; }

  .page-news .hcard__title { font-size: 16px; }

  .page-news .series-list {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 3.4vw, 40px);
  }

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

  .page-news .join__grid {
    grid-template-columns: 7fr 5fr;
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .page-news .cats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-news .entry {
    padding-left: 26px;
  }

  .page-news .entry::before {
    width: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .filter-pill,
  .page-news .series__body,
  .page-news .series__body::before,
  .page-news .series__body::after {
    transition: none;
  }

  .page-news .filter-pill:hover {
    transform: none;
  }
}
