.page-news {
  --news-cat-product: #28F0C8;
  --news-cat-data: #FF8A3D;
  --news-cat-feature: #A6DCFF;
  --news-cat-service: #C7D6D0;
  --news-hair: rgba(232, 241, 237, .13);
  --news-hair-soft: rgba(232, 241, 237, .07);
}

.page-news section.section {
  padding-top: 0;
  padding-bottom: 52px;
}

/* ---------- 页面标题区 ---------- */
.page-news .news-head {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-news .news-head .eyebrow {
  color: var(--c-cyan);
  letter-spacing: .22em;
}

.page-news .news-head .news-title {
  margin: 14px 0 16px;
  max-width: 20ch;
  font-size: clamp(28px, 6.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.5%;
  font-weight: 800;
  color: var(--c-mist);
}

.page-news .news-lead {
  max-width: 46ch;
  margin: 0 0 24px;
  color: var(--c-body);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- 置顶更新 ---------- */
.page-news .news-pinned {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(135deg, rgba(40, 240, 200, .10), rgba(14, 43, 36, .72) 52%, rgba(11, 15, 14, .94));
}

.page-news .news-pinned::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--c-cyan);
}

.page-news .news-pinned-copy {
  padding: 26px 22px 28px 26px;
}

.page-news .news-pinned-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-cyan);
}

.page-news .news-pinned-title {
  margin: 0 0 14px;
  font-size: clamp(21px, 4.2vw, 31px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.3%;
  color: var(--c-mist);
}

.page-news .news-pinned-lead {
  margin: 0 0 18px;
  max-width: 48ch;
  color: var(--c-body);
  font-size: 15px;
  line-height: 1.8;
}

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

.page-news .news-pinned-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-body);
}

.page-news .news-pinned-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--c-cyan);
}

.page-news .news-pinned-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-pinned-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
  opacity: .92;
}

/* ---------- 列表区顶部视觉 ---------- */
.page-news .news-list-banner {
  position: relative;
  margin: 26px 0 22px;
  overflow: hidden;
  border: 1px solid var(--news-hair);
  aspect-ratio: 16 / 9;
}

.page-news .news-list-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .46;
}

.page-news .news-list-banner-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 14, .96) 0%, rgba(11, 15, 14, .6) 48%, rgba(11, 15, 14, .18) 100%);
}

.page-news .news-list-banner-note {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-mist);
}

/* ---------- 分类筛选 ---------- */
.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

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

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--news-hair-soft);
  transition: background-color var(--t-fast) ease;
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  background: rgba(20, 69, 58, .34);
}

.page-news .news-item:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}

.page-news .news-item-rail {
  display: block;
  border-radius: var(--radius);
  background: var(--c-neutral);
  opacity: .42;
  transition: opacity var(--t-fast) ease;
}

.page-news .news-item[data-cat="product"] .news-item-rail { background: var(--news-cat-product); }
.page-news .news-item[data-cat="data"] .news-item-rail { background: var(--news-cat-data); }
.page-news .news-item[data-cat="feature"] .news-item-rail { background: var(--news-cat-feature); }
.page-news .news-item[data-cat="service"] .news-item-rail { background: var(--news-cat-service); }

.page-news .news-item:hover .news-item-rail,
.page-news .news-item:focus-within .news-item-rail {
  opacity: 1;
}

.page-news .news-item-body {
  min-width: 0;
  padding-left: 16px;
}

.page-news .news-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .news-item-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.page-news .news-item-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-neutral);
}

.page-news .news-cat-product::before { background: var(--news-cat-product); }
.page-news .news-cat-data::before { background: var(--news-cat-data); }
.page-news .news-cat-feature::before { background: var(--news-cat-feature); }
.page-news .news-cat-service::before { background: var(--news-cat-service); }

.page-news .news-item-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-neutral);
  padding-left: 10px;
  border-left: 1px solid var(--news-hair);
}

.page-news .news-item-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--c-mist);
}

.page-news .news-item-summary {
  margin: 0;
  max-height: 1.7em;
  overflow: hidden;
  color: var(--c-body);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height var(--t-base) ease, color var(--t-fast) ease;
}

.page-news .news-item:hover .news-item-summary,
.page-news .news-item:focus-within .news-item-summary {
  max-height: 10em;
  color: var(--c-mist);
}

/* ---------- 版本对照 ---------- */
.page-news .news-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--news-hair);
}

.page-news .news-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-news .news-table th,
.page-news .news-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .news-table thead th {
  background: var(--c-ink-mid);
  color: var(--c-mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--glass-line);
}

.page-news .news-table tbody tr:nth-child(even) {
  background: rgba(20, 69, 58, .3);
}

.page-news .news-table tbody tr {
  transition: background-color var(--t-fast) ease;
}

.page-news .news-table tbody tr:hover {
  background: rgba(40, 240, 200, .10);
}

.page-news .news-table td {
  color: var(--c-body);
}

.page-news .news-table td.data-number {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--c-orange);
  letter-spacing: 0;
}

.page-news .news-table tbody tr:hover td:first-child {
  color: var(--c-cyan);
}

.page-news .news-table td:last-child {
  white-space: nowrap;
}

.page-news .news-diff-figure {
  margin: 22px 0 0;
}

.page-news .news-diff-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--news-hair);
  filter: saturate(.85);
}

.page-news .news-diff-figure .media-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-neutral);
}

/* ---------- 更新节奏 ---------- */
.page-news .news-rhythm {
  display: grid;
  gap: 14px;
}

.page-news .news-rhythm-card {
  position: relative;
  padding: 22px 20px 22px 24px;
  border: 1px solid var(--news-hair);
  background: rgba(14, 43, 36, .5);
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}

.page-news .news-rhythm-card::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 2px;
  background: var(--glass-line);
}

.page-news .news-rhythm-card:hover {
  border-color: var(--glass-line);
  background: rgba(20, 69, 58, .55);
}

.page-news .news-rhythm-num {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-cyan);
}

.page-news .news-rhythm-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-mist);
}

.page-news .news-rhythm-card p {
  margin: 0;
  color: var(--c-body);
  font-size: 14.5px;
  line-height: 1.72;
}

.page-news .news-rhythm-card .news-rhythm-meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-neutral);
}

/* ---------- 订阅 ---------- */
.page-news .news-subscribe {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: linear-gradient(160deg, rgba(20, 69, 58, .72), rgba(11, 15, 14, .94));
}

.page-news .news-subscribe-copy {
  padding: 30px 22px 34px;
}

.page-news .news-subscribe-copy .eyebrow {
  color: var(--c-cyan);
  letter-spacing: .22em;
}

.page-news .news-subscribe-title {
  margin: 12px 0 14px;
  font-size: clamp(21px, 4.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.3%;
  color: var(--c-mist);
}

.page-news .news-subscribe-copy > p {
  margin: 0 0 18px;
  max-width: 52ch;
  color: var(--c-body);
  font-size: 15px;
  line-height: 1.78;
}

.page-news .news-subscribe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-news .news-subscribe-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-neutral);
}

.page-news .news-subscribe-note a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-line);
}

.page-news .news-subscribe-note a:hover,
.page-news .news-subscribe-note a:focus-visible {
  border-bottom-color: var(--c-cyan);
}

.page-news .news-subscribe-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-subscribe-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

/* ---------- 窄屏保护 ---------- */
@media (max-width: 480px) {
  .page-news .news-head .news-title {
    max-width: none;
  }

  .page-news .news-item-head {
    gap: 6px;
  }

  .page-news .news-item-time {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- 中等宽度 ---------- */
@media (min-width: 760px) {
  .page-news .news-rhythm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-list-banner {
    aspect-ratio: 16 / 6;
    margin: 32px 0 26px;
  }

  .page-news .news-list-banner-note {
    left: 30px;
    bottom: 22px;
    font-size: 13px;
  }

  .page-news .news-item {
    grid-template-columns: 4px minmax(0, 1fr);
    padding: 24px 0 24px 6px;
  }

  .page-news .news-item-body {
    padding-left: 26px;
  }

  .page-news .news-item-title {
    font-size: 19px;
  }

  .page-news .news-item-summary {
    font-size: 15px;
    max-height: 1.75em;
  }

  .page-news .news-pinned-copy {
    padding: 36px 34px 38px 38px;
  }

  .page-news .news-table th,
  .page-news .news-table td {
    padding: 15px 20px;
  }
}

/* ---------- 桌面宽度 ---------- */
@media (min-width: 900px) {
  .page-news .news-head {
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .page-news .news-pinned {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: stretch;
  }

  .page-news .news-pinned-copy {
    padding: 42px 40px 44px 46px;
  }

  .page-news .news-pinned-media {
    aspect-ratio: auto;
    height: 100%;
    border-top: 0;
    border-left: 1px solid var(--news-hair);
  }

  .page-news .news-diff-figure img {
    aspect-ratio: 21 / 6;
  }

  .page-news .news-subscribe {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
  }

  .page-news .news-subscribe-copy {
    padding: 46px 46px 48px;
  }

  .page-news .news-subscribe-media {
    aspect-ratio: auto;
    height: 100%;
    border-top: 0;
    border-left: 1px solid var(--news-hair);
  }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-item-rail,
  .page-news .news-item-summary,
  .page-news .news-rhythm-card,
  .page-news .news-table tbody tr {
    transition: none;
  }
}
