.page-news {
  --news-gap: clamp(56px, 8vw, 100px);
  --news-line: 1px solid rgba(28, 49, 72, 0.9);
  background: var(--deep-ink-900);
  color: var(--warm-beige);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow-x: hidden;
}

.page-news .news-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-news .news-top {
  background: var(--deep-ink-900);
  padding: clamp(18px, 3vw, 30px) 0 0;
}

.page-news .news-top .breadcrumb {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding: clamp(20px, 3.5vw, 34px) 0 0;
}

.page-news .news-frame {
  position: relative;
  border: var(--news-line);
  background:
    linear-gradient(180deg, rgba(18, 34, 51, 0.92) 0%, rgba(11, 22, 34, 0.55) 100%);
  padding: clamp(24px, 4vw, 50px) clamp(20px, 4vw, 46px) clamp(26px, 4vw, 44px);
  box-shadow: 0 1px 0 rgba(46, 230, 168, 0.08);
}

.page-news .news-frame::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--terminal-green) 0%, var(--signal-orange) 62%, rgba(255, 122, 26, 0) 100%);
}

.page-news .news-hero-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--grey-mist);
  text-transform: uppercase;
}

.page-news .news-hero-title {
  margin: 16px 0 20px;
  max-width: 24ch;
  font-family: var(--font-head);
  font-size: clamp(28px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-news .news-hero-lede {
  margin: 0;
  max-width: 66ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: #c3ceda;
}

.page-news .news-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(26px, 4vw, 40px);
  background: var(--ink-700);
  border: var(--news-line);
}

.page-news .news-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--deep-ink-800);
}

.page-news .news-stat-num {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1;
  color: var(--terminal-green);
}

.page-news .news-stat-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--grey-mist);
}

/* ---------- 章节框架 ---------- */
.page-news .news-section {
  padding-top: var(--news-gap);
}

.page-news .news-head {
  max-width: 74ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-news .news-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--terminal-green);
}

.page-news .news-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-news .news-lede {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.85;
  color: #b7c3cf;
}

/* ---------- 图片 ---------- */
.page-news .news-figure {
  margin: 0 0 clamp(22px, 3vw, 30px);
  border: var(--news-line);
  background: var(--deep-ink-800);
}

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

.page-news .news-caption {
  padding: 10px 14px;
  border-top: var(--news-line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey-mist);
}

/* ---------- 更新日志条目 ---------- */
.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 28px;
  padding: 20px 16px 20px 20px;
  border-top: var(--news-line);
  transition: background 0.24s var(--ease);
}

.page-news .news-entry:last-child {
  border-bottom: var(--news-line);
}

.page-news .news-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--ink-700);
  transition: background 0.24s var(--ease);
}

.page-news .news-entry:hover {
  background: rgba(18, 34, 51, 0.6);
}

.page-news .news-entry:hover::before {
  background: var(--signal-orange);
}

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

.page-news .news-entry-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terminal-green);
}

.page-news .news-entry-stage {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--ink-700);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-mist);
}

.page-news .news-entry-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.page-news .news-entry-summary {
  margin: 0 0 12px;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: #b7c3cf;
}

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

.page-news .news-tag {
  padding: 3px 10px;
  border: 1px solid var(--ink-700);
  background: rgba(28, 49, 72, 0.35);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey-mist);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .news-tag:hover {
  color: var(--terminal-green);
  border-color: rgba(46, 230, 168, 0.5);
}

.page-news .news-tag--orange {
  color: #ffb37a;
  border-color: rgba(255, 122, 26, 0.45);
  background: rgba(255, 122, 26, 0.08);
}

.page-news .news-tag--green {
  color: var(--terminal-green);
  border-color: rgba(46, 230, 168, 0.4);
  background: rgba(46, 230, 168, 0.07);
}

/* ---------- 栏目上新卡片 ---------- */
.page-news .news-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ink-700);
  border: var(--news-line);
}

.page-news .news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--deep-ink-800);
  transition: background 0.24s var(--ease);
}

.page-news .news-card:hover {
  background: #16293d;
}

.page-news .news-card-num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal-orange);
}

.page-news .news-card-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.page-news .news-card-desc {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: #b0bccb;
}

/* ---------- 资料库专题 ---------- */
.page-news .topic-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 32px);
}

.page-news .topic-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ink-700);
  border: var(--news-line);
}

.page-news .topic-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
  background: var(--deep-ink-900);
  transition: background 0.24s var(--ease);
}

.page-news .topic-item:hover {
  background: var(--deep-ink-800);
}

.page-news .topic-index {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--terminal-green);
}

.page-news .topic-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.page-news .topic-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #b0bccb;
}

.page-news .topic-meta {
  margin-top: 2px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--grey-mist);
}

.page-news .topic-figure {
  margin: 0;
  border: var(--news-line);
  background: var(--deep-ink-800);
}

.page-news .topic-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 服务通知 ---------- */
.page-news .notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .notice-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 22px 0;
  border-top: var(--news-line);
}

.page-news .notice-item:last-child {
  border-bottom: var(--news-line);
}

.page-news .notice-dot {
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--signal-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.14);
}

.page-news .notice-dot--green {
  background: var(--terminal-green);
  box-shadow: 0 0 0 4px rgba(46, 230, 168, 0.14);
}

.page-news .notice-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
}

.page-news .notice-desc {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: #b7c3cf;
}

.page-news .notice-period {
  grid-column: 2;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--grey-mist);
}

/* ---------- 更新节奏手风琴 ---------- */
.page-news .news-accordion {
  border: var(--news-line);
  background: var(--deep-ink-800);
}

.page-news .news-accordion .accordion-item + .accordion-item {
  border-top: var(--news-line);
}

.page-news .news-acc-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.page-news .news-acc-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--warm-beige);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.page-news .news-acc-trigger:hover {
  background: rgba(255, 122, 26, 0.09);
  color: #fff;
}

.page-news .news-acc-trigger:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}

.page-news .news-acc-trigger[aria-expanded="true"] {
  color: #fff;
}

.page-news .news-acc-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terminal-green);
}

.page-news .news-acc-label {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
}

.page-news .news-acc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ink-700);
  background: transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-news .news-acc-trigger[aria-expanded="true"] .news-acc-dot {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
}

.page-news .news-acc-text {
  margin: 0;
  padding: 0 20px 22px 46px;
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: #b7c3cf;
}

/* ---------- 出口链接 ---------- */
.page-news .news-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ink-700);
  border: var(--news-line);
}

.page-news .news-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--deep-ink-800);
  color: var(--warm-beige);
  text-decoration: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.page-news .news-cta:hover,
.page-news .news-cta:focus-visible {
  background: rgba(255, 122, 26, 0.12);
  color: #fff;
}

.page-news .news-cta:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}

.page-news .news-cta-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terminal-green);
}

.page-news .news-cta-title {
  font-size: 15px;
  line-height: 1.5;
}

.page-news .news-cta-arrow {
  color: var(--signal-orange);
  font-size: 16px;
  transition: transform 0.22s var(--ease);
}

.page-news .news-cta:hover .news-cta-arrow {
  transform: translateX(4px);
}

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

  .page-news .notice-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
  }

  .page-news .notice-period {
    grid-column: 3;
    padding-top: 4px;
    white-space: nowrap;
  }

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

@media (min-width: 760px) {
  .page-news .news-entry {
    grid-template-columns: 116px minmax(0, 1fr);
    padding-inline: 24px 20px;
  }

  .page-news .news-entry-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 2px;
  }

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

@media (min-width: 960px) {
  .page-news .topic-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-acc-text {
    padding-left: 52px;
  }

  .page-news .notice-item {
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-entry,
  .page-news .news-card,
  .page-news .topic-item,
  .page-news .news-cta,
  .page-news .news-cta-arrow,
  .page-news .news-acc-trigger,
  .page-news .news-acc-dot {
    transition: none;
  }

  .page-news .news-cta:hover .news-cta-arrow {
    transform: none;
  }
}
