/* ============================================================
   历史沿革时间线组件（仅 HistoricalEvolution 页面引用）
   还原 历史沿革.png 视觉：红色阶段标题框 + 竖线 + 红色圆点
   ============================================================ */
.historyTimeline {
  --ht-red: #c00000;
  --ht-line: rgba(192, 0, 0, 0.28);
  --ht-year-w: 110px;
  --ht-dot-w: 50px;
  --ht-dot-size: 14px;
  --ht-title-fs: 22px;
  --ht-year-fs: 18px;
  --ht-desc-fs: 16px;
  --ht-lh: 1.8;
  --ht-item-gap: 18px;
  color: #1a1a1a;
}

/* 阶段标题：红色描边圆角框 */
.htPhaseTitle {
  display: inline-block;
  margin: 0 0 22px 0;
  padding: 7px 22px;
  font-size: var(--ht-title-fs);
  font-weight: 700;
  color: var(--ht-red);
  border: 1px solid var(--ht-red);
  border-radius: 8px;
  background: #fff;
  line-height: 1.4;
}

.htPhase + .htPhase {
  margin-top: 38px;
}

/* 时间线列表：竖线画在容器上 */
.htList {
  position: relative;
}
.htList::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ht-year-w) + var(--ht-dot-w) / 2);
  width: 2px;
  background: var(--ht-line);
  transform: translateX(-1px);
}

/* 单条：年份 | 圆点 | 描述 */
.htItem {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--ht-item-gap);
}
.htItem:last-child {
  margin-bottom: 0;
}

.htYear {
  flex: 0 0 var(--ht-year-w);
  width: var(--ht-year-w);
  font-size: var(--ht-year-fs);
  font-weight: 700;
  color: #1a1a1a;
  line-height: var(--ht-lh);
}

.htDotCol {
  position: relative;
  flex: 0 0 var(--ht-dot-w);
  width: var(--ht-dot-w);
  display: flex;
  justify-content: center;
}
.htDot {
  width: var(--ht-dot-size);
  height: var(--ht-dot-size);
  margin-top: calc((var(--ht-desc-fs) * var(--ht-lh) - var(--ht-dot-size)) / 2);
  border-radius: 50%;
  background: var(--ht-red);
  box-shadow: 0 0 0 2px #fff;
}

.htDesc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--ht-desc-fs);
  line-height: var(--ht-lh);
  color: #1a1a1a;
}

/* ============ 平板 / 小屏 ≤992 ============ */
@media (max-width: 992px) {
  .historyTimeline {
    --ht-year-w: 92px;
    --ht-dot-w: 42px;
    --ht-dot-size: 12px;
    --ht-title-fs: 20px;
    --ht-year-fs: 16px;
    --ht-desc-fs: 15px;
    --ht-item-gap: 16px;
  }
}

/* ============ 手机 ≤768 ============ */
@media (max-width: 768px) {
  .historyTimeline {
    --ht-year-w: 72px;
    --ht-dot-w: 32px;
    --ht-dot-size: 10px;
    --ht-title-fs: 18px;
    --ht-year-fs: 15px;
    --ht-desc-fs: 15px;
    --ht-lh: 1.75;
    --ht-item-gap: 14px;
  }
  .htPhaseTitle {
    padding: 6px 16px;
    margin-bottom: 18px;
  }
  .htPhase + .htPhase {
    margin-top: 30px;
  }
}

/* ============ 窄屏手机 ≤360 ============ */
@media (max-width: 360px) {
  .historyTimeline {
    --ht-year-w: 64px;
    --ht-dot-w: 28px;
  }
}
