.page-news {
  background: var(--ink-900);
  color: var(--text-on-dark);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding: calc(var(--header-h) + 40px) 0 0;
}

.page-news .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.page-news .breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-news .breadcrumbs a:hover {
  color: var(--flame-300);
}

.page-news .news-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(32px, 8vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.page-news .news-hero__lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

/* ---------- 五栏目切换头 ---------- */
.page-news .news-tabs {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-tabs::-webkit-scrollbar {
  height: 4px;
}

.page-news .news-tabs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--radius-pill);
}

.page-news .news-tab {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(18, 48, 74, 0.5);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .news-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: transparent;
  transition: background-color var(--dur) var(--ease);
}

.page-news .news-tab:hover {
  border-color: var(--flame-300);
  background: rgba(18, 48, 74, 0.86);
  transform: translateY(-3px);
}

.page-news .news-tab.is-active {
  border-color: var(--flame-500);
  background: rgba(18, 48, 74, 0.92);
}

.page-news .news-tab.is-active::before {
  background: var(--flame-500);
}

.page-news .news-tab__index {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.page-news .news-tab__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-news .news-tab__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ---------- 图片容器 ---------- */
.page-news .news-figure {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-800);
}

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

.page-news .news-figure--banner img { aspect-ratio: 2 / 1; }
.page-news .news-figure--portrait img { aspect-ratio: 3 / 4; }
.page-news .news-figure--wide img { aspect-ratio: 16 / 9; }
.page-news .news-figure--archive img { aspect-ratio: 3 / 2; }

/* ---------- 栏目标题 ---------- */
.page-news .news-stream {
  padding: 64px 0 0;
  scroll-margin-top: calc(var(--header-h-compact) + 20px);
}

.page-news .stream-head {
  max-width: 68ch;
  margin-bottom: 26px;
}

.page-news .stream-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.page-news .stream-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-news .stream-head a,
.page-news .stream-foot a,
.page-news .subscribe-panel a {
  color: var(--flame-300);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .stream-head a:hover,
.page-news .stream-foot a:hover,
.page-news .subscribe-panel a:hover {
  color: var(--flame-500);
  border-bottom-color: var(--flame-500);
  padding-bottom: 1px;
}

.page-news .stream-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ---------- 条目列表 ---------- */
.page-news .feed {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.page-news .feed-item {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color var(--dur) var(--ease);
}

.page-news .feed-item:hover,
.page-news .feed-item:focus-within {
  border-bottom-color: var(--flame-500);
}

.page-news .feed-item__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .feed-item__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.page-news .feed-item__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  max-height: 3.6em;
  overflow: hidden;
  transition: max-height 320ms var(--ease), color var(--dur) var(--ease);
}

.page-news .feed-item:hover .feed-item__excerpt,
.page-news .feed-item:focus-within .feed-item__excerpt {
  max-height: 22em;
  color: var(--text-on-dark);
}

.page-news .feed-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-news .feed-item__time {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--jade-500);
}

.page-news .feed-item__read {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* ---------- 图文拆分 ---------- */
.page-news .news-split {
  display: grid;
  gap: 28px;
}

.page-news .news-split .feed {
  border-top: 1px solid var(--line-soft);
}

.page-news .news-split .news-figure {
  margin-top: 0;
}

/* ---------- 专题系列 ---------- */
.page-news .news-topics {
  margin-top: 72px;
  padding: 60px 0 72px;
  background: var(--mist);
  color: var(--ink-text);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  scroll-margin-top: calc(var(--header-h-compact) + 20px);
}

.page-news .topics-head {
  max-width: 68ch;
  margin-bottom: 28px;
}

.page-news .topics-head h2 {
  margin: 14px 0 12px;
  font-size: clamp(25px, 4.8vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}

.page-news .topics-head p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-700);
}

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

.page-news .topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-xl);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .topic-card:hover,
.page-news .topic-card:focus-within {
  border-color: var(--flame-500);
  transform: translateY(-4px);
}

.page-news .topic-card__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(21, 135, 106, 0.45);
  background: rgba(47, 210, 168, 0.14);
  color: var(--jade-700);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .topic-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-text);
}

.page-news .topic-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-700);
}

.page-news .topic-card__toc {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-700);
  transition: max-height 320ms var(--ease), border-color var(--dur) var(--ease), padding-top var(--dur) var(--ease);
}

.page-news .topic-card:hover .topic-card__toc,
.page-news .topic-card:focus-within .topic-card__toc {
  max-height: 220px;
  padding-top: 12px;
  border-top-color: var(--mist-line);
}

/* ---------- 订阅 ---------- */
.page-news .news-subscribe {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h-compact) + 20px);
}

.page-news .subscribe-panel {
  display: grid;
  gap: 28px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--ink-700) 0%, var(--ink-900) 74%);
}

.page-news .subscribe-panel h2 {
  margin: 14px 0 14px;
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.page-news .subscribe-panel p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-news .subscribe-panel p:last-child {
  margin-bottom: 0;
}

.page-news .subscribe-stats {
  display: grid;
  gap: 12px;
}

.page-news .subscribe-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(10, 26, 42, 0.5);
}

.page-news .subscribe-stats .stat__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-news .subscribe-stats .stat__label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* ---------- 媒体素材与合作 ---------- */
.page-news .news-media {
  padding: 0 0 84px;
  scroll-margin-top: calc(var(--header-h-compact) + 20px);
}

.page-news .media-panel {
  display: grid;
  gap: 24px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(18, 48, 74, 0.42);
}

.page-news .media-panel__head h2 {
  margin: 14px 0 12px;
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.page-news .media-panel__head p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

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

.page-news .media-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-news .media-list li:hover {
  border-color: var(--jade-500);
  background: rgba(47, 210, 168, 0.07);
}

.page-news .media-list span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--jade-500);
}

.page-news .media-panel .btn {
  justify-self: start;
}

/* ---------- 桌面 ---------- */
@media (min-width: 860px) {
  .page-news .news-hero {
    padding-top: calc(var(--header-h) + 64px);
  }

  .page-news .news-hero__lede {
    font-size: 17px;
  }

  .page-news .news-tab {
    width: 248px;
  }

  .page-news .feed-item {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 34px;
    padding: 24px 0;
  }

  .page-news .feed-item__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
    padding-top: 4px;
  }

  .page-news .feed-item__title {
    font-size: 19px;
  }

  .page-news .news-split {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .news-stream {
    padding-top: 80px;
  }

  .page-news .news-topics {
    margin-top: 88px;
    padding: 72px 0 88px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .page-news .topic-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 20px;
  }

  .page-news .news-subscribe {
    padding: 88px 0;
  }

  .page-news .subscribe-panel {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 48px;
    padding: 44px 40px;
  }

  .page-news .news-media {
    padding-bottom: 104px;
  }

  .page-news .media-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px 48px;
    padding: 44px 40px;
  }

  .page-news .media-panel__head {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .page-news .media-list {
    grid-column: 2;
    grid-row: 1;
  }

  .page-news .media-panel .btn {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (min-width: 1200px) {
  .page-news .news-tab {
    width: 264px;
  }

  .page-news .news-hero h1 {
    max-width: 15ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-tab,
  .page-news .feed-item,
  .page-news .topic-card,
  .page-news .media-list li {
    transition: none;
  }

  .page-news .news-tab:hover,
  .page-news .topic-card:hover,
  .page-news .topic-card:focus-within {
    transform: none;
  }
}
