/* ===== 内容笔记页 · 页面级样式 ===== */
.page-news {
  --news-hair: rgba(30, 127, 168, .18);
  --news-hair-strong: rgba(30, 127, 168, .38);
  --news-v4: var(--lake);
  --news-v5: var(--dusk-bright);
  color: var(--ink);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-news .breadcrumb a {
  color: var(--lake-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.page-news .breadcrumb a:hover {
  border-bottom-color: var(--lake-deep);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -7deg,
    transparent 0 26px,
    rgba(30, 127, 168, .07) 26px 27px
  );
  pointer-events: none;
}
.page-news .news-hero-inner {
  position: relative;
}
.page-news .news-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sand-ink);
  font-weight: 700;
}
.page-news .news-hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-news .news-hero-lede {
  margin: 26px 0 0;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.page-news .news-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  margin: 38px 0 0;
  padding-top: 26px;
  border-top: 2px solid var(--news-hair-strong);
}
.page-news .news-hero-stats dt {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-news .news-hero-stats dd {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--lake-deep);
}

/* ---------- 章节通用 ---------- */
.page-news .section {
  padding: 68px 0;
}
.page-news .section-head {
  display: block;
  margin-bottom: 8px;
}
.page-news .section-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--sand-ink);
}
.page-news .section-title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.page-news .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  background: var(--sand);
}
.page-news .lede {
  margin: 16px 0 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 图 ---------- */
.page-news .news-figure {
  margin: 32px 0 0;
}
.page-news .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--news-hair-strong);
  background: var(--paper-2);
  object-fit: cover;
}
.page-news .news-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-news .news-figure--wide img {
  border-left-width: 0;
  border-right-width: 0;
}

/* ---------- 01 本批次要点 ---------- */
.page-news .news-batch-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--news-hair);
}
.page-news .news-batch-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--news-hair);
}
.page-news .news-batch-kind {
  align-self: start;
  justify-self: start;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--paper);
  background: var(--lake-deep);
}
.page-news .news-batch-item:nth-child(2) .news-batch-kind {
  background: var(--dusk);
}
.page-news .news-batch-item:nth-child(3) .news-batch-kind {
  background: var(--flag);
}
.page-news .news-batch-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}
.page-news .news-batch-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 02 / 06 笔记流 ---------- */
.page-news .news-log {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}
.page-news .news-log-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 24px 0 26px;
  border-top: 1px solid var(--news-hair);
  transition: background-color .2s var(--ease);
}
.page-news .news-log-item:last-child {
  border-bottom: 1px solid var(--news-hair);
}
.page-news .news-log-batch {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sand-ink);
}
.page-news .news-log-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.page-news .news-log-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.page-news .news-log-scope {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lake-deep);
  background: rgba(168, 211, 226, .35);
}
.page-news .news-log--compact .news-log-body h3 {
  font-size: 17px;
}

/* ---------- 03 双轨 ---------- */
.page-news .news-rails {
  display: grid;
  gap: 30px;
  margin-top: 36px;
}
.page-news .news-rail {
  position: relative;
  padding-left: 22px;
}
.page-news .news-rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--news-v4);
}
.page-news .news-rail--v5::before {
  background: var(--news-v5);
}
.page-news .news-rail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.page-news .news-rail-badge {
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--paper);
  background: var(--news-v4);
}
.page-news .news-rail--v5 .news-rail-badge {
  background: var(--news-v5);
}
.page-news .news-rail-head h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--ink);
}
.page-news .news-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-news .news-rail-list li {
  position: relative;
  padding: 0 0 22px;
}
.page-news .news-rail-list li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--news-v4);
}
.page-news .news-rail--v5 .news-rail-list li::before {
  border-color: var(--news-v5);
}
.page-news .news-rail-batch {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sand-ink);
}
.page-news .news-rail-list h4 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.page-news .news-rail-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 04 专题系列 ---------- */
.page-news .news-series-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.page-news .news-series-item {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 16px;
  padding: 20px 18px 20px 14px;
  background: var(--paper);
  border: 2px solid var(--news-hair-strong);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.page-news .news-series-bar {
  display: block;
  align-self: stretch;
  background: var(--lake);
}
.page-news .news-series--b .news-series-bar { background: var(--dusk); }
.page-news .news-series--c .news-series-bar { background: var(--flag); }
.page-news .news-series--d .news-series-bar { background: var(--lake-deep); }
.page-news .news-series--e .news-series-bar { background: var(--sand); }
.page-news .news-series--f .news-series-bar { background: var(--dusk-bright); }
.page-news .news-series-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}
.page-news .news-series-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.page-news .news-series-meta {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--sand-ink);
}

/* ---------- 05 反馈 ---------- */
.page-news .news-fb-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.page-news .news-fb-item {
  padding: 22px 20px;
  background: var(--paper);
  border: 2px solid var(--news-hair-strong);
  border-top: 4px solid var(--flag);
}
.page-news .news-fb-item h3 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}
.page-news .news-fb-item p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.page-news .news-fb-item p:last-child {
  margin-bottom: 0;
}
.page-news .news-fb-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--dusk);
  background: rgba(138, 111, 209, .16);
}
.page-news .news-fb-tag--done {
  color: var(--flag);
  background: rgba(232, 130, 58, .16);
}

/* ---------- 06 筛选标签 ---------- */
.page-news .news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}
.page-news .news-chip {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--lake-deep);
  text-decoration: none;
  background: rgba(168, 211, 226, .28);
  border: 1px solid var(--news-hair-strong);
  border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.page-news .news-chip:hover {
  background: var(--paper-2);
  border-color: var(--flag);
}
.page-news .news-chip--active {
  color: var(--paper);
  background: var(--flag);
  border-color: var(--flag);
}
.page-news .news-chip:focus-visible {
  outline: 2px solid var(--flag);
  outline-offset: 2px;
}

/* ---------- 结尾 ---------- */
.page-news .news-next {
  padding: 60px 0 80px;
}
.page-news .news-next-inner {
  padding: 34px 24px 36px;
  background: var(--paper);
  border: 2px solid var(--news-hair-strong);
  border-left: 6px solid var(--lake);
}
.page-news .news-next-inner h2 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(22px, 4.4vw, 32px);
  line-height: 1.25;
  color: var(--ink);
}
.page-news .news-next-inner p {
  margin: 0 0 24px;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.page-news .news-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-news .news-batch-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 26px;
    border-top: 2px solid var(--news-hair-strong);
  }
  .page-news .news-batch-item {
    border-bottom: none;
    border-top: none;
    padding: 24px 0 22px;
  }
  .page-news .news-batch-body h3 {
    font-size: 18px;
  }
}

@media (min-width: 760px) {
  .page-news .news-log-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .page-news .news-log-batch {
    text-align: right;
    padding-right: 22px;
    border-right: 1px solid var(--news-hair-strong);
  }
  .page-news .news-series-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .news-fb-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .news-series-item:hover {
    transform: translateY(-4px);
    border-color: var(--sand);
  }
}

@media (min-width: 900px) {
  .page-news .news-rails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
  }
  .page-news .news-hero {
    padding: 48px 0 56px;
  }
  .page-news .news-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .page-news .section {
    padding: 84px 0;
  }
  .page-news .news-series-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-news .news-next-inner {
    padding: 44px 46px 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-series-item,
  .page-news .news-log-item,
  .page-news .news-chip,
  .page-news .breadcrumb a {
    transition: none;
  }
  .page-news .news-series-item:hover {
    transform: none;
  }
}
</main>
