.page-news {
  --tl-line-width: 4px;
  --tl-dot-size: 18px;
  --tl-rail-gap: 56px;
  background: var(--color-dark);
}

/* ===== Hero 封面区 ===== */
.page-news .news-hero {
  position: relative;
  padding: 56px 0 48px;
  background: linear-gradient(135deg, #081530 0%, #1b2c66 46%, #4b1d8f 100%);
  overflow: hidden;
  color: #fff;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 0%, transparent 72%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -70px;
  top: -70px;
  background: var(--color-accent);
  opacity: 0.2;
  filter: blur(70px);
  border-radius: 50%;
}

.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
}

.page-news .news-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-news .news-hero .breadcrumbs a:hover {
  color: var(--color-accent);
}

.page-news .news-hero .breadcrumbs [aria-current="page"] {
  color: var(--color-accent);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 36px;
}

.page-news .news-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-weight: 900;
  transform: skewX(-3deg);
  color: #fff;
  text-shadow: 3px 3px 0 rgba(255, 107, 53, 0.6);
}

.page-news .news-hero .section-desc {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.page-news .news-hero__actions .btn {
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .news-hero__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.page-news .hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-news .hero-stats__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}

.page-news .hero-stats__num {
  display: block;
  font-family: var(--font-number);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
}

.page-news .hero-stats__label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ===== 精选专题 ===== */
.page-news .news-featured {
  padding: 64px 0 72px;
  background: var(--color-dark);
  color: #fff;
}

.page-news .section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .section-head .section-desc {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 4px 0 0;
}

.page-news .section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
}

.page-news .section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #fff;
  transform: skewX(-2deg);
}

.page-news .news-featured__grid {
  margin-top: 34px;
  display: grid;
  gap: 24px;
}

.page-news .featured-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #152a5c 0%, #0e1c42 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.page-news .featured-card .media-frame {
  overflow: hidden;
  background: var(--color-card);
}

.page-news .featured-card--primary .media-frame {
  aspect-ratio: 2 / 1;
}

.page-news .featured-card--side .media-frame {
  aspect-ratio: 3 / 2;
}

.page-news .featured-card .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .featured-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .featured-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .featured-card h3 {
  margin: 14px 0 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

.page-news .featured-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 0.96rem;
}

.page-news .featured-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.page-news .featured-card__actions .btn {
  text-decoration: none;
}

/* ===== 胶囊标签 ===== */
.page-news .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.page-news .chip--feature {
  background: var(--color-accent);
  color: #fff;
}

.page-news .chip--video {
  background: var(--color-support);
  color: #fff;
}

.page-news .chip--fix {
  background: var(--color-success);
  color: #062b22;
}

.page-news .chip--time {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.page-news .featured-note {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(138, 43, 226, 0.16);
  border: 1px dashed rgba(138, 43, 226, 0.5);
  border-radius: var(--radius-md);
}

.page-news .featured-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
}

.page-news .featured-note a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-news .featured-note a:hover {
  color: var(--color-support);
}

/* ===== 更新列表区 ===== */
.page-news .news-updates {
  background: var(--color-light);
  padding: 64px 0 88px;
  color: var(--color-primary);
}

.page-news .updates-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 36px;
}

.page-news .updates-head .section-desc {
  max-width: 600px;
  margin: 10px 0 0;
  color: rgba(7, 18, 42, 0.72);
  line-height: 1.65;
  font-size: 0.98rem;
}

.page-news .updates-head .section-kicker {
  color: var(--color-accent);
}

.page-news .updates-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--color-primary);
  transform: skewX(-2deg);
}

.page-news .updates-head__link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-news .updates-head__link:hover {
  color: var(--color-support);
}

/* ===== 筛选标签 ===== */
.page-news .timeline-filter-box {
  position: relative;
}

.page-news .timeline-filter {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .timeline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.page-news .timeline-tab {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid rgba(7, 18, 42, 0.12);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-news .timeline-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.page-news .timeline-filter-box:has(#filter-all:checked) .timeline-tab[for="filter-all"],
.page-news .timeline-filter-box:has(#filter-feature:checked) .timeline-tab[for="filter-feature"],
.page-news .timeline-filter-box:has(#filter-video:checked) .timeline-tab[for="filter-video"],
.page-news .timeline-filter-box:has(#filter-fix:checked) .timeline-tab[for="filter-fix"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ===== 时间线容器 ===== */
.page-news .timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: var(--tl-line-width);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-support));
}

.page-news .timeline-item {
  position: relative;
  padding-left: calc(var(--tl-dot-size) + 38px);
}

.page-news .timeline-item__dot {
  position: absolute;
  left: 0;
  top: 30px;
  width: var(--tl-dot-size);
  height: var(--tl-dot-size);
  border-radius: 50%;
  background: var(--color-accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
  z-index: 2;
}

.page-news .timeline-item--video .timeline-item__dot {
  background: var(--color-support);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.2);
}

.page-news .timeline-item--fix .timeline-item__dot {
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(0, 196, 140, 0.18);
}

/* ===== 时间线卡片 ===== */
.page-news .timeline-item__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .timeline-item__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.page-news .timeline-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .timeline-item__date {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(7, 18, 42, 0.6);
}

.page-news .timeline-item__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.38;
  font-weight: 800;
  color: var(--color-primary);
}

.page-news .timeline-item__card p {
  margin: 0 0 12px;
  color: rgba(7, 18, 42, 0.78);
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-news .timeline-item__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 14px 0;
  background: var(--color-card);
}

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

.page-news .timeline-item__details {
  margin: 12px 0;
  border: 1px solid rgba(7, 18, 42, 0.12);
  border-radius: var(--radius-md);
  background: #f9fafc;
}

.page-news .timeline-item__details summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.page-news .timeline-item__details summary::-webkit-details-marker {
  display: none;
}

.page-news .timeline-item__details summary::after {
  content: "+";
  font-family: var(--font-number);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}

.page-news .timeline-item__details[open] summary::after {
  content: "–";
}

.page-news .timeline-item__details ol,
.page-news .timeline-item__details ul {
  margin: 0;
  padding: 0 22px 18px 36px;
  color: rgba(7, 18, 42, 0.78);
  line-height: 1.8;
  font-size: 0.93rem;
}

.page-news .timeline-item__link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  margin-top: 6px;
  font-size: 0.93rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.page-news .timeline-item__link:hover {
  color: var(--color-support);
  transform: translateX(4px);
}

/* ===== 筛选显示/隐藏 ===== */
.page-news .timeline-filter-box:has(#filter-feature:checked) .timeline-item:not(.timeline-item--feature),
.page-news .timeline-filter-box:has(#filter-video:checked) .timeline-item:not(.timeline-item--video),
.page-news .timeline-filter-box:has(#filter-fix:checked) .timeline-item:not(.timeline-item--fix) {
  display: none;
}

/* ===== 桌面端及以上 ===== */
@media (min-width: 640px) {
  .page-news .news-hero__grid {
    grid-template-columns: 1fr 340px;
    align-items: center;
    gap: 48px;
  }

  .page-news .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 0;
  }

  .page-news .news-featured__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .page-news .featured-card--primary {
    grid-column: span 2;
  }

  .page-news .featured-card--side {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .page-news {
    --tl-dot-size: 20px;
    --tl-rail-gap: 64px;
  }

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

  .page-news .news-featured {
    padding: 84px 0 88px;
  }

  .page-news .news-featured__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
  }

  .page-news .featured-card--primary {
    grid-column: span 7;
  }

  .page-news .featured-card--side {
    grid-column: span 5;
  }

  .page-news .featured-card__body {
    padding: 28px;
  }

  .page-news .news-updates {
    padding: 88px 0 104px;
  }

  /* 时间线切换为中央轨道 + 左右交替卡片 */
  .page-news .timeline {
    gap: 32px;
  }

  .page-news .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-news .timeline-item {
    display: grid;
    grid-template-columns: 1fr var(--tl-rail-gap) 1fr;
    align-items: center;
    padding-left: 0;
  }

  .page-news .timeline-item__card {
    grid-column: 1;
    grid-row: 1;
  }

  .page-news .timeline-item:nth-child(even) .timeline-item__card {
    grid-column: 3;
  }

  .page-news .timeline-item__dot {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
  }

  .page-news .timeline-item__card:hover {
    transform: translateY(-5px);
  }
}

@media (min-width: 1180px) {
  .page-news .news-hero__grid {
    grid-template-columns: 1fr 420px;
  }

  .page-news .hero-stats {
    gap: 18px;
  }

  .page-news .hero-stats__item {
    padding: 20px 14px;
  }

  .page-news .hero-stats__num {
    font-size: 1.9rem;
  }

  .page-news .featured-card__body {
    padding: 32px;
  }

  .page-news .featured-card h3 {
    font-size: 1.5rem;
  }
}

/* ===== 减少动态偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation: none !important;
    transition: none !important;
  }
}
