.page-news {
  --p: 0%;
  --news-edge: 1px solid var(--border);
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-text);
  padding-block: 24px 8px;
}

/* ---------- 首屏 ---------- */
.news-hero {
  padding-block: 20px 56px;
}

.news-hero .breadcrumbs {
  margin-bottom: 32px;
}

.news-hero__grid {
  display: grid;
  gap: 36px;
  margin-top: 28px;
}

.news-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.news-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(38px, 8.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}

.news-hero__text {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.news-hero__figure {
  margin: 0;
  border: var(--news-edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--surface-deep), var(--surface) 70%);
}

.news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* ---------- 章节骨架 ---------- */
.news-section {
  padding-block: 56px;
  border-top: 1px solid var(--border);
}

.news-section .section__head {
  max-width: 62ch;
  margin-bottom: 36px;
}

.news-section .section__index {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-section .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text);
}

.news-section .section__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 01 栏目分类 ---------- */
.news-cats {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-cat {
  --cat: var(--cyan);
}

.news-cat:nth-child(1) { --cat: var(--cyan); }
.news-cat:nth-child(2) { --cat: var(--violet); }
.news-cat:nth-child(3) { --cat: var(--mint); }
.news-cat:nth-child(4) { --cat: var(--coral); }
.news-cat:nth-child(5) { --cat: var(--amber); }

.news-cat a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 128px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cat);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
}

.news-cat a:hover,
.news-cat a:focus-visible {
  border-color: var(--cat);
  border-top-color: var(--cat);
  background: var(--surface-deep);
  transform: translateY(-4px);
}

.news-cat__num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cat);
}

.news-cat__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

.news-cat__meta {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 02 编辑精选 ---------- */
.news-picks {
  display: grid;
  gap: 18px;
}

.news-pick {
  --cat: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.news-pick::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--cat);
  z-index: 1;
}

.news-pick:hover,
.news-pick:focus-within {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.news-pick--lead { --cat: var(--cyan); }
.news-pick--plain { --cat: var(--mint); }

.news-pick__media {
  margin: 0;
  background: linear-gradient(150deg, var(--surface-deep), var(--ink));
}

.news-pick__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

.news-pick__media--slim img {
  aspect-ratio: 16 / 9;
}

.news-pick__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 26px;
}

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

.news-pick__time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.news-pick__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.34;
  color: var(--text);
}

.news-pick--lead .news-pick__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 400;
}

.news-pick__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--text-soft);
}

.news-pick__more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s var(--ease);
}

.news-pick__more:hover,
.news-pick__more:focus-visible {
  border-bottom-color: var(--cyan);
}

.news-pick__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

/* ---------- 标签 ---------- */
.page-news .tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-news .tag--iter { color: var(--cyan); }
.page-news .tag--query { color: var(--violet); }
.page-news .tag--profile { color: var(--mint); }
.page-news .tag--privacy { color: var(--coral); }
.page-news .tag--notice { color: var(--amber); }

/* ---------- 03 最新条目 ---------- */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.news-row {
  --cat: var(--cyan);
  display: grid;
  gap: 10px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.news-row--iter { --cat: var(--cyan); }
.news-row--guide { --cat: var(--violet); }
.news-row--profile { --cat: var(--mint); }
.news-row--privacy { --cat: var(--coral); }
.news-row--notice { --cat: var(--amber); }

.news-row:hover,
.news-row:focus-within {
  background: var(--surface);
  padding-left: 20px;
}

.news-row__tag {
  justify-self: start;
  color: var(--cat);
}

.news-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

.news-row__excerpt {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.news-row__time {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 04 专题系列 ---------- */
.news-series {
  display: grid;
  gap: 12px;
}

.news-series__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.22s var(--ease);
}

.news-series__item:hover,
.news-series__item[data-open="true"] {
  border-color: var(--cyan);
}

.news-series__trigger {
  display: block;
  width: 100%;
  padding: 22px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.news-series__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.news-series__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.news-series__name {
  flex: 1 1 12ch;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}

.news-series__count {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.news-series__track {
  display: block;
  margin-top: 16px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.news-series__fill {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}

.news-series__toc {
  margin: 0;
  padding: 4px 20px 22px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.news-series__toc li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--text-soft);
}

.news-series__toc .mono {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 3px;
}

/* ---------- 05 服务公告 ---------- */
.news-notice-wrap {
  display: grid;
  gap: 32px;
}

.news-notice-intro .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.16;
  color: var(--text);
}

.news-notice-intro .section__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.news-notice-figure {
  margin: 26px 0 0;
  border: var(--news-edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--surface-deep), var(--ink));
}

.news-notice-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

.news-notices {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.news-notice {
  padding: 20px 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.news-notice:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.news-notice__time {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.news-notice__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

.news-notice__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 06 反馈与选题 ---------- */
.news-subscribe {
  padding-bottom: 72px;
  border-top: 0;
}

.news-subscribe__panel {
  padding: 32px 22px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(31, 227, 210, 0.14), transparent 58%),
    linear-gradient(150deg, var(--surface-deep), var(--surface) 72%);
}

.news-subscribe__panel .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.16;
  color: var(--text);
}

.news-subscribe__text {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-soft);
}

.news-subscribe__mail {
  margin: 20px 0 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  word-break: break-all;
}

.news-subscribe__note {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

.news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

  .news-row {
    grid-template-columns: 128px minmax(0, 1fr) 168px;
    align-items: baseline;
    gap: 24px;
    padding: 24px 12px;
  }

  .news-row__time {
    text-align: right;
  }

  .news-row__tag {
    justify-self: start;
  }
}

@media (min-width: 1024px) {
  .page-news {
    padding-block: 40px 16px;
  }

  .news-hero {
    padding-block: 8px 80px;
  }

  .news-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: 64px;
    margin-top: 48px;
  }

  .news-section {
    padding-block: 88px;
  }

  .news-section .section__head {
    margin-bottom: 48px;
  }

  .news-cats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .news-picks {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 22px;
  }

  .news-pick__body {
    padding: 26px 28px 30px;
  }

  .news-notice-wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: start;
    gap: 56px;
  }

  .news-subscribe__panel {
    padding: 52px 56px 56px;
  }
}

@media (min-width: 1280px) {
  .news-hero__grid {
    gap: 84px;
  }

  .news-picks {
    grid-template-columns: minmax(0, 7.4fr) minmax(0, 2.6fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-cat a,
  .news-pick,
  .news-row,
  .news-notice {
    transition: none;
  }

  .news-cat a:hover,
  .news-pick:hover,
  .news-notice:hover {
    transform: none;
  }
}
