.page-news {
  --news-rail: 208px;
  --news-gap: 44px;
  background: var(--ink);
  color: var(--text);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -60px;
  width: 72%;
  height: 150px;
  background: linear-gradient(100deg, rgba(34, 240, 196, .16), rgba(255, 107, 51, .12) 70%, rgba(255, 107, 51, 0));
  transform: rotate(var(--slant));
  pointer-events: none;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 10px 0 14px;
}

.page-news .news-hero-lead {
  max-width: 640px;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  color: var(--muted);
}

.page-news .news-hero-meta .meta-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--signal);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 外壳与粘性目录 ---------- */
.page-news .news-shell {
  padding-top: 6px;
}

.page-news .rail {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  margin: 0 -24px;
  padding: 10px 24px 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-news .rail-title {
  display: none;
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

.page-news .rail-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .rail-list::-webkit-scrollbar {
  display: none;
}

.page-news .rail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 11px;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .rail-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-news .rail-link[aria-current="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-news .rail-num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .8;
}

/* ---------- 章节 ---------- */
.page-news .news-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 66px);
}

.page-news .section-head h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.45rem, 4.4vw, 2.1rem);
  line-height: 1.3;
  margin: 8px 0 10px;
}

.page-news .section-lead {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .section-lead a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 240, 196, .4);
}

.page-news .section-lead a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 本轮焦点 ---------- */
.page-news .focus-grid {
  display: grid;
  gap: 24px;
}

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

.page-news .focus-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-news .focus-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-news .focus-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-news .focus-title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 10px 0 8px;
}

.page-news .focus-item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-news .focus-figure::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--cyan);
  z-index: 1;
}

.page-news .focus-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-news .focus-figure figcaption {
  margin-top: 10px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--sage);
}

/* ---------- 分类胶囊 ---------- */
.page-news .chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.page-news .chip-row::-webkit-scrollbar {
  display: none;
}

.page-news .chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .chip:hover,
.page-news .chip:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 条目列表 ---------- */
.page-news .feed-group {
  padding: 20px 0 4px;
  scroll-margin-top: calc(var(--header-h) + 90px);
}

.page-news .feed-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sage);
}

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

.page-news .feed-group-count {
  order: 3;
  color: var(--orange);
  letter-spacing: .06em;
}

.page-news .feed-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .feed-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .feed-tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: .06em;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.page-news .feed-tag--report {
  color: var(--cyan);
  border-color: rgba(34, 240, 196, .45);
  background: rgba(34, 240, 196, .08);
}

.page-news .feed-tag--rank {
  color: var(--signal);
  border-color: rgba(255, 214, 74, .42);
  background: rgba(255, 214, 74, .07);
}

.page-news .feed-tag--note {
  color: var(--orange);
  border-color: rgba(255, 107, 51, .42);
  background: rgba(255, 107, 51, .08);
}

.page-news .feed-tag--update {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel-up);
}

.page-news .feed-tag--guide {
  color: var(--sage);
  border-color: var(--line);
  background: var(--panel);
}

.page-news .feed-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}

.page-news .feed-title {
  margin: 10px 0 8px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
  transition: transform .22s var(--ease);
}

.page-news .feed-excerpt {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .feed-item:hover .feed-title {
  transform: translateX(4px);
}

.page-news .feed-item:hover .feed-time {
  color: var(--cyan);
}

.page-news .feed-item--lead {
  display: grid;
  gap: 14px;
}

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

.page-news .feed-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-news .feed-figure figcaption {
  margin-top: 8px;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--sage);
}

.page-news .feed-figure--wide {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

/* ---------- 横向专题 ---------- */
.page-news .series-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  scrollbar-width: none;
}

.page-news .series-rail::-webkit-scrollbar {
  display: none;
}

.page-news .series-rail:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

.page-news .series-card {
  flex: 0 0 auto;
  width: min(76vw, 310px);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-news .series-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-news .series-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.page-news .series-card-body {
  padding: 18px 18px 22px;
}

.page-news .series-mark {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-news .series-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--orange);
}

.page-news .series-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .series-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.7;
  color: var(--muted);
}

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

/* ---------- 更新节奏 ---------- */
.page-news .rhythm {
  border-top: 1px solid var(--line);
}

.page-news .rhythm-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .rhythm-key {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-news .rhythm-row h3 {
  margin: 0 0 6px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .rhythm-row p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 提醒订阅 ---------- */
.page-news .alerts {
  display: grid;
  gap: 14px;
}

.page-news .alert-card {
  padding: 22px 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-news .alert-card h3 {
  margin: 12px 0 12px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .alert-steps {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.page-news .alert-steps li {
  position: relative;
  counter-increment: step;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .alert-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
}

.page-news .link-more {
  display: inline-block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 240, 196, .45);
  padding-bottom: 2px;
}

.page-news .link-more:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 收尾 ---------- */
.page-news .news-cta {
  position: relative;
  overflow: hidden;
  margin: 36px 0 48px;
  padding: 28px 22px 30px;
  border: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(34, 240, 196, .10), rgba(255, 107, 51, .10) 78%, transparent);
}

.page-news .news-cta::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -70px;
  width: 60%;
  height: 150px;
  background: rgba(255, 107, 51, .12);
  transform: rotate(var(--slant));
  pointer-events: none;
}

.page-news .news-cta h2 {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
}

.page-news .news-cta p {
  position: relative;
  max-width: 620px;
  margin: 0 0 20px;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 中等屏幕 ---------- */
@media (min-width: 720px) {
  .page-news .news-hero {
    padding: 40px 0 36px;
  }

  .page-news .feed-item--lead {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .page-news .rhythm-row {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 20px;
  }

  .page-news .alerts {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-cta {
    padding: 34px 32px 36px;
  }
}

/* ---------- 桌面：左侧粘性目录 ---------- */
@media (min-width: 1000px) {
  .page-news .news-shell {
    display: grid;
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: var(--news-gap);
    align-items: start;
    padding-top: 16px;
  }

  .page-news .rail {
    top: calc(var(--header-h) + 28px);
    margin: 0;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

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

  .page-news .rail-list {
    display: block;
    margin: 0;
    padding: 0;
  }

  .page-news .rail-list li + li {
    margin-top: 2px;
  }

  .page-news .rail-link {
    display: flex;
    width: 100%;
    padding: 9px 0 9px 12px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 13.5px;
    color: var(--muted);
  }

  .page-news .rail-link:hover {
    color: var(--text);
    border-left-color: var(--line);
  }

  .page-news .rail-link[aria-current="true"] {
    color: var(--text);
    background: transparent;
    border-left-color: var(--orange);
  }

  .page-news .focus-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 36px;
    align-items: start;
  }

  .page-news .news-section {
    padding: 48px 0;
  }

  .page-news .series-card {
    width: 320px;
  }

  .page-news .series-card img {
    height: 186px;
  }

  .page-news .news-cta {
    margin: 48px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .feed-title,
  .page-news .series-card,
  .page-news .feed-time {
    transition: none;
  }

  .page-news .feed-item:hover .feed-title,
  .page-news .series-card:hover {
    transform: none;
  }
}
