.page-news {
  --news-gap: clamp(30px, 5vw, 70px);
  background: var(--cream);
  color: var(--soot);
  overflow-x: hidden;
}

.page-news .news-h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--soot);
}

.page-news .news-lede {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-news .news-prose {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-news .news-prose a {
  color: var(--shot);
  text-decoration: none;
  border-bottom: 1px solid var(--shot);
  padding-bottom: 1px;
}

.page-news .news-prose a:hover {
  color: var(--ink);
  border-bottom-color: var(--turf);
}

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

.page-news .news-hero {
  position: relative;
  margin-top: 18px;
  padding: clamp(30px, 5vw, 60px) 0 clamp(30px, 5vw, 62px);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(243,237,225,0.055) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(243,237,225,0.055) 0 1px, transparent 1px 74px);
  pointer-events: none;
}

.page-news .news-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.6vw, 46px);
  align-items: end;
}

.page-news .news-hero .marker {
  color: var(--turf);
}

.page-news .news-hero__title {
  margin: 14px 0 0;
  max-width: 24ch;
  font-size: clamp(1.75rem, 5.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream);
  transform: var(--slant);
  transform-origin: left center;
}

.page-news .news-hero__lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--grey);
}

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

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(1.05);
}

.page-news .news-hero__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.page-news .news-tape {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.page-news .news-tape__item {
  padding: 18px 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .news-tape__value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--turf);
}

.page-news .news-tape__label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

/* ---------- 置顶专题 ---------- */

.page-news .pinned {
  padding: var(--news-gap) 0;
  background: var(--grey);
  color: var(--soot);
}

.page-news .pinned__grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 42px);
}

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

.page-news .pinned__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--soot);
}

.page-news .pinned__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.page-news .pinned__timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  height: 12px;
  margin: 18px 0 4px;
}

.page-news .pinned__timeline span {
  background: var(--soot);
}

.page-news .pinned__timeline span:nth-child(2),
.page-news .pinned__timeline span:nth-child(4) {
  background: var(--shot);
}

.page-news .pinned__toc {
  margin-top: 22px;
  border-top: 1px solid var(--soot);
}

.page-news .pinned__list {
  margin: 0;
  padding: 4px 0 6px;
  list-style: none;
  counter-reset: pin;
}

.page-news .pinned__list li {
  counter-increment: pin;
  padding: 9px 0;
  border-bottom: 1px solid rgba(25, 21, 16, 0.22);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--soot);
}

.page-news .pinned__list li::before {
  content: "0" counter(pin);
  display: inline-block;
  min-width: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--shot);
}

/* ---------- 最新笔记列表 ---------- */

.page-news .latest {
  padding: var(--news-gap) 0 calc(var(--news-gap) * 0.7);
  background: var(--cream);
}

.page-news .latest__head {
  padding-bottom: clamp(18px, 2.4vw, 30px);
}

.page-news .note-list {
  margin-top: 6px;
  border-bottom: 1px solid var(--line);
}

.page-news .note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.page-news .note:hover {
  background-color: rgba(200, 242, 75, 0.09);
}

.page-news .note__tags {
  justify-self: start;
  align-self: start;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--soot);
  border: 1px solid var(--line);
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-news .note:hover .note__tags,
.page-news .note:focus-within .note__tags {
  background: var(--turf);
  border-color: var(--turf);
  color: var(--ink);
}

.page-news .note__body {
  min-width: 0;
}

.page-news .note__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  font-weight: 700;
  line-height: 1.38;
  color: var(--soot);
}

.page-news .note__summary {
  margin: 10px 0 0;
  max-width: 64ch;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--ink);
}

.page-news .note__meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brown);
}

.page-news .note__thumb {
  margin: 14px 0 0;
  max-width: 260px;
}

.page-news .note__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- 栏目分类 ---------- */

.page-news .cats {
  padding: var(--news-gap) 0;
  background: var(--ink);
  color: var(--cream);
}

.page-news .cats .news-h2 {
  color: var(--cream);
}

.page-news .cats .news-lede {
  color: var(--grey);
}

.page-news .cats__head {
  padding-bottom: clamp(22px, 3vw, 36px);
}

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

.page-news .cats__item {
  display: grid;
  gap: 8px;
  padding: 20px 18px 24px;
  background: var(--ink);
}

.page-news .cats__count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--turf);
}

.page-news .cats__name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cream);
}

.page-news .cats__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.68;
  color: var(--grey);
}

/* ---------- 选题来源 ---------- */

.page-news .sources {
  padding: var(--news-gap) 0;
  background: var(--cream);
}

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

.page-news .sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: src;
  border-top: 1px solid var(--line);
}

.page-news .sources__list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}

.page-news .sources__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--shot);
  padding-top: 3px;
}

.page-news .sources__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--soot);
}

.page-news .sources__desc {
  margin: 9px 0 0;
  max-width: 60ch;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--ink);
}

/* ---------- 订阅 ---------- */

.page-news .subscribe {
  padding: var(--news-gap) 0;
  background: var(--grey);
  color: var(--soot);
}

.page-news .subscribe__inner {
  display: grid;
  gap: clamp(24px, 3.6vw, 46px);
  align-items: center;
}

.page-news .subscribe__note {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-news .subscribe__box {
  padding: 24px 22px 26px;
  background: var(--ink);
  border-left: 6px solid var(--turf);
  color: var(--cream);
}

.page-news .subscribe__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.page-news .subscribe__mail {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.2vw, 1.1rem);
  line-height: 1.5;
  color: var(--turf);
  word-break: break-all;
}

.page-news .subscribe__hint {
  margin: 12px 0 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--grey);
}

/* ---------- 往期归档 ---------- */

.page-news .archive {
  padding: var(--news-gap) 0 calc(var(--news-gap) * 0.8);
  background: var(--brown);
  color: var(--cream);
}

.page-news .archive .marker {
  color: rgba(243, 237, 225, 0.72);
}

.page-news .archive .news-h2 {
  color: var(--cream);
}

.page-news .archive .news-lede {
  color: rgba(243, 237, 225, 0.82);
}

.page-news .archive__group {
  margin-top: 16px;
  border-top: 1px solid rgba(243, 237, 225, 0.32);
}

.page-news .archive__group:last-of-type {
  border-bottom: 1px solid rgba(243, 237, 225, 0.32);
}

.page-news .archive__list {
  list-style: none;
  margin: 0;
  padding: 2px 0 18px;
}

.page-news .archive__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px dotted rgba(243, 237, 225, 0.28);
}

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

.page-news .archive__cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--turf);
}

.page-news .archive__ttl {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--cream);
}

/* ---------- details 展开收起 ---------- */

.page-news .disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: inherit;
  transition: color 0.18s ease;
}

.page-news .disclosure > summary::-webkit-details-marker {
  display: none;
}

.page-news .disclosure > summary::after {
  content: "＋";
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--shot);
}

.page-news .disclosure[open] > summary::after {
  content: "－";
}

.page-news .disclosure > summary:hover {
  color: var(--turf);
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-news .note {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0 18px;
    padding: 24px 0 28px;
  }

  .page-news .note__tags {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    justify-self: start;
    min-height: 84px;
    padding: 12px 5px;
    letter-spacing: 0.22em;
    text-align: center;
  }

  .page-news .archive__list li {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

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

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

  .page-news .cats__list .cats__item:first-child {
    grid-column: span 3;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-news .pinned__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .sources__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
  }

  .page-news .subscribe__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  }

  .page-news .note {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0 22px;
    padding: 27px 0 31px;
  }

  .page-news .note--indent {
    padding-left: 52px;
  }

  .page-news .note__thumb {
    float: right;
    width: 208px;
    max-width: 40%;
    margin: 6px 0 12px 26px;
  }
}

@media (min-width: 1100px) {
  .page-news .cats__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-news .cats__list .cats__item:first-child {
    grid-column: span 1;
  }

  .page-news .news-hero__title {
    max-width: 22ch;
  }
}
