.baichen-history-section {
  background: linear-gradient(140deg, #080808 50%, #23262B 100%);
  background-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/category/427473/3155/62a3785604ae4af58cbc702e99c5f18f/2992582e-c147-40fd-81c6-189d998ccdf9.jpg');
  color: #fff;
  padding: 60px 0 0 0;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background-size: cover;
}
.baichen-history-title {
  /* text-align: center; */
  margin-bottom: 40px;
  /* padding: 0 120px; */
}

.baichen-history-subtitle {
  line-height: 1.4;
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 400;
}
.baichen-history-timeline {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 400px;
}
.baichen-history-curve {
  position: absolute;
  left: 0; 
  top: 0;
  width: 100%;
  height: 340px;
  z-index: 1;
  pointer-events: none;
}
.baichen-history-points {
  position: absolute;
  left: 0; 
  top: 0;
  width: 100%;
  height: 180px;
  z-index: 2;
}
.baichen-history-point {
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  color: #fff;
  transition: color 0.3s;
}
.baichen-history-point .baichen-history-date {
  font-size: 14px;
  margin-bottom: 20px;
  color: #fff;
  opacity: 0.5;
  /* transform: translateY(-45px); */
}
.baichen-history-point .baichen-history-name,
.baichen-history-point .baichen-history-location {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  opacity: 0.5;
}
.baichen-history-point .baichen-history-name {
  transform: translateY(25px);
}
.baichen-history-point .baichen-history-location {
  transform: translateY(24px);
}
.baichen-history-point::before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255, 0.2);
  border: 4px solid rgba(255,255,255, 0.23);
  transition: border-color 0.3s, box-shadow 0.3s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.baichen-history-point.active::before {
  background: #fff;
}

/* 光圈效果 */
.baichen-history-point::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(128,128,128, 0.6);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: all 0.3s ease;
}

/* spark 呼吸动画 */
.baichen-history-point.spark::after {
  background: #103152;
  animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    width: 28px;
    height: 28px;
    opacity: 0.6;
  }
  50% {
    width: 40px;
    height: 40px;
    opacity: 0.3;
  }
}

.baichen-history-point.active::before {
  border-color: #fff;
  opacity: 1;
}
.baichen-history-point:nth-child(1).active::before {
  border-color: var(--color-primary);
  opacity: 1;
  background: var(--color-primary);
}
.baichen-history-point.spark::before {
  border: 0;
  background: #135EA9;
  width:18px;
  height:18px;
}
.baichen-history-point.active .baichen-history-location,
.baichen-history-point.active .baichen-history-date,
.baichen-history-point.active .baichen-history-name {
  opacity: 1;
}

@media screen and (max-width:1441px) {
.baichen-history-subtitle{font-size:19px;}
}

@media screen and (max-width:1367px) {
.baichen-history-subtitle{font-size:18px;}
}

@media screen and (max-width:1281px){
.baichen-history-subtitle{font-size:17px;}
.baichen-history-point .baichen-history-name, .baichen-history-point .baichen-history-location{font-size:15px;}
}

@media screen and (max-width:992px){
.baichen-history-subtitle{font-size:16px;}

.baichen-history-point .baichen-history-name, .baichen-history-point .baichen-history-location{font-size:14px;}

.baichen-history-timeline{height:450px;}
.baichen-history-curve{height:450px;}

.baichen-history-point .baichen-history-date{font-size:13px;}

.baichen-history-points .baichen-history-point:nth-child(5) .baichen-history-name{padding:0 50px;}

}

@media screen and (max-width:768px){
.baichen-history-subtitle{margin-top:15px;font-size:15px;}
}

@media screen and (max-width:640px) {
.baichen-history-timeline{display:none;}
}

@media screen and (max-width:480px) {
.baichen-history-subtitle{margin-top:10px;font-size:14px;letter-spacing:0;}
}	





@media (max-width: 768px) {
  .baichen-history-point .baichen-history-name, .baichen-history-point .baichen-history-location {
    font-size:13px;
  }
  .baichen-history-curve,
  .baichen-history-timeline {
    height: 600px;
  }

  .baichen-history-section {
    padding:30px 0;
  }
}

@media (max-width: 576px) {
  .baichen-history-point .baichen-history-name, .baichen-history-point .baichen-history-location {
    font-size: 12px;
  }
  .baichen-history-curve,
  .baichen-history-timeline {
    height: 700px;
  }
}


.baichen-history-box{margin-top:30px;padding:0 15px;position:relative;display:none;}
.baichen-history-box::before{content:'';position:absolute;width:1px;top:0;left:50%;background-color:#DFDFDF;height:calc(100% - 74px);;}
.baichen-history-box .list{position:relative;width:100%;}
.baichen-history-box .list1::before{content:'';position:absolute;width:26px;height:26px;top:0;left:calc(50% - 13px);background:#fff;border-radius:50%;border:8px solid #515151;}
.baichen-history-box .list1::after{content:'';position:absolute;width:26px;height:26px;bottom:0;left:calc(50% - 13px);background:#fff;border-radius:50%;border:8px solid #515151;}

.baichen-history-box .item{position:relative;width:100%;display: flex;}
.baichen-history-box .item+.item{padding-top:30px;}

.baichen-history-box .item:nth-child(2n+1){justify-content:flex-end;}

.baichen-history-box .item .content{position:relative;width:50%;}
.baichen-history-box .item .content .dot{position:absolute;width:12px;height:12px;top:0;right:-6px;}
.baichen-history-box .item .content .dot::before{content:"";position:relative;z-index:2;background:#fff;width:12px;height:12px;border-radius:50%;display:block;}
.baichen-history-box .item .content .dot::after{content:"";background:#515151;position:absolute;left:-10px;right:-10px;top:-10px;bottom:-10px;border-radius:50%;}
.baichen-history-box .item .content .box{position:relative;z-index:10;}
.baichen-history-box .item .content em{font-size:14px;color:#8a8a8a;}
.baichen-history-box .item .content h5{font-size:16px;color:#fff;margin:5px 0;}
.baichen-history-box .item .content p{font-size:14px;color:#8a8a8a;}
.baichen-history-box .item .content p~p{margin-top:10px;}

.baichen-history-box .item:nth-child(2n+2) .content{padding-right:20px;text-align:right;}
.baichen-history-box .item:nth-child(2n+1) .content{padding-left:20px;}
.baichen-history-box .item:nth-child(2n+1) .content .dot{right:auto;left:-6px;}

.baichen-history-box .item:last-child .content .dot::before{background:#135EA9;}
.baichen-history-box .item:last-child .content .dot::after{background:#103152;animation: scale 1.5s ease infinite;}

@keyframes scale{0%{ transform: scale(1); opacity:.9}100%{ transform: scale(1.5); opacity: 0;}}

@media screen and (max-width:640px) {
.baichen-history-timeline{display:none;}
.baichen-history-box{display:block;}
}


