/* ===== 页面专属：内容专栏 (page-news) ===== */
.page-news {
  --news-bg: var(--color-primary-dark-green);
  --news-gold: var(--color-accent-dark-gold);
  --news-neon: var(--color-accent-neon-green);
  --news-border: var(--color-border-gold);
  --news-text: var(--color-text-white);
  --news-card-bg: #0f2a1d;
  --news-card-hover-bg: #143522;
  --news-tab-bg: transparent;
  --news-tab-active-bg: rgba(57, 255, 20, 0.08);
  --news-timeline-color: var(--color-accent-dark-gold);
  --news-timeline-dot: var(--color-accent-neon-green);
  --news-font-heading: var(--font-heading);
  --news-font-body: var(--font-body);
  --news-font-data: var(--font-data);

  background-color: var(--news-bg);
  color: var(--news-text);
  font-family: var(--news-font-body);
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* ===== 面包屑 ===== */
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--news-font-body);
}
.news-breadcrumb a {
  color: var(--news-gold);
  text-decoration: none;
  transition: color 0.2s;
}
.news-breadcrumb a:hover,
.news-breadcrumb a:focus {
  color: var(--news-neon);
  outline: none;
}
.news-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
}
.news-breadcrumb [aria-current="page"] {
  color: var(--news-text);
  font-weight: 600;
}

/* ===== 页面标题区 ===== */
.news-header {
  padding: 1.5rem 0 2rem;
  border-bottom: 2px solid var(--news-border);
  margin-bottom: 2rem;
  position: relative;
}
.news-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--news-neon);
}
.news-header-title {
  font-family: var(--news-font-heading);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--news-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.news-header-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

/* ===== 筛选标签组 ===== */
.news-filter {
  margin-bottom: 2.5rem;
}
.news-tab-list {
  display: flex;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  flex-wrap: wrap;
}
.news-tab {
  font-family: var(--news-font-heading);
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
  background: var(--news-tab-bg);
  color: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  outline: none;
}
.news-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 3px;
  background-color: var(--news-neon);
  transition: transform 0.25s ease;
}
.news-tab:hover,
.news-tab:focus {
  color: var(--news-text);
  background: var(--news-tab-active-bg);
}
.news-tab:focus-visible {
  outline: 2px solid var(--news-neon);
  outline-offset: 2px;
}
.news-tab[aria-selected="true"] {
  color: var(--news-neon);
  background: var(--news-tab-active-bg);
}
.news-tab[aria-selected="true"]::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===== 面板容器 ===== */
.news-panel {
  display: none;
  animation: newsFadeIn 0.4s ease;
}
.news-panel.is-active {
  display: block;
}
.news-panel-inner {
  padding: 0.5rem 0;
}
@keyframes newsFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== 区块标题 ===== */
.news-section-block {
  margin-bottom: 3.5rem;
}
.news-section-title {
  font-family: var(--news-font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--news-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
  border-left: 4px solid var(--news-neon);
  padding-left: 1rem;
}
.news-section-title-icon {
  font-size: 1.3em;
  line-height: 1;
}

/* ===== 时间轴区域 ===== */
.timeline-area {
  display: flex;
  gap: 1.5rem;
  position: relative;
}
.timeline-rail {
  position: relative;
  flex: 0 0 40px;
  min-height: 100%;
  display: none;
}
.timeline-bg {
  display: none;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(to bottom, var(--news-timeline-color), var(--news-neon));
  border-radius: 2px;
}
.timeline-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.timeline-card {
  position: relative;
  padding-left: 1.2rem;
}
.timeline-dot {
  display: none;
}
.timeline-card-inner {
  background: var(--news-card-bg);
  border-left: 3px solid var(--news-border);
  padding: 1.2rem 1.5rem;
  border-radius: 0 6px 6px 0;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
}
.timeline-card-inner:hover {
  background: var(--news-card-hover-bg);
  border-color: var(--news-neon);
  transform: translateX(4px);
}
.timeline-card-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  display: block;
  opacity: 0.7;
}
.timeline-card-title {
  font-family: var(--news-font-heading);
  font-size: 1.1rem;
  color: var(--news-text);
  margin: 0 0 0.4rem;
  letter-spacing: 0.01em;
}
.timeline-card-summary {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 0.6rem;
}
.timeline-card-time {
  display: inline-block;
  font-family: var(--news-font-data);
  font-size: 0.82rem;
  color: var(--news-neon);
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* ===== 分析文章网格 ===== */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.analysis-card {
  background: var(--news-card-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.analysis-card:hover {
  border-color: var(--news-neon);
  background: var(--news-card-hover-bg);
  transform: translateY(-3px);
}
.analysis-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.analysis-card-body {
  padding: 1.2rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.analysis-card-title {
  font-family: var(--news-font-heading);
  font-size: 1.05rem;
  color: var(--news-text);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
.analysis-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0 0 0.8rem;
  flex: 1;
}
.analysis-card-tag {
  font-family: var(--news-font-data);
  font-size: 0.78rem;
  color: var(--news-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 0.6rem;
}

/* ===== 指南更新列表 ===== */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.guide-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--news-card-bg);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  border-left: 3px solid var(--news-border);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.guide-item:hover {
  background: var(--news-card-hover-bg);
  border-color: var(--news-neon);
  transform: translateX(4px);
}
.guide-item-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.75;
  margin-top: 0.2rem;
}
.guide-item-body {
  flex: 1;
  min-width: 0;
}
.guide-item-title {
  font-family: var(--news-font-heading);
  font-size: 1rem;
  color: var(--news-text);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}
.guide-item-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 0.3rem;
}
.guide-item-date {
  font-family: var(--news-font-data);
  font-size: 0.78rem;
  color: var(--news-neon);
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* ===== 更多链接 ===== */
.news-section-more {
  margin-top: 1.5rem;
  text-align: right;
}
.news-section-more .btn {
  display: inline-block;
  padding: 0.55rem 1.8rem;
  font-family: var(--news-font-heading);
  font-size: 0.85rem;
  color: var(--news-gold);
  background: transparent;
  border: 2px solid var(--news-border);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  text-transform: uppercase;
  cursor: pointer;
}
.news-section-more .btn:hover,
.news-section-more .btn:focus {
  color: var(--news-neon);
  border-color: var(--news-neon);
  background: rgba(57, 255, 20, 0.06);
  outline: none;
}

/* ===== 快速入口 ===== */
.news-quick-links {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.news-quick-links-title {
  font-family: var(--news-font-heading);
  font-size: 1.1rem;
  color: var(--news-gold);
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.news-quick-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.news-quick-links-list .btn {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  font-family: var(--news-font-heading);
  font-size: 0.82rem;
  color: var(--news-gold);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  text-transform: uppercase;
}
.news-quick-links-list .btn:hover,
.news-quick-links-list .btn:focus {
  color: var(--news-neon);
  border-color: var(--news-neon);
  background: rgba(57, 255, 20, 0.06);
  outline: none;
}

/* ===== 桌面端 (min-width: 768px) ===== */
@media (min-width: 768px) {
  .news-header {
    padding: 2rem 0 2.5rem;
    margin-bottom: 2.5rem;
  }
  .news-header-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
  }
  .news-header-desc {
    font-size: 1.08rem;
  }

  .news-tab {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  /* 时间轴展开 */
  .timeline-rail {
    display: block;
    flex: 0 0 60px;
    position: relative;
  }
  .timeline-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: auto;
    object-fit: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
  }
  .timeline-line {
    z-index: 1;
  }
  .timeline-dot {
    display: block;
    position: absolute;
    left: -1.2rem;
    top: 1.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--news-timeline-dot);
    border: 3px solid var(--news-bg);
    box-shadow: 0 0 0 3px var(--news-timeline-color);
    z-index: 2;
    flex-shrink: 0;
  }
  .timeline-card {
    padding-left: 0;
  }
  .timeline-card-inner {
    margin-left: 0;
  }
  .timeline-card-icon {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }
  .timeline-card-title {
    padding-right: 3rem;
  }

  /* 分析网格多列 */
  .analysis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-card-img {
    height: 200px;
  }

  /* 指南列表更宽 */
  .guide-item {
    padding: 1.2rem 1.5rem;
  }
  .guide-item-icon {
    width: 52px;
    height: 52px;
  }

  .news-section-more {
    margin-top: 2rem;
  }
}

/* ===== 宽屏桌面 (min-width: 1024px) ===== */
@media (min-width: 1024px) {
  .timeline-rail {
    flex: 0 0 80px;
  }
  .timeline-card-inner {
    padding: 1.5rem 2rem 1.5rem 2rem;
  }
  .timeline-card-icon {
    width: 42px;
    height: 42px;
  }
  .analysis-grid {
    gap: 2rem;
  }
  .analysis-card-img {
    height: 220px;
  }
  .news-quick-links-list {
    gap: 1rem;
  }
  .news-quick-links-list .btn {
    padding: 0.6rem 1.8rem;
    font-size: 0.85rem;
  }
}

/* ===== 确保图片响应式 ===== */
.page-news img {
  max-width: 100%;
  height: auto;
}

/* ===== 通用按钮复用 (全局已有 .btn, 这里补充样式) ===== */
.page-news .btn {
  display: inline-block;
  font-family: var(--news-font-heading);
  letter-spacing: 0.05em;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.page-news .btn:focus-visible {
  outline: 2px solid var(--news-neon);
  outline-offset: 3px;
}

/* ===== 选中面板高亮 ===== */
.news-panel.is-active .news-section-title {
  border-left-color: var(--news-neon);
}

/* ===== 面板切换平滑 ===== */
.news-panel {
  transition: opacity 0.3s ease;
}
