.page-news {
  --news-rule: rgba(143, 166, 184, .18);
  --news-rule-strong: rgba(143, 166, 184, .34);
  --news-ink-text: rgba(4, 18, 31, .74);
}

.page-news a:focus-visible,
.page-news .news-item__title a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.4vw, 44px) 0 clamp(24px, 4vw, 48px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(620px, 78%);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 58% 42%, rgba(255, 90, 31, .22), rgba(255, 90, 31, 0) 64%);
  transform: rotate(-6deg);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--news-rule-strong) 22%, transparent 78%);
  pointer-events: none;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 3.2vw, 40px);
  align-items: end;
}

.page-news .news-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(31px, 6.2vw, 66px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-news .news-hero__accent {
  color: var(--mint);
  display: inline-block;
}

.page-news .news-hero__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(14px, 2vw, 22px);
  display: grid;
  gap: 14px;
  border-left: 1px solid var(--news-rule-strong);
}

.page-news .news-hero__fact-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.page-news .news-hero__fact-label {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 主体两栏 ---------- */
.page-news .news-layout {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
  padding: clamp(24px, 3.6vw, 44px) 0 clamp(40px, 6vw, 78px);
}

.page-news .news-aside {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  align-content: start;
}

/* ---------- 置顶专题 ---------- */
.page-news .news-feature {
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--ink-900);
  overflow: hidden;
  box-shadow: 0 30px 70px -48px rgba(0, 0, 0, .95);
}

.page-news .news-feature__media {
  position: relative;
  background: var(--ink-700);
  aspect-ratio: 1200 / 750;
  overflow: hidden;
}

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

.page-news .news-feature__flag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.4;
}

.page-news .news-feature__body {
  padding: clamp(18px, 2.6vw, 28px);
}

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

.page-news .news-feature__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

.page-news .news-feature__text {
  margin: 12px 0 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--news-ink-text);
}

.page-news .news-feature .link-more {
  color: var(--orange-deep);
  font-weight: 600;
}

.page-news .news-feature__arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--dur) var(--ease);
}

.page-news .news-feature .link-more:hover .news-feature__arrow,
.page-news .news-feature .link-more:focus-visible .news-feature__arrow {
  transform: translateX(4px);
}

/* ---------- 分类胶囊 ---------- */
.page-news .news-cats {
  padding: clamp(16px, 2vw, 20px);
  border: 1px solid var(--news-rule);
  border-radius: var(--radius-lg);
  background: rgba(10, 35, 56, .62);
}

.page-news .news-cats__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-news .news-cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--news-rule-strong);
  background: var(--ink-800);
  font-size: 13px;
  line-height: 1.4;
  color: var(--paper);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .news-cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--mist);
}

.page-news .news-cat--version::before { background: var(--orange); }
.page-news .news-cat--feature::before { background: var(--magenta); }
.page-news .news-cat--data::before { background: var(--mint); }
.page-news .news-cat--notice::before { background: var(--yellow); }

.page-news .news-cat:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
}

.page-news .news-cats__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--news-rule);
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 分类标签 ---------- */
.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.5;
  white-space: nowrap;
}

.page-news .news-tag--version { color: var(--orange); background: rgba(255, 90, 31, .14); }
.page-news .news-tag--feature { color: var(--magenta); background: rgba(226, 62, 122, .14); }
.page-news .news-tag--data { color: var(--mint); background: rgba(51, 242, 192, .14); }
.page-news .news-tag--notice { color: var(--yellow); background: rgba(245, 197, 66, .14); }

/* ---------- 时间线索 ---------- */
.page-news .news-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-news .news-time__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(51, 242, 192, .16);
}

.page-news .news-feature .news-time {
  color: rgba(4, 18, 31, .55);
}

.page-news .news-feature .news-time__dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .18);
}

/* ---------- 列表 ---------- */
.page-news .news-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}

.page-news .news-list-head__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mist);
}

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

.page-news .news-item {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 6px 14px;
  padding: clamp(16px, 2.2vw, 22px) 0;
  border-top: 1px solid var(--news-rule);
  transition: border-color var(--dur) var(--ease);
}

.page-news .news-item:last-child {
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-item:hover {
  border-top-color: var(--news-rule-strong);
}

.page-news .news-item__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

.page-news .news-item__body {
  min-width: 0;
}

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

.page-news .news-item__title {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.page-news .news-item__title a {
  color: var(--paper);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-news .news-item__title a:hover,
.page-news .news-item__title a:focus-visible {
  color: var(--mint);
  background-size: 100% 1px;
}

.page-news .news-item__excerpt {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news .news-item__thumb {
  grid-column: 1 / -1;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--news-rule);
  background: var(--ink-700);
  aspect-ratio: 16 / 9;
}

.page-news .news-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--dur) var(--ease);
}

.page-news .news-item:hover .news-item__thumb img {
  filter: brightness(1.18);
}

/* ---------- 栏目说明 ---------- */
.page-news .news-series {
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid var(--news-rule);
  border-bottom: 1px solid var(--news-rule);
  background: linear-gradient(180deg, rgba(10, 35, 56, .82), rgba(4, 18, 31, .9));
}

.page-news .news-series__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.page-news .news-series__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .news-series__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news .news-series__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-rule);
  background: var(--ink-800);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .news-series__card:hover {
  transform: translateY(-2px);
  border-color: var(--news-rule-strong);
}

.page-news .news-series__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-news .news-series__card-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
  flex: 1;
}

.page-news .news-series__cadence {
  margin: 0;
  padding-top: 12px;
  width: 100%;
  border-top: 1px dashed var(--news-rule-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mint);
}

/* ---------- 更新节奏 ---------- */
.page-news .news-rhythm {
  padding: clamp(34px, 5vw, 66px) 0 clamp(44px, 6vw, 80px);
}

.page-news .news-rhythm__inner {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.page-news .news-rhythm__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-news .news-rhythm__desc {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-rhythm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .news-series__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-news .news-item {
    grid-template-columns: 2.4em minmax(0, 1fr) 118px;
    gap: 6px 18px;
    align-items: start;
  }

  .page-news .news-item__thumb {
    grid-column: auto;
    margin-top: 2px;
    width: 118px;
    height: 90px;
    aspect-ratio: auto;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-news .news-hero__facts {
    justify-self: end;
    min-width: 240px;
  }

  .page-news .news-rhythm__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-news .news-rhythm__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-news .news-cats {
    position: sticky;
    top: 88px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item:hover .news-item__thumb img,
  .page-news .news-cat:hover,
  .page-news .news-series__card:hover,
  .page-news .news-feature .link-more:hover .news-feature__arrow {
    transform: none;
  }

  .page-news .news-item__title a {
    transition: color var(--dur) var(--ease);
  }
}
