.time_line {
  width: 100%;
  max-width: 1280px;
  min-width: 414px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.time_line .hd {
  position: relative;
  overflow: hidden;
  padding: 0 20px; /* 左右边距 */
}
.time_line .hd ul {
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0 20px;
  height: 80px;
  list-style: none;
  white-space: nowrap;
  transition: left 0.5s ease;
}
.time_line .hd ul li {
  margin: 0 auto;
  display: inline-block;
  height: 50px; /* 可自定义 */
  line-height: 50px;
  color: #b5b5b5;
  font-size: 2rem;
  padding-top: 30px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}
.time_line .hd ul li.ontime {
  background: url(../images/d_cur.png) no-repeat center -10px;
  font-size: 3rem;
  color: #007d93;
}
.time_line .hd .prev, .time_line .hd .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
}
.time_line .hd .prev {
  left: 0;
  background: url(../images/prev_time.png) no-repeat center center;
  display: block;
}
.time_line .hd .next {
  right: 0;
  background: url(../images/next_time.png) no-repeat center center;
  display: block;
}
.time_line .bd {
  margin-top: 10px;
}
.time_line .bd ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.time_line .bd ul li {
  display: none;
  width: 90%;
  min-height: 120px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  border: 10px solid #f5f5f5;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.time_line .bd ul li::before {
  /* 核心：用attr()读取自定义属性的值 */
  content: attr(data-bg-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 自适应字号（不变） */
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: rgba(200, 200, 200, 0.3);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(calc(-5deg + (100vw - 320px) / (1920 - 320) * 10deg));
  z-index: -1;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media only screen and (max-width: 991px) {
.time_line .hd ul li {
  font-size: 1.375rem;
}
.time_line .hd ul li.ontime {
  font-size: 1.75rem;
}
}
@media only screen and (max-width: 768px) {
.time_line .hd ul li {
  font-size: 1.25rem;
}
.time_line .hd ul li.ontime {
  font-size: 1.5rem;
}
}
@media only screen and (max-width: 576px) {
.time_line .hd ul li {
  font-size: 1.125rem;
}
.time_line .hd ul li.ontime {
  font-size: 1.375rem;
}
}
@media only screen and (max-width: 414px) {
.time_line .hd ul li {
  font-size: 1rem;
}
.time_line .hd ul li.ontime {
  font-size: 1.25rem;
}
}



