.page-news {
  --news-muted-bg: #F4F7FA;
  --news-gold: #D4AF37;
  --news-gold-light: #F5D76E;
  --news-orange: #FF6B35;
  --news-space: #0B1D3A;
  --news-sky: #102A4C;
  --news-tech: #4A90E2;
  --news-ink: #1A1A2E;
  --news-muted: #5A6B7B;
  --news-border: #E0E5EC;
  --news-radius-lg: 20px;
  --news-radius-md: 12px;
  --news-radius-sm: 8px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #fff;
  color: var(--news-ink);
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ========== 首屏专题封面 ========== */
.news-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--news-space);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  isolation: isolate;
}

.news-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.news-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 29, 58, 0.92) 0%, rgba(11, 29, 58, 0.78) 40%, rgba(16, 42, 76, 0.55) 78%, rgba(212, 175, 55, 0.18) 100%);
  z-index: -1;
}

.news-hero__inner {
  width: min(100% - 2rem, var(--content-max, 1200px));
  margin-inline: auto;
  padding-block: 96px 120px;
}

.news-hero__content {
  max-width: 760px;
}

.news-hero__title {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.news-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.news-hero__lead strong {
  color: var(--news-gold-light);
  font-weight: 600;
}

.news-hero .breadcrumb__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-hero .breadcrumb__item {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.news-hero .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.news-hero .breadcrumb__item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.news-hero .breadcrumb__item a:hover {
  color: var(--news-gold-light);
}

/* ========== 章节通用 ========== */
.page-news .section {
  padding-block: 72px 48px;
}

.page-news .section-head {
  margin-bottom: 48px;
  max-width: 720px;
}

.page-news .eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--news-gold);
  margin: 0 0 12px;
}

.page-news .section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page-news .section-head p:last-child {
  color: var(--news-muted);
  margin: 0;
}

/* ========== 更新公告 · 时间线 ========== */
.news-timeline {
  background: var(--news-muted-bg);
}

.news-timeline__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.news-timeline__intro {
  color: var(--news-muted);
  margin: 0;
}

.news-timeline__layout {
  display: flex;
  gap: 0 32px;
  position: relative;
}

.news-timeline__rail {
  position: relative;
  flex: 0 0 32px;
  display: none;
}

@media (min-width: 768px) {
  .news-timeline__rail {
    display: block;
  }

  .news-timeline__svg {
    position: sticky;
    top: 96px;
    width: 4px;
    display: block;
  }
}

.news-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.news-timeline__item {
  position: relative;
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .news-timeline__item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 32px;
  }
}

.news-timeline__marker {
  display: none;
}

@media (min-width: 768px) {
  .news-timeline__marker {
    display: flex;
    justify-content: flex-end;
    padding-top: 0;
  }

  .news-timeline__badge {
    display: inline-flex;
    align-items: center;
    background: var(--news-space);
    color: var(--news-gold-light);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--news-radius-sm);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    white-space: nowrap;
  }
}

.news-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 29, 58, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 14px 36px rgba(11, 29, 58, 0.1);
  transform: translateY(-4px);
}

.news-card__img {
  border-radius: var(--news-radius-lg) var(--news-radius-lg) 0 0;
  width: 100%;
}

.news-card__img--timeline {
  border-radius: var(--news-radius-lg) var(--news-radius-lg) 0 0;
}

.news-card__body {
  padding: 20px 24px 24px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--news-muted);
}

.news-card__time,
.news-card__version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__time::before,
.news-card__version::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--news-gold);
}

.news-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.news-card__desc {
  color: var(--news-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.news-card__desc strong {
  color: var(--news-ink);
  font-weight: 700;
}

.news-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--news-orange);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.link-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--news-space);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ========== 功能优化 ========== */
.news-features {
  background: #fff;
}

.news-features__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.news-features__desc {
  color: var(--news-muted);
  max-width: 560px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
  margin-bottom: 40px;
}

.news-features__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}

@media (min-width: 760px) {
  .news-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-left: 4px solid var(--news-gold);
  border-radius: var(--news-radius-md);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 29, 58, 0.1);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--news-space);
  color: var(--news-gold-light);
  margin-bottom: 18px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.feature-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list__item {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--news-muted);
  line-height: 1.65;
}

.feature-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 2px;
  background: var(--news-gold);
}

.news-features__chart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--news-space);
  border-radius: var(--news-radius-lg);
  padding: 20px;
  margin-top: 8px;
}

@media (min-width: 900px) {
  .news-features__chart {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.news-features__chart-img {
  border-radius: var(--news-radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-features__chart-note {
  padding: 16px 8px 16px 0;
}

.news-features__chart-note .meta-tag {
  display: inline-block;
  background: var(--news-gold);
  color: var(--news-space);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.news-features__chart-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* ========== 活动与服务 ========== */
.news-services {
  background: var(--news-muted-bg);
}

.news-services__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.news-services__intro {
  color: var(--news-muted);
  margin: 0;
}

.news-services__intro strong {
  color: var(--news-ink);
  font-weight: 700;
}

.news-services__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .news-services__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    align-items: start;
  }
}

.news-services__main {
  min-width: 0;
}

.news-services__banner {
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
}

.news-services__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 29, 58, 0.24) 0%, transparent 45%, rgba(11, 29, 58, 0.12) 100%);
  pointer-events: none;
}

.news-services__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--news-radius-lg);
}

.news-services__tabs {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11, 29, 58, 0.04);
}

.news-services__tablist {
  display: flex;
  flex-wrap: wrap;
  background: var(--news-space);
  gap: 0;
}

.news-services__tab {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease;
  flex: 1 1 auto;
  min-width: 120px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.news-services__tab:hover,
.news-services__tab:focus {
  color: #fff;
  outline: none;
}

.news-services__tab[aria-selected="true"] {
  color: var(--news-gold-light);
  border-bottom-color: var(--news-gold);
  background: rgba(212, 175, 55, 0.08);
}

.news-services__tabpanel {
  padding: 28px 24px;
}

.news-services__tabpanel[hidden] {
  display: none;
}

.news-services__tabpanel-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--news-space);
  margin: 0 0 12px;
}

.news-services__tabpanel p {
  color: var(--news-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.news-services__tabpanel p:first-of-type {
  margin-top: 0;
}

.news-services__dl {
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--news-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 16px;
}

@media (min-width: 480px) {
  .news-services__dl {
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
  }
}

.news-services__dl-item {
  display: contents;
}

.news-services__dt {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--news-space);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-services__dd {
  font-size: 0.9375rem;
  color: var(--news-muted);
  margin: 0;
}

.news-services__aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.panel--aside {
  background: var(--news-space);
  border-radius: var(--news-radius-lg);
  padding: 24px 22px 28px;
  color: rgba(255, 255, 255, 0.85);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.panel__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.panel--aside p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
}

.panel--aside .link-arrow {
  color: var(--news-gold-light);
}

.panel--aside .link-arrow:hover {
  color: #fff;
}

.panel--aside + .panel--aside {
  margin-top: 0;
}

/* ========== 底部关注 CTA ========== */
.news-subscribe {
  background: #fff;
  padding-bottom: 88px;
}

.news-subscribe__inner {
  background: linear-gradient(120deg, var(--news-sky) 0%, var(--news-space) 45%, #0a1a33 100%);
  border-radius: var(--news-radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.news-subscribe__inner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  top: -160px;
  right: -60px;
  pointer-events: none;
}

.news-subscribe__inner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  bottom: -90px;
  right: 40px;
  pointer-events: none;
}

.news-subscribe__text {
  flex: 1 1 300px;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.news-subscribe__title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.news-subscribe .eyebrow {
  color: var(--news-gold);
}

.news-subscribe__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--news-radius-sm);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  border: 2px solid transparent;
  min-height: 48px;
}

.btn:active,
.btn:focus-visible {
  transform: translateY(0);
  outline: 3px solid rgba(255, 107, 53, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--news-orange);
  color: #fff;
  border-color: var(--news-orange);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
  background: #f05720;
  border-color: #f05720;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--news-gold-light);
  border-color: var(--news-gold);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

/* ========== 移动端顺序调整 ========== */
@media (max-width: 767px) {
  .news-hero__inner {
    padding-block: 80px 104px;
  }

  .page-news .section {
    padding-block: 56px 32px;
  }

  .news-card__actions {
    flex-direction: column;
    gap: 10px;
  }

  .news-services__tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .news-services__tab {
    min-width: 130px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .news-subscribe__inner {
    padding: 28px 22px;
  }

  .news-features__chart {
    padding: 12px;
  }
}

/* ========== 动效与减少动效偏好 ========== */
@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.page-news [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-news [data-state="hidden"][data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

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

.page-news .meta-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--news-space);
  background: var(--news-gold-light);
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-news .news-card__meta .meta-tag {
  background: var(--news-gold);
  color: var(--news-space);
}

.page-news .news-features__chart-note .meta-tag {
  background: var(--news-gold);
}

.page-news .news-services__aside .panel__title {
  color: var(--news-gold-light);
}

.page-news .news-subscribe .btn-secondary:focus {
  outline-color: rgba(212, 175, 55, 0.4);
}

/* max-width 之外再补一个桌面极小宽度保护 */
@media (min-width: 768px) and (max-width: 900px) {
  .news-services__layout {
    grid-template-columns: 1fr;
  }

  .news-features__grid {
    grid-template-columns: 1fr;
  }
}
