.page-news {
  --news-orange: #ff6b35;
  --news-orange-light: #ff8c42;
  --news-deep: #0f1a2f;
  --news-primary: #1a2a4a;
  --news-blue: #2a4a7f;
  --news-card-shadow: 0 4px 24px rgba(15, 26, 47, 0.08);
  --news-card-shadow-lg: 0 16px 40px rgba(15, 26, 47, 0.18);
}

/* ===== Hero 区域 ===== */
.page-news .news-hero {
  background: linear-gradient(135deg, #0f1a2f 0%, #1a2a4a 55%, #2a4a7f 100%);
  color: #ffffff;
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -140px;
  width: 380px;
  height: 260px;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.06) 100%);
  transform: rotate(16deg);
  pointer-events: none;
}

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

.page-news .news-hero .breadcrumb {
  margin-bottom: 28px;
}

.page-news .news-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.page-news .news-hero .breadcrumb a:hover {
  color: #ffffff;
}

.page-news .news-hero .section-kicker {
  color: #ff8c42;
  margin-bottom: 12px;
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0;
}

.page-news .news-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  margin-top: 16px;
}

.page-news .news-hero-grid {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.page-news .news-stat {
  min-width: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .news-stat .data-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.page-news .news-stat .data-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* 分类标签 */
.page-news .news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.page-news .news-tab {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-news .news-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.page-news .news-tab:focus-visible {
  outline: 2px solid #ff8c42;
  outline-offset: 2px;
}

.page-news .news-tab.is-active {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border-color: transparent;
  font-weight: 600;
}

/* ===== 最近更新 ===== */
.page-news .news-latest {
  background: #e0e0e0;
}

.page-news .news-latest .section-head {
  margin-bottom: 32px;
}

.page-news .news-feature {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--news-card-shadow);
  margin-bottom: 28px;
}

.page-news .news-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  z-index: 2;
}

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

.page-news .news-feature-body {
  padding: 24px;
}

.page-news .news-feature-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.page-news .news-feature .news-summary {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-top: 12px;
}

.page-news .news-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-news .news-feature-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #1a2a4a;
  background: rgba(26, 42, 74, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

.page-news .news-list {
  display: grid;
  gap: 20px;
}

.page-news .news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--news-card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news .news-card-media {
  position: relative;
}

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

.page-news .news-index {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 26, 47, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}

.page-news .news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-news .news-card--plain {
  border: 1px solid rgba(26, 42, 74, 0.1);
  border-top: 4px solid #ff6b35;
}

.page-news .news-card--plain .news-card-body {
  padding-top: 22px;
}

.page-news .news-card--plain .news-index {
  position: static;
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: #ffffff;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

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

.page-news .news-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.page-news .news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #6b7280;
}

.page-news .news-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.page-news .news-card .news-summary {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

.page-news .news-card:hover .news-summary,
.page-news .news-card:focus-within .news-summary {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

/* ===== 专题聚焦 ===== */
.page-news .news-special {
  background: linear-gradient(135deg, #0f1a2f 0%, #1a2a4a 60%, #2a4a7f 100%);
  color: #ffffff;
}

.page-news .news-special .section-kicker {
  color: #ff8c42;
}

.page-news .news-special .section-title {
  color: #ffffff;
}

.page-news .news-special .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.page-news .special-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-news .special-card {
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-news .special-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.11);
}

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

.page-news .special-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .special-card-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
}

.page-news .special-card-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}

.page-news .special-card--dark {
  background: rgba(15, 26, 47, 0.5);
}

.page-news .special-card--dark .special-card-body {
  padding: 24px;
}

.page-news .special-card-metrics {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news .special-card-metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .special-card-metrics span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.page-news .special-card-metrics strong {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

/* ===== 版本里程碑 ===== */
.page-news .news-milestones {
  background: #ffffff;
}

.page-news .milestone-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.page-news .milestone-item {
  background: #ffffff;
  border: 1px solid rgba(26, 42, 74, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--news-card-shadow);
  border-top: 4px solid #ff6b35;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .milestone-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--news-card-shadow-lg);
}

.page-news .milestone-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.page-news .milestone-item h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.page-news .milestone-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

.page-news .milestone-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ===== 继续探索 ===== */
.page-news .news-links {
  background: #e0e0e0;
}

.page-news .news-links-inner {
  text-align: center;
}

.page-news .news-links-inner .section-title {
  margin-bottom: 12px;
}

.page-news .news-links-inner .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.page-news .news-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ===== 响应式增强 ===== */
@media (min-width: 600px) {
  .page-news .news-hero-stats {
    flex-wrap: nowrap;
  }

  .page-news .news-stat {
    flex: 1;
  }

  .page-news .news-card h3 {
    font-size: 19px;
  }
}

@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 48px 0 56px;
  }

  .page-news .news-hero-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: end;
    gap: 48px;
  }

  .page-news .news-list {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-news .news-card--plain:nth-child(even) {
    border-top-color: #2a4a7f;
  }

  .page-news .milestone-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-news .news-feature-body {
    padding: 32px;
  }

  .page-news .news-feature-body h3 {
    font-size: 26px;
  }
}

@media (min-width: 900px) {
  .page-news .news-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 32px;
  }

  .page-news .news-feature-media {
    min-height: 360px;
  }

  .page-news .news-feature-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }

  .page-news .news-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-news .special-scroll {
    gap: 24px;
  }

  .page-news .special-card {
    min-width: 320px;
    max-width: 360px;
  }

  .page-news .milestone-art {
    width: 62%;
    margin-left: auto;
    transform: translateX(-6%);
  }
}

@media (hover: none) {
  .page-news .news-card .news-summary {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-card,
  .page-news .news-feature,
  .page-news .special-card,
  .page-news .milestone-item {
    transition: none;
  }

  .page-news .news-summary {
    transition: none;
  }
}
