/* ========== page-news 专属样式 ========== */
.page-news {
  /* 基础变量 */
  --timeline-line-color: var(--color-primary);           /* #e63946 */
  --timeline-dot-color: var(--color-secondary);          /* #f4a261 */
  --timeline-line-width: 3px;
  --timeline-dot-size: 16px;
  --card-shadow: 4px 4px 12px rgba(0,0,0,0.1);
  --bg-gradient: linear-gradient(135deg, #f5ebe0 0%, #fce8d9 100%);

  background: var(--bg-gradient);
  color: var(--color-text);
  padding: 1rem 0 3rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 容器复用全局 .container */
.page-news .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 面包屑 */
.page-news .breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.page-news .breadcrumb a {
  color: var(--color-link-hover);
  text-decoration: underline;
}
.page-news .breadcrumb .sep {
  margin: 0 0.4rem;
  color: inherit;
}

/* 主视觉区 */
.page-news__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}
.page-news__hero-logo {
  border-radius: 50%;
  margin-bottom: 1rem;
}
.page-news__hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  font-style: italic;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.page-news__hero-desc {
  font-size: 1.125rem;
  max-width: 600px;
  line-height: 1.6;
  color: #333;
}

/* 标题通用 */
.page-news__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--color-primary);
  margin: 2rem 0 1.5rem;
  position: relative;
}

/* ------ 时间轴 ----- */
.page-news__timeline {
  position: relative;
}
.page-news__timeline::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0;
  bottom: 0;
  width: var(--timeline-line-width);
  background: var(--timeline-line-color);
  border-radius: 2px;
}
.page-news__timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 3rem;
  border: none;
  background: transparent;
}
.page-news__timeline-item[open] .page-news__timeline-content {
  display: block;
}
.page-news__timeline-marker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  padding: 0.5rem 0;
  font-weight: 700;
  font-size: 1.125rem;
}
.page-news__timeline-marker::-webkit-details-marker {
  display: none;
}
.page-news__timeline-dot {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  background: var(--timeline-dot-color);
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  z-index: 1;
}
.page-news__timeline-label {
  color: var(--color-primary);
}
.page-news__timeline-content {
  display: none;
  margin-top: 0.5rem;
  background: var(--color-text);
  color: #222;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}
.page-news__timeline-item[open] .page-news__timeline-content {
  display: block;
}
.page-news__timeline-content p {
  margin: 0 0 1rem;
  line-height: 1.6;
}
.page-news__timeline-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 4px;
}
.page-news .button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.page-news .button:hover {
  background: var(--color-button-hover);
}
.page-news .button--secondary {
  background: var(--color-secondary);
  color: #1a1a1a;
}
.page-news .button--secondary:hover {
  background: var(--color-secondary-hover);
}

/* ------ 使用指南 ------ */
.page-news__guide {
  margin-top: 3rem;
}
.page-news__guide-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.page-news__guide-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s;
}
.page-news__guide-card:hover {
  transform: translateY(-4px);
}
.page-news__guide-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}
.page-news__guide-card p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ------ 数据趋势 ------ */
.page-news__trends {
  margin-top: 3rem;
}
.page-news__trends-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.page-news__trends-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}
.page-news__trends-text {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  line-height: 1.7;
  color: #222;
}
.page-news__trends-text p {
  margin-bottom: 1rem;
}

/* 移动端（默认）→ 桌面端 */
@media (min-width: 768px) {
  .page-news__guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news__trends-content {
    flex-direction: row;
  }
  .page-news__trends-text {
    flex: 1;
  }
  .page-news__trends-image {
    width: 50%;
    max-width: 600px;
  }
  .page-news__timeline::before {
    left: 2rem;
  }
  .page-news__timeline-item {
    padding-left: 4rem;
  }
  .page-news__timeline-dot {
    left: 1.6rem;
  }
}

/* 滚动显现（配合 JS） */
.page-news .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-news .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 优化大屏 */
@media (min-width: 1024px) {
  .page-news__hero {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
  }
  .page-news__hero-title {
    font-size: 4rem;
  }
}
/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .page-news .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
