.page-news {
  --page-padding: 1rem;
  --section-gap: 3rem;
  --timeline-node-size: 14px;
  --timeline-rail-width: 2px;
  --card-radius: 8px;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 4px 16px rgba(0,0,0,0.10);
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--neutral-light, #F5F5F5);
  color: var(--neutral-dark, #212121);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Roboto', sans-serif);
  line-height: 1.6;
}

/* 面包屑 */
.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem var(--page-padding);
  font-size: 0.8125rem;
  color: var(--neutral-mid, #757575);
  background: var(--white, #FFFFFF);
  border-bottom: 1px solid var(--border, #E0E0E0);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.page-news .breadcrumb-link {
  color: var(--primary, #4CAF50);
  text-decoration: none;
  transition: color 0.2s;
}
.page-news .breadcrumb-link:hover {
  color: var(--primary-dark, #388E3C);
  text-decoration: underline;
}
.page-news .breadcrumb-sep {
  color: var(--border, #E0E0E0);
  font-size: 1rem;
  line-height: 1;
}
.page-news .breadcrumb-current {
  font-weight: 600;
  color: var(--neutral-dark, #212121);
}

/* 首屏横幅 */
.page-news .news-hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--neutral-dark, #212121);
  min-height: 240px;
}
.page-news .news-hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.page-news .news-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 1200 / 600;
}
.page-news .news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33,33,33,0.65) 0%, rgba(33,33,33,0.20) 100%);
  pointer-events: none;
}
.page-news .news-hero-content {
  position: absolute;
  bottom: 1.5rem;
  left: var(--page-padding);
  right: var(--page-padding);
  color: var(--white, #FFFFFF);
  z-index: 2;
}
.page-news .news-hero-title {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.30);
}
.page-news .news-hero-subtitle {
  font-size: 0.9375rem;
  margin: 0;
  opacity: 0.92;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
  font-weight: 400;
}

/* 通用章节头 */
.page-news .section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0 var(--page-padding);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.page-news .section-heading {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--neutral-dark, #212121);
  margin: 0;
  line-height: 1.2;
}
.page-news .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.page-news .badge-primary {
  background: var(--primary, #4CAF50);
  color: var(--white, #FFFFFF);
}
.page-news .badge-accent {
  background: var(--accent, #00BCD4);
  color: var(--white, #FFFFFF);
}
.page-news .badge-secondary {
  background: var(--secondary, #FF9800);
  color: var(--white, #FFFFFF);
}

/* ===== 时间轴 ===== */
.page-news .timeline-section {
  padding: var(--section-gap) 0 1.5rem;
  position: relative;
}
.page-news .timeline-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
}
.page-news .timeline-bg-decoration {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.page-news .timeline-bg-decoration img {
  display: block;
  width: 200px;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
}
.page-news .timeline {
  position: relative;
  z-index: 1;
  padding-left: 1.25rem;
}
.page-news .timeline-rail {
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: var(--timeline-rail-width);
  background: var(--border, #E0E0E0);
  border-radius: 2px;
}
.page-news .timeline-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.page-news .timeline-item {
  position: relative;
  padding-left: 1.25rem;
}
.page-news .timeline-node {
  position: absolute;
  left: -1.25rem;
  top: 1.25rem;
  width: var(--timeline-node-size);
  height: var(--timeline-node-size);
  border-radius: 50%;
  background: var(--node-color, var(--primary, #4CAF50));
  border: 2px solid var(--node-color, var(--primary, #4CAF50));
  box-shadow: 0 0 0 3px var(--white, #FFFFFF), 0 0 0 4px var(--node-color, var(--primary, #4CAF50));
  z-index: 2;
  transform: translateX(-50%);
  left: calc(-1.25rem + var(--timeline-node-size) / 2);
}
.page-news .timeline-card {
  background: var(--white, #FFFFFF);
  border-radius: var(--card-radius);
  padding: 1.125rem 1rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border, #E0E0E0);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.page-news .timeline-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.page-news .timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.page-news .version-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.page-news .timeline-date {
  font-size: 0.75rem;
  color: var(--neutral-mid, #757575);
  font-weight: 400;
}
.page-news .timeline-title {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
  color: var(--neutral-dark, #212121);
  line-height: 1.3;
}
.page-news .timeline-summary {
  font-size: 0.875rem;
  color: var(--neutral-mid, #757575);
  margin: 0 0 0.625rem;
  line-height: 1.5;
}
.page-news .timeline-detail {
  display: none;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border, #E0E0E0);
}
.page-news .timeline-detail.is-visible {
  display: block;
}
.page-news .detail-text {
  font-size: 0.875rem;
  color: var(--neutral-dark, #212121);
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.page-news .btn-small {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  border-radius: 4px;
}
.page-news .timeline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary, #4CAF50);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.page-news .timeline-toggle:hover {
  color: var(--primary-dark, #388E3C);
}
.page-news .toggle-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.page-news .timeline-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

/* ===== 优化日志 ===== */
.page-news .optimization-section {
  padding: 1.5rem 0 var(--section-gap);
  background: var(--white, #FFFFFF);
}
.page-news .optimization-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  align-items: start;
}
.page-news .optimization-icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}
.page-news .optimization-icon-box img {
  display: block;
  width: 80px;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}
.page-news .optimization-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.page-news .optimization-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--neutral-light, #F5F5F5);
  border-radius: var(--card-radius);
  border: 1px solid var(--border, #E0E0E0);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.page-news .optimization-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.page-news .opt-marker {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--primary, #4CAF50);
  color: var(--white, #FFFFFF);
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
}
.page-news .optimization-item[data-index="01"] .opt-marker { background: var(--primary, #4CAF50); }
.page-news .optimization-item[data-index="02"] .opt-marker { background: var(--secondary, #FF9800); }
.page-news .optimization-item[data-index="03"] .opt-marker { background: var(--accent, #00BCD4); }
.page-news .optimization-item[data-index="04"] .opt-marker { background: var(--primary-dark, #388E3C); }
.page-news .opt-content {
  flex: 1;
  min-width: 0;
}
.page-news .opt-title {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.25rem;
  color: var(--neutral-dark, #212121);
  line-height: 1.3;
}
.page-news .opt-desc {
  font-size: 0.8125rem;
  color: var(--neutral-mid, #757575);
  margin: 0;
  line-height: 1.5;
}

/* ===== 品牌视角 ===== */
.page-news .perspective-section {
  padding: var(--section-gap) 0;
}
.page-news .perspective-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem var(--page-padding);
  background: var(--white, #FFFFFF);
  border-radius: var(--card-radius);
  border: 1px solid var(--border, #E0E0E0);
  box-shadow: var(--card-shadow);
  width: calc(100% - 2 * var(--page-padding));
  box-sizing: border-box;
}
.page-news .perspective-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-news .perspective-title {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--neutral-dark, #212121);
  margin: 0;
  line-height: 1.3;
}
.page-news .perspective-paragraph {
  font-size: 0.9375rem;
  color: var(--neutral-dark, #212121);
  margin: 0;
  line-height: 1.7;
}
.page-news .perspective-image-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-news .perspective-image-box img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 800 / 400;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ===== 按钮 ===== */
.page-news .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary, #4CAF50);
  color: var(--white, #FFFFFF);
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.4;
  align-self: flex-start;
}
.page-news .btn-primary:hover {
  background: var(--primary-dark, #388E3C);
  box-shadow: 0 2px 8px rgba(76,175,80,0.30);
}
.page-news .btn-small {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* ===== 返回顶部 ===== */
.page-news .back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #4CAF50);
  color: var(--white, #FFFFFF);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1;
}
.page-news .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.page-news .back-to-top:hover {
  background: var(--primary-dark, #388E3C);
}
.page-news .back-to-top-icon {
  display: inline-block;
  transform: translateY(-1px);
}

/* ===== 桌面端 >= 768px ===== */
@media (min-width: 768px) {
  .page-news {
    --page-padding: 2rem;
    --section-gap: 4rem;
  }
  .page-news .news-hero {
    min-height: 360px;
  }
  .page-news .news-hero-content {
    bottom: 2.5rem;
    left: 2rem;
    right: 2rem;
  }
  .page-news .news-hero-title {
    font-size: 2.5rem;
  }
  .page-news .news-hero-subtitle {
    font-size: 1.125rem;
  }
  .page-news .section-heading {
    font-size: 1.75rem;
  }

  /* 时间轴桌面增强 */
  .page-news .timeline {
    padding-left: 2rem;
  }
  .page-news .timeline-items {
    gap: 2.25rem;
  }
  .page-news .timeline-item {
    padding-left: 1.5rem;
  }
  .page-news .timeline-node {
    width: 16px;
    height: 16px;
    left: calc(-2rem + 8px);
  }
  .page-news .timeline-card {
    padding: 1.25rem 1.5rem;
  }
  .page-news .timeline-bg-decoration {
    display: block;
  }

  /* 优化日志桌面网格 */
  .page-news .optimization-grid {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }
  .page-news .optimization-icon-box {
    justify-content: flex-start;
    padding: 0.5rem 0;
  }
  .page-news .optimization-icon-box img {
    width: 100px;
  }
  .page-news .optimization-item {
    padding: 1.125rem 1.25rem;
  }
  .page-news .opt-marker {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8125rem;
  }
  .page-news .opt-title {
    font-size: 1rem;
  }
  .page-news .opt-desc {
    font-size: 0.875rem;
  }

  /* 品牌视角桌面双栏 */
  .page-news .perspective-card {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .page-news .perspective-title {
    font-size: 1.375rem;
  }
  .page-news .perspective-paragraph {
    font-size: 1rem;
  }
  .page-news .perspective-image-box img {
    aspect-ratio: 800 / 400;
  }

  /* 返回顶部位置调整 */
  .page-news .back-to-top {
    bottom: 4rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

/* ===== 桌面端 >= 1024px ===== */
@media (min-width: 1024px) {
  .page-news .news-hero-title {
    font-size: 3rem;
  }
  .page-news .news-hero-subtitle {
    font-size: 1.25rem;
  }
  .page-news .section-heading {
    font-size: 2rem;
  }
  .page-news .timeline-title {
    font-size: 1.125rem;
  }
  .page-news .perspective-card {
    padding: 2.5rem;
  }
  .page-news .perspective-title {
    font-size: 1.5rem;
  }
}

/* ===== 减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-news .timeline-card,
  .page-news .optimization-item,
  .page-news .back-to-top {
    transition: none;
  }
  .page-news .timeline-card:hover,
  .page-news .optimization-item:hover {
    transform: none;
  }
  .page-news .toggle-icon {
    transition: none;
  }
}

.page-news {
  --node-color: none;
}
