.page-news {
  --news-rule: rgba(18, 58, 76, 0.16);
  --news-rule-soft: rgba(18, 58, 76, 0.08);
  --news-amber-soft: rgba(232, 169, 58, 0.16);
  color: var(--ink);
}

.page-news .section {
  padding-block: clamp(42px, 7vw, 78px);
}

.page-news .section,
.page-news .news-group {
  scroll-margin-top: calc(var(--bar-h) + 20px);
}

/* ---------- 页头 ---------- */

.page-news .news-head {
  position: relative;
  padding: calc(var(--bar-h) + clamp(22px, 5vw, 48px)) 0 clamp(34px, 6vw, 58px);
  background:
    radial-gradient(115% 85% at 88% 0%, rgba(240, 138, 60, 0.12), transparent 62%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-head-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.page-news .news-head h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--lake-deep);
}

.page-news .news-lede {
  max-width: 34em;
  margin: 0;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.8;
  color: var(--ink);
}

.page-news .news-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-figures li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-news .news-figures .mono {
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--apricot-deep);
}

.page-news .news-figures em {
  font-style: normal;
  font-size: 13px;
  color: var(--rock);
}

.page-news .news-head-figure {
  position: relative;
  margin: 0;
}

.page-news .news-head-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.page-news .news-head-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--rock);
}

/* ---------- 01 最近一次更新 ---------- */

.page-news .news-latest {
  background: var(--paper);
}

.page-news .news-latest-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.page-news .news-latest-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--apricot), var(--amber));
}

.page-news .news-latest-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .news-latest-time {
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--rock);
}

.page-news .news-latest-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.35;
  color: var(--lake-deep);
}

.page-news .news-latest-lead {
  max-width: 46em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink);
}

.page-news .news-latest-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 18px;
  margin: 0 0 26px;
  padding: 0;
}

.page-news .news-latest-facts > div {
  padding-left: 12px;
  border-left: 2px solid var(--news-rule);
}

.page-news .news-latest-facts dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--rock);
}

.page-news .news-latest-facts dd {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-latest-figure {
  margin: 0;
}

.page-news .news-latest-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  background: var(--mist);
}

.page-news .news-latest-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

/* ---------- 02 条目流 ---------- */

.page-news .news-stream {
  background: var(--mist);
}

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

.page-news .news-index-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: var(--rock);
}

.page-news .news-months {
  margin-bottom: 26px;
}

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

.page-news .news-months-list a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--news-rule);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: var(--rock);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-news .news-months-list a:hover {
  color: var(--lake-deep);
  border-left-color: var(--lake);
}

.page-news .news-months-list a.is-current,
.page-news .news-months-list a[aria-current] {
  color: var(--lake-deep);
  background: rgba(240, 138, 60, 0.1);
  border-left-color: var(--apricot);
}

.page-news .news-cats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-cat {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--news-rule);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--lake-deep);
}

.page-news .news-group {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-news .news-group:last-child {
  margin-bottom: 0;
}

.page-news .news-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--lake);
}

.page-news .news-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--news-rule);
}

.page-news .entry {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px 20px 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--mist), 5px 5px 0 var(--news-rule-soft), var(--shadow-card);
  transition: box-shadow 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-news .entry:last-child {
  margin-bottom: 0;
}

@media (hover: hover) {
  .page-news .entry:hover {
    transform: translateY(-2px);
    box-shadow: 5px 6px 0 var(--mist), 6px 7px 0 var(--news-rule-soft), var(--shadow-lift);
  }
}

.page-news .entry-no {
  padding-top: 3px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--apricot-deep);
}

.page-news .entry-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.page-news .entry-time {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--rock);
}

.page-news .entry-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 19.5px);
  line-height: 1.45;
  color: var(--lake-deep);
}

.page-news .entry-title::after {
  content: "";
  flex: 1 1 auto;
  min-width: 0;
  height: 1px;
  background: var(--lake);
  opacity: 0.32;
  transform: translateY(-5px);
}

.page-news .entry-sum {
  max-width: 52em;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .entry-more {
  padding-top: 8px;
  border-top: 1px dashed var(--news-rule);
}

.page-news .entry-more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lake);
}

.page-news .entry-more summary::-webkit-details-marker {
  display: none;
}

.page-news .entry-more summary::before {
  content: "▸ ";
}

.page-news .entry-more[open] summary::before {
  content: "▾ ";
}

.page-news .entry-meta {
  display: grid;
  gap: 6px;
  margin: 12px 0 2px;
  padding: 0;
}

.page-news .entry-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13.5px;
  line-height: 1.6;
}

.page-news .entry-meta dt {
  min-width: 72px;
  color: var(--rock);
}

.page-news .entry-meta dd {
  margin: 0;
  color: var(--ink);
}

/* ---------- 标签 ---------- */

.page-news .news-tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(18, 58, 76, 0.14);
  border-radius: 2px;
  background: var(--amber);
  color: var(--lake-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: rotate(-1.2deg);
}

/* ---------- 03 月度结构评审 ---------- */

.page-news .news-review .chapter-title,
.page-news .news-review .news-review-copy > p,
.page-news .news-review-steps strong {
  color: var(--paper);
}

.page-news .news-review .chapter-num {
  color: var(--apricot);
}

.page-news .news-review .section-note {
  color: rgba(251, 249, 246, 0.68);
}

.page-news .news-review-grid {
  display: grid;
  gap: 30px;
}

.page-news .news-review-copy > p {
  max-width: 46em;
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(251, 249, 246, 0.86);
}

.page-news .news-review-copy a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-review-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-review-steps > li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid rgba(251, 249, 246, 0.2);
}

.page-news .news-review-steps .mono {
  padding-top: 3px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-news .news-review-steps strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
}

.page-news .news-review-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(251, 249, 246, 0.72);
}

.page-news .news-review-figure {
  margin: 0;
}

.page-news .news-review-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(251, 249, 246, 0.22);
  border-radius: var(--radius);
  background: rgba(251, 249, 246, 0.06);
}

.page-news .news-review-figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(251, 249, 246, 0.62);
}

/* ---------- 04 长期专题 ---------- */

.page-news .news-topics {
  background: var(--paper);
}

.page-news .news-topics-figure {
  margin: 0 0 clamp(24px, 3.5vw, 34px);
}

.page-news .news-topics-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  background: var(--mist);
}

.page-news .news-topics-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

.page-news .news-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.page-news .news-topic {
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--mist), var(--shadow-card);
}

.page-news .news-topic h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--lake-deep);
}

.page-news .news-topic p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .news-topics-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--lake);
  background: var(--mist);
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink);
}

/* ---------- 05 补看与订阅 ---------- */

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

.page-news .news-catchup-card {
  padding: 20px 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-news .news-catchup-card .mono {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--apricot-deep);
}

.page-news .news-catchup-card h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--lake-deep);
}

.page-news .news-catchup-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .news-catchup-card a {
  color: var(--lake);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-subscribe {
  margin-top: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 111, 140, 0.1), rgba(232, 169, 58, 0.16));
}

.page-news .news-subscribe h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 23px);
  color: var(--lake-deep);
}

.page-news .news-subscribe > p {
  max-width: 44em;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .news-subscribe > p a {
  color: var(--lake);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-subscribe-options {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-subscribe-options li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
}

.page-news .news-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--apricot);
}

.page-news .news-subscribe-options strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--lake-deep);
}

.page-news .news-subscribe-options p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

/* ---------- 06 写法 ---------- */

.page-news .news-format {
  background: var(--mist);
}

.page-news .news-format-intro {
  max-width: 46em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}

.page-news .news-format-grid {
  display: grid;
  gap: 16px;
}

.page-news .news-format-item {
  padding-top: 14px;
  border-top: 3px solid var(--apricot);
}

.page-news .news-format-item .mono {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--rock);
}

.page-news .news-format-item h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.4;
  color: var(--lake-deep);
}

.page-news .news-format-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .news-format-outro {
  max-width: 48em;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--news-rule);
  font-size: 15px;
  line-height: 1.82;
  color: var(--rock);
}

.page-news .news-format-outro a {
  color: var(--lake);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

@media (min-width: 760px) {
  .page-news .news-catchup-grid,
  .page-news .news-format-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

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

@media (min-width: 900px) {
  .page-news .news-head-grid {
    grid-template-columns: 5.5fr 6.5fr;
    align-items: center;
  }

  .page-news .news-head-figure::before {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1px solid var(--news-rule);
    border-radius: var(--radius);
    background: var(--mist);
  }

  .page-news .news-review-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-news .news-grid {
    grid-template-columns: 232px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-index {
    position: sticky;
    top: calc(var(--bar-h) + 22px);
  }
}

@media (max-width: 560px) {
  .page-news .entry {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 16px 18px;
    box-shadow: 3px 3px 0 var(--mist), 4px 4px 0 var(--news-rule-soft), var(--shadow-card);
  }

  .page-news .entry-no {
    padding-top: 0;
    font-size: 11.5px;
  }

  .page-news .entry-title {
    display: block;
  }

  .page-news .entry-title::after {
    display: none;
  }

  .page-news .news-latest-facts > div {
    padding-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry,
  .page-news .news-months-list a {
    transition: none;
  }

  .page-news .entry:hover {
    transform: none;
  }
}
