.page-news {
  --news-rail-w: 268px;
  --news-hair: rgba(18, 59, 99, .14);
  --news-hair-soft: rgba(215, 227, 239, .8);
  background: var(--yx-mist);
  color: var(--yx-ink);
  font-family: var(--yx-sans);
  line-height: 1.75;
  padding-bottom: clamp(56px, 8vw, 112px);
}

.page-news [data-filter-item][hidden] {
  display: none;
}

/* ---------- 面包屑 ---------- */
.page-news .yx-crumbs {
  max-width: var(--yx-shell);
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 28px) var(--yx-gutter) 0;
  font-family: var(--yx-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--yx-gray);
}

.page-news .yx-crumbs a {
  color: var(--yx-blue);
  text-decoration: none;
}

.page-news .yx-crumbs a:hover {
  color: var(--yx-orange);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  max-width: var(--yx-shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--yx-gutter) clamp(28px, 4vw, 52px);
  isolation: isolate;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(closest-side at 12% 24%, rgba(74, 143, 212, .18), transparent),
    radial-gradient(closest-side at 88% 8%, rgba(255, 122, 24, .11), transparent);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: var(--yx-gutter);
  bottom: 0;
  width: clamp(64px, 12vw, 160px);
  height: 3px;
  background: linear-gradient(90deg, var(--yx-orange), var(--yx-amber) 60%, transparent);
}

.page-news .news-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(27px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  max-width: 24ch;
  color: var(--yx-deep);
}

.page-news .news-hero__lead {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--yx-gray);
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 60px);
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
}

.page-news .news-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-stat__num {
  font-family: var(--yx-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--yx-deep);
  letter-spacing: -.02em;
}

.page-news .news-stat__key {
  font-size: 13px;
  color: var(--yx-gray);
  letter-spacing: .02em;
}

/* ---------- 主体两栏 ---------- */
.page-news .news-layout {
  max-width: var(--yx-shell);
  margin: 0 auto;
  padding: 0 var(--yx-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 900px) {
  .page-news .news-layout {
    grid-template-columns: var(--news-rail-w) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 左栏 ---------- */
.page-news .news-rail {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .page-news .news-rail {
    position: sticky;
    top: 104px;
    padding-top: 10px;
    border-top: 2px solid var(--yx-deep);
  }
}

.page-news .news-rail__label {
  margin: 12px 0 14px;
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--yx-gray);
}

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

.page-news .news-rail__index .yx-index__item {
  flex: 0 0 auto;
}

.page-news .news-rail__index .yx-index__link {
  display: block;
  font-family: var(--yx-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--yx-mid);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--yx-ease), border-color .2s var(--yx-ease);
  white-space: nowrap;
}

.page-news .news-rail__index .yx-index__link:hover {
  color: var(--yx-orange);
  border-bottom-color: var(--yx-orange);
}

@media (min-width: 900px) {
  .page-news .news-rail__index {
    display: block;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--news-hair);
  }

  .page-news .news-rail__index .yx-index__item {
    display: block;
  }

  .page-news .news-rail__index .yx-index__link {
    padding: 9px 0 9px 14px;
    border-bottom: 1px solid var(--news-hair-soft);
    border-left: 2px solid transparent;
    margin-left: -1px;
  }

  .page-news .news-rail__index .yx-index__link:hover {
    border-left-color: var(--yx-orange);
    border-bottom-color: var(--news-hair-soft);
  }
}

/* ---------- 筛选 ---------- */
.page-news .news-rail__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-news .news-rail__filter .yx-filter__btn {
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .06em;
  padding: 6px 12px;
  border: 1px solid var(--news-hair);
  background: rgba(255, 255, 255, .7);
  color: var(--yx-mid);
  cursor: pointer;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background-color .2s var(--yx-ease), color .2s var(--yx-ease), border-color .2s var(--yx-ease);
}

.page-news .news-rail__filter .yx-filter__btn:hover {
  border-color: var(--yx-bright);
  color: var(--yx-blue);
}

.page-news .news-rail__filter .yx-filter__btn[aria-pressed="true"] {
  background: var(--yx-orange);
  border-color: var(--yx-orange);
  color: #ffffff;
}

/* ---------- 右栏流 ---------- */
.page-news .news-stream {
  min-width: 0;
}

.page-news .yx-filter__count {
  margin: 0 0 14px;
  font-family: var(--yx-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--yx-gray);
}

.page-news .yx-filter__count:empty {
  display: none;
}

/* ---------- 章节 ---------- */
.page-news .news-block {
  scroll-margin-top: 140px;
}

.page-news .news-block + .news-block {
  margin-top: clamp(44px, 6vw, 82px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--news-hair);
}

.page-news .news-block .yx-section__index {
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--yx-orange);
  margin: 0;
}

.page-news .news-block .yx-section__title {
  margin: 10px 0 0;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--yx-deep);
  max-width: 26ch;
}

.page-news .news-block .yx-section__lead {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 15px;
  color: var(--yx-gray);
}

/* ---------- 条目列表 ---------- */
.page-news .news-list {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-list--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 2.8em 9px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--news-hair);
  transition: background-color .24s var(--yx-ease);
}

.page-news .news-item__no {
  font-family: var(--yx-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--yx-gray);
  padding-top: 7px;
  transition: color .24s var(--yx-ease);
}

.page-news .news-item__dot {
  width: 9px;
  height: 9px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--yx-blue);
  transition: transform .24s var(--yx-ease), box-shadow .24s var(--yx-ease);
}

.page-news .news-item__dot[data-topic="data"] { background: var(--yx-blue); }
.page-news .news-item__dot[data-topic="plan"] { background: var(--yx-orange); }
.page-news .news-item__dot[data-topic="region"] { background: var(--yx-bright); }
.page-news .news-item__dot[data-topic="tool"] { background: var(--yx-amber); }
.page-news .news-item__dot[data-topic="series"] { background: var(--yx-mid); }

.page-news .news-item__title {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--yx-ink);
  transition: color .24s var(--yx-ease);
}

.page-news .news-item__text {
  margin: 8px 0 0;
  max-width: 68ch;
  font-size: 14.5px;
  color: var(--yx-gray);
}

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

.page-news .news-item__meta .yx-tag {
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--yx-mid);
  background: var(--yx-silver);
  padding: 3px 9px;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}

.page-news .news-item__more {
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--yx-blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .news-item__more:hover {
  color: var(--yx-orange);
}

.page-news .news-item:hover .news-item__no {
  color: var(--yx-orange);
}

.page-news .news-item:hover .news-item__title {
  color: var(--yx-blue);
}

.page-news .news-item:hover .news-item__dot {
  transform: scale(1.55);
  box-shadow: 0 0 0 5px rgba(30, 93, 156, .1);
}

.page-news .news-list--slim .news-item {
  padding: clamp(16px, 2vw, 22px) 0;
}

/* ---------- 图像 ---------- */
.page-news .yx-frame {
  margin: 0;
  overflow: hidden;
}

.page-news .yx-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-cover {
  margin-top: clamp(22px, 3vw, 34px);
}

.page-news .news-cover--series {
  margin-bottom: clamp(8px, 1.6vw, 16px);
}

.page-news .news-figure {
  aspect-ratio: 3 / 2;
}

.page-news .yx-frame__caption {
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* ---------- 季度刻度 ---------- */
.page-news .news-timeline {
  margin-top: clamp(22px, 3vw, 32px);
  padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.4vw, 30px) clamp(20px, 2.6vw, 30px);
  background: linear-gradient(118deg, var(--yx-deep) 0%, var(--yx-mid) 52%, var(--yx-blue) 100%);
  color: #ffffff;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-news .news-timeline__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(215, 227, 239, .78);
}

.page-news .news-timeline__track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-timeline__tick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
}

.page-news .news-timeline__bar {
  height: 6px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--yx-bright), var(--yx-silver));
  transition: height .24s var(--yx-ease), background .24s var(--yx-ease);
}

.page-news .news-timeline__tick:hover .news-timeline__bar {
  height: 14px;
  background: linear-gradient(90deg, var(--yx-orange), var(--yx-amber));
}

.page-news .news-timeline__q {
  font-family: var(--yx-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(215, 227, 239, .66);
}

.page-news .news-timeline__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: rgba(215, 227, 239, .74);
}

/* ---------- 图文两栏 ---------- */
.page-news .news-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(22px, 3vw, 34px);
}

.page-news .news-split > .news-list {
  margin-top: 0;
  border-top: 1px solid var(--news-hair);
}

@media (min-width: 860px) {
  .page-news .news-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
  }

  .page-news .news-split--flip {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .page-news .news-split--flip .news-figure {
    order: -1;
  }
}

/* ---------- 回溯入口 ---------- */
.page-news .news-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: clamp(22px, 3vw, 34px);
}

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

.page-news .news-paths__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.6vw, 28px);
  background:
    linear-gradient(180deg, rgba(215, 227, 239, .55), rgba(255, 255, 255, 0) 46%),
    #ffffff;
  border-top: 3px solid var(--yx-deep);
}

.page-news .news-paths__item .yx-tag {
  align-self: flex-start;
  font-family: var(--yx-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--yx-mid);
  background: var(--yx-silver);
  padding: 3px 9px;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}

.page-news .news-paths__item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--yx-deep);
}

.page-news .news-paths__item p {
  margin: 0;
  font-size: 14px;
  color: var(--yx-gray);
}

.page-news .news-paths__item .yx-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 520px) {
  .page-news .news-item {
    grid-template-columns: 2.2em 7px minmax(0, 1fr);
    gap: 0 10px;
  }

  .page-news .news-item__no {
    font-size: 11px;
    padding-top: 6px;
  }

  .page-news .news-item__dot {
    width: 7px;
    height: 7px;
    margin-top: 11px;
  }

  .page-news .news-hero__stats {
    gap: 22px 30px;
  }
}

@media (max-width: 400px) {
  .page-news .news-timeline__track {
    gap: 4px;
  }

  .page-news .news-timeline__q {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-item__no,
  .page-news .news-item__dot,
  .page-news .news-item__title,
  .page-news .news-timeline__bar,
  .page-news .news-rail__filter .yx-filter__btn {
    transition: none;
  }

  .page-news .news-item:hover .news-item__dot {
    transform: none;
  }
}
