#gyzh-container {
  width: 100%;
  height: 2318px;
}

.gyzhBg1 {
  width: 100%;
  height: 1080px;
}

.gyzhBg1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#zhgyzh1 .gyzhBg2 {
  display: flex;
}

.gyzhBg2 {
  width: 100%;
  height: 1238px;
  padding-left: 200px;
  position: relative;
}

.gyzhBg2_img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
}

.gyzhBg2_title {
  font-family: PingFang TC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 32px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.gyzhBg2_left {
  width: 65%;
  z-index: 99;
  position: relative;
  top: 120px;
}

.gyzhBg2_underLine {
  width: 80px;
  height: 4px;
  background: #d7000f;
  margin-top: 20px;
  margin-bottom: 30px;
}

.gyzhBg2_text1 {
  color: #221714;
  font-family: PingFang SC;
  font-weight: 300;
  font-style: Light;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 18px;
}

.gyzhBg2_text2 {
  color: #221714;
  font-family: PingFang SC;
  font-weight: 300;
  font-style: Light;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.gyzhBg2_right {
  width: 10%;
  z-index: 99;
  margin-left: 200px;
  margin-top: 120px;
  /* position: absolute;
  left: 1651px;
  top: 120px; */
}

.gyzhBg2_right_line .gyzhBg2_right_num {
  color: #d7000f;
  display: inline-flex;
  font-family: 'Anton SC', sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 50px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: bottom;
}

.gyzhBg2_right_line .gyzhBg2_right_unit {
  color: #d7000f;
  display: inline-flex;
  font-family: math;
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 4%;
  text-align: center;
  vertical-align: bottom;
  margin-left: 8px;
}

.gyzhBg2_right_line .gyzhBg2_right_text {
  color: #000000;
  margin-top: 12px;
  font-family: PingFang TC;
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

#zhgyzh2 {
  display: none;
}

.timeline-list {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.timeline-item {
  width: 22%;
  position: relative;
}
/* 竖线 */
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #d7000f 0%,
    #d7000f 30%,
    transparent 30%
  );
}

.timeline-year-wrap {
  margin-left: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}
.timeline-year {
  font-size: 42px;
  color: #d7000f;
  font-weight: bold;
}
.timeline-label {
  font-size: 16px;
  color: #dc1f2c;
  opacity: 0.6;
}

/* 描述文本 */
.timeline-desc {
  margin-left: 20px;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}
/* 节点 */
.timeline-dot {
  position: absolute;
  left: -2px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d7000f;
}
/* 虚线 */
.timeline-dash {
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 1px;
  height: 155px;
  background-image: linear-gradient(to bottom, #ccc 50%, transparent 50%);
  background-size: 1px 6px;
}

/* 新增响应式样式 - 放在原有样式之后 */
@media (max-width: 1200px) {
  /* 中等屏幕：调整时间轴布局和字体 */
  .timeline-list {
    flex-wrap: wrap; /* 超出换行 */
    padding: 0 20px;
  }
  .timeline-item {
    width: 45%; /* 一行2个 */
    margin-bottom: 40px;
  }
  .timeline-year {
    font-size: 36px; /* 缩小年份字体 */
  }
  #gyzh-container {
    height: auto; /* 取消固定高度，自适应内容 */
  }
  .gyzhBg2_right_line {
    margin-top: 12px !important; /* 缩小右侧数字间距（覆盖tailwind的mt-16） */
  }
}

@media (max-width: 768px) {
  /* 移动端：单列布局 + 适配移动端样式 */
  .timeline-item {
    width: 100%; /* 一行1个 */
    padding-left: 10px;
  }
  .timeline-year {
    font-size: 30px;
  }
  .timeline-desc {
    font-size: 14px;
    margin-left: 15px;
    line-height: 1.5;
  }
  .timeline-line {
    left: 5px; /* 调整竖线位置 */
  }
  .timeline-dot {
    left: 3px; /* 调整节点位置 */
  }
  .timeline-dash {
    height: 120px; /* 缩短虚线高度 */
  }
  /* 关于我们板块：移动端适配 */
  .gyzhBg2_left {
    width: 100%;
    padding: 0 20px;
  }
  .gyzhBg2_right {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
  }
  .gyzhBg2_right_num {
    font-size: 24px;
  }
  .gyzhBg2_text1,
  .gyzhBg2_text2 {
    font-size: 14px;
    line-height: 1.6;
  }
  /* 取消背景图固定尺寸，自适应 */
  .gyzhBg2_img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  /* 小屏手机：进一步缩小字体和间距 */
  .timeline-year {
    font-size: 24px;
  }
  .timeline-label {
    font-size: 14px;
  }
  .gyzhBg2_title {
    font-size: 20px;
    text-align: center;
  }
  .gyzhBg2_underLine {
    margin: 0 auto;
  }
}

/* 通用自适应规则：解决固定高度问题 */
#gyzh-container {
  min-height: 100%; /* 最小高度撑满屏幕，内容超出时自适应 */
  height: auto !important; /* 强制覆盖原有固定高度 */
}

/* 图片自适应：所有图片不超出容器 */
img {
  max-width: 100%;
  height: auto;
}