.page-news {
  background: var(--yx-paper);
  color: var(--yx-ink);
  overflow-x: hidden;
}

.page-news .news-hero,
.page-news .news-section {
  scroll-margin-top: 92px;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 52px;
  background:
    radial-gradient(circle at 88% 10%, rgba(15, 163, 160, 0.30), transparent 44%),
    radial-gradient(circle at 4% 88%, rgba(255, 106, 23, 0.16), transparent 46%),
    linear-gradient(168deg, var(--yx-night) 0%, var(--yx-night-2) 58%, var(--yx-night-3) 100%);
  color: var(--yx-paper);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  top: 58%;
  width: 128%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 211, 206, 0.42) 45%, transparent);
  transform: rotate(-3.4deg);
  pointer-events: none;
}

.page-news .news-hero .yx-crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 32px;
}

.page-news .news-hero .yx-crumbs__link {
  color: rgba(245, 247, 246, 0.68);
  text-decoration: none;
}

.page-news .news-hero .yx-crumbs__link:hover {
  color: var(--yx-lime);
}

.page-news .news-hero .yx-crumbs__sep {
  color: rgba(245, 247, 246, 0.32);
}

.page-news .news-hero .yx-crumbs__current {
  color: var(--yx-lake-soft);
}

.page-news .news-hero__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--yx-lake-soft);
  font-family: var(--yx-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-news .news-hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(38px, 11vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-news .news-hero__lede {
  position: relative;
  z-index: 1;
  max-width: 34em;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245, 247, 246, 0.78);
}

.page-news .news-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--yx-line-dark);
}

.page-news .news-stat__num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--yx-lime);
}

.page-news .news-stat:nth-child(2) .news-stat__num {
  color: var(--yx-lake-soft);
}

.page-news .news-stat:nth-child(3) .news-stat__num {
  color: var(--yx-paper);
}

.page-news .news-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(245, 247, 246, 0.58);
}

.page-news .news-jump {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.page-news .news-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(111, 211, 206, 0.26);
  border-radius: 999px;
  color: rgba(245, 247, 246, 0.84);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-news .news-jump__link:hover,
.page-news .news-jump__link:focus-visible {
  background: rgba(15, 163, 160, 0.20);
  border-color: var(--yx-lake-soft);
  color: #fff;
}

.page-news .news-jump__num {
  font-size: 12px;
  color: var(--yx-lake-soft);
}

/* ---------- 区块框架 ---------- */
.page-news .news-section {
  padding: 52px 0;
}

.page-news .news-section--mist {
  background: var(--yx-mist);
}

.page-news .news-section--dark {
  background: linear-gradient(162deg, var(--yx-night) 0%, var(--yx-night-2) 70%, var(--yx-night-3) 100%);
  color: rgba(245, 247, 246, 0.84);
}

.page-news .news-section--dark .yx-h2,
.page-news .news-section--dark .yx-lede,
.page-news .news-section--dark .yx-chapter__num {
  color: rgba(245, 247, 246, 0.92);
}

.page-news .news-section--dark .yx-chapter__num {
  color: var(--yx-lake-soft);
}

.page-news .news-section--dark .yx-lede {
  color: rgba(245, 247, 246, 0.66);
}

.page-news .news-section > .yx-container > .yx-chapter {
  margin-bottom: 32px;
}

/* ---------- 置顶拼贴 ---------- */
.page-news .news-pins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .news-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-radius);
  box-shadow: var(--yx-shadow);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.page-news .news-pin:hover {
  transform: translateY(-3px);
  box-shadow: var(--yx-shadow-lg);
}

.page-news .news-pin--lead {
  min-height: 340px;
  padding: 0;
  justify-content: flex-end;
  background: var(--yx-night);
  border-color: transparent;
  color: var(--yx-paper);
}

.page-news .news-pin__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.page-news .news-pin--lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(188deg, rgba(10, 26, 51, 0.18) 0%, rgba(8, 20, 38, 0.93) 80%);
  pointer-events: none;
}

.page-news .news-pin--lead .news-pin__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
}

.page-news .news-pin__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-news .news-pin__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--yx-ink);
}

.page-news .news-pin--lead .news-pin__excerpt {
  color: rgba(245, 247, 246, 0.76);
}

.page-news .news-pin__time {
  font-size: 13px;
  color: var(--yx-ink-2);
}

.page-news .news-pin--lead .news-pin__time {
  color: var(--yx-lake-soft);
}

/* ---------- 标签 ---------- */
.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none;
}

.page-news .news-tag::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: currentColor;
}

.page-news .news-tag--review {
  color: #0B7F7D;
  background: var(--yx-lake-wash);
}

.page-news .news-tag--data {
  color: #B44A0E;
  background: var(--yx-orange-wash);
}

.page-news .news-tag--version {
  color: #1C7C77;
  background: rgba(111, 211, 206, 0.22);
}

.page-news .news-tag--plateau {
  color: #4E6274;
  background: rgba(107, 124, 140, 0.16);
}

.page-news .news-section--dark .news-tag--review {
  color: var(--yx-lake-soft);
  background: rgba(15, 163, 160, 0.20);
}

.page-news .news-section--dark .news-tag--data {
  color: #FFB483;
  background: rgba(255, 106, 23, 0.20);
}

.page-news .news-section--dark .news-tag--version {
  color: #9FE3DF;
  background: rgba(111, 211, 206, 0.18);
}

.page-news .news-section--dark .news-tag--plateau {
  color: #BFD0DE;
  background: rgba(107, 124, 140, 0.24);
}

/* ---------- 四个栏目 ---------- */
.page-news .news-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .news-col {
  position: relative;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-radius);
  box-shadow: var(--yx-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .news-col:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 163, 160, 0.34);
}

.page-news .news-col__bar {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.page-news .news-col__bar--review {
  background: var(--yx-lake);
}

.page-news .news-col__bar--data {
  background: var(--yx-orange);
}

.page-news .news-col__bar--version {
  background: var(--yx-lake-soft);
}

.page-news .news-col__bar--plateau {
  background: var(--yx-ink-2);
}

.page-news .news-col__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--yx-night);
}

.page-news .news-col__freq {
  margin: 8px 0 0;
  font-family: var(--yx-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--yx-ink-2);
}

.page-news .news-col__desc {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--yx-ink);
}

.page-news .news-col__sample {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--yx-line-soft);
  font-size: 13.5px;
  color: var(--yx-ink-2);
}

.page-news .news-col--media {
  padding: 0;
  overflow: hidden;
}

.page-news .news-col__img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--yx-night-2);
}

.page-news .news-col--media .news-col__body {
  padding: 22px;
}

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

.page-news .news-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "tag time"
    "main main";
  align-items: center;
  gap: 10px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--yx-line-soft);
  transition: background 0.18s ease;
}

.page-news .news-list__row:hover {
  background: rgba(15, 163, 160, 0.05);
}

.page-news .news-list__row > .news-tag {
  grid-area: tag;
  justify-self: start;
}

.page-news .news-list__main {
  grid-area: main;
}

.page-news .news-list__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--yx-night);
}

.page-news .news-list__excerpt {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--yx-ink-2);
}

.page-news .news-list__time {
  grid-area: time;
  justify-self: end;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--yx-ink-2);
}

.page-news .news-list__gap {
  list-style: none;
  height: 2px;
  margin: 0;
  background: linear-gradient(90deg, var(--yx-lake) 0%, var(--yx-lake-soft) 22%, transparent 72%);
  opacity: 0.6;
}

/* ---------- 专题系列 ---------- */
.page-news .news-series {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-news .news-series__card {
  position: relative;
  padding: 26px 22px 24px;
  background: linear-gradient(158deg, rgba(18, 41, 77, 0.96), rgba(8, 20, 38, 0.98));
  border: 1px solid var(--yx-line-dark);
  border-radius: var(--yx-radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-news .news-series__num {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--yx-lime);
}

.page-news .news-series__title {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-news .news-series__desc {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(245, 247, 246, 0.72);
}

.page-news .news-series__img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  margin: 18px 0 0;
  border-radius: 10px;
  background: var(--yx-night);
}

.page-news .news-series__meta {
  margin: 16px 0 18px;
  font-size: 14px;
  color: rgba(245, 247, 246, 0.66);
}

.page-news .news-series__meta strong {
  font-size: 20px;
  color: var(--yx-lime);
}

.page-news .news-series__card .yx-accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(15, 163, 160, 0.14);
  border: 1px solid var(--yx-line-dark);
  border-radius: 999px;
  color: rgba(245, 247, 246, 0.92);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-news .news-series__card .yx-accordion__head:hover {
  background: rgba(15, 163, 160, 0.26);
  border-color: var(--yx-lake-soft);
}

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

.page-news .news-series__list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(111, 211, 206, 0.14);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 247, 246, 0.78);
}

.page-news .news-series__list li:last-child {
  border-bottom: 0;
}

.page-news .news-plateau {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  margin: 28px 0 0;
}

.page-news .news-plateau__img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--yx-radius);
  border: 1px solid var(--yx-line-dark);
}

.page-news .news-plateau__caption {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 246, 0.6);
}

/* ---------- 订阅与回看 ---------- */
.page-news .news-howto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .news-howto__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--yx-line-soft);
  border-left: 3px solid var(--yx-lake);
  border-radius: var(--yx-radius);
  box-shadow: var(--yx-shadow);
}

.page-news .news-howto__card:nth-child(2) {
  border-left-color: var(--yx-orange);
}

.page-news .news-howto__card:nth-child(3) {
  border-left-color: var(--yx-ink-2);
}

.page-news .news-howto__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--yx-night);
}

.page-news .news-howto__text {
  margin: 0;
  flex: 1;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--yx-ink);
}

.page-news .news-links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--yx-line);
}

.page-news .news-links__lead {
  margin: 0 0 16px;
  font-family: var(--yx-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--yx-ink-2);
}

.page-news .news-links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-news .news-links__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-news .news-links__item:hover {
  border-color: var(--yx-lake);
  background: #fff;
}

.page-news .news-links__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--yx-night);
}

.page-news .news-links__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--yx-ink-2);
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-news .news-hero {
    padding: 118px 0 68px;
  }

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

  .page-news .news-columns,
  .page-news .news-howto,
  .page-news .news-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .news-col__img,
  .page-news .news-series__img {
    height: 200px;
  }

  .page-news .news-plateau {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding: 132px 0 84px;
  }

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

  .page-news .news-stat__num {
    font-size: 36px;
  }

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

  .page-news .news-section > .yx-container > .yx-chapter {
    margin-bottom: 44px;
  }

  .page-news .news-pins {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-pin--lead {
    grid-row: span 2;
    min-height: 420px;
  }

  .page-news .news-pin:not(.news-pin--lead) {
    min-height: 176px;
  }

  .page-news .news-list__row {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    grid-template-areas: "tag main time";
    align-items: baseline;
    gap: 0 24px;
    padding: 20px 0;
  }

  .page-news .news-list__title {
    font-size: 17.5px;
  }

  .page-news .news-series {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-news .news-series__card {
    padding: 32px 28px 30px;
  }

  .page-news .news-howto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-links__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .page-news .news-col__img {
    height: 220px;
  }

  .page-news .news-series__img {
    height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-pin,
  .page-news .news-col,
  .page-news .news-list__row,
  .page-news .news-links__item,
  .page-news .news-jump__link,
  .page-news .news-series__card .yx-accordion__head {
    transition: none;
  }

  .page-news .news-pin:hover,
  .page-news .news-col:hover {
    transform: none;
  }
}
