.lemei_history {
  padding: 6rem 0;
}

.lemei_history .container {
  display: flex;
}

.lemei_history .pic {
  margin-right: 55px;
}

.lemei_history .txt {
  flex: 1;
  overflow: hidden;
}
.lemei_history .is-hidden{
  display: none;
}
.lemei_history .tit h2 {
  font-size:clamp(24px, 2.5vw, 48px);
  text-transform: uppercase;
}
.lemei_history .tit p {
  font-size: 22px;
  line-height: 30px;
  margin-top: 10px;
}

.lemei_history .txt .list {
  height: 470px;
  overflow: hidden;
  margin-top: 60px;
}

.lemei_history .txt .list .swiper {
  height: 100%;
}

.lemei_history .txt .list .swiper-slide {
  height: 48px !important;
  padding-left: 30px;
  border-left: 3px solid #F1F1F1;
  cursor: pointer;
  overflow-y: hidden;
}

.lemei_history .txt .list .swiper-slide h5 {
  font-size: 24px;
  line-height:1.2;
  font-weight: 500;
  color: #D5D5D5;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.lemei_history .txt .list .swiper-slide .txt {
  display: none;
  font-size: 18px;
  line-height:26px;max-height: 104px;
  color: #6B6B6B;
  overflow: hidden;
}

.lemei_history .pic {
  width: 50%;
}

.lemei_history .txt .list .swiper-slide {
  position: relative;
}

.lemei_history .txt .list .swiper-slide.swiper-slide-active {
  height: 216px !important;
}

.lemei_history .txt .list .swiper-slide.swiper-slide-active::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(0deg, var(--color-primary), var(--color-second));
}

.lemei_history .txt .list .swiper-slide.swiper-slide-active .txt {
  display: -webkit-box;
}

.lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
  background: linear-gradient(to right, var(--color-primary) 0%, var(--color-second) 100%);
  font-size: 36px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 1500px) {
  
 
  .lemei_history {
    padding: 120px 0;
  }

  .lemei_history .pic {
    margin-right: 45px;
  }

  .lemei_history .tit h3 {
    font-size: 42px;
  }

  .lemei_history .tit p {
    font-size: 18px;
    line-height: 26px;
  }

  .lemei_history .txt .list {
    height: 400px;
    margin-top: 30px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 34px !important;
    padding-left: 25px;
  }

  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 22px;
  }

}

@media screen and (max-width: 1200px) {
  .lemei_history {
    padding: 90px 0;
  }

  .lemei_history .pic {
    margin-right: 35px;
  }


  .lemei_history .tit p {
    font-size: 16px;
    line-height: 22px;
  }

  .lemei_history .txt .list {
    height: 320px;
    margin-top: 40px;
  }

  .lemei_history .txt .list .swiper-slide {
    height: 30px !important;
    padding-left: 20px;
  }

  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 20px;
  }
 .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    height: 195px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
    font-size: 28px;
  }

  .lemei_history .txt .list .swiper-slide .txt{font-size:16px;line-height:24px;max-height:96px;}
}

@media screen and (max-width: 992px) {
  .lemei_history {
    padding: 40px 0;
  }

  .lemei_history .container {
    display: block;
  }

  .lemei_history .pic {
    margin-right: 0;
  }

  .lemei_history .tit h3 {
    font-size: 32px;
  }

.lemei_history .txt{margin-top:20px;}

  .lemei_history .txt .list {
    height: auto;
    margin-top: 30px;
  }

  .lemei_history .txt .list .swiper-slide {
    height: auto;
    padding-left:0;border-left: none;
  }




  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 18px;
  }

  .lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
    font-size: 30px;
    text-overflow: unset;
    white-space: normal;
  }

  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    height: fit-content;
  }

  .lemei_history .txt .list .swiper-slide .txt {
    line-height: 22px;
    margin-top: 10px;max-height:none;
   display: block !important;
  }

  .lemei_history .pic {
    width: 70%;
    margin:20px auto 0;
  }
}

@media screen and (max-width: 768px) {

.lemei_history{padding:30px 0;}
  
  .lemei_history .tit h3 {
    font-size: 28px;
  }

  .lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
    font-size:26px;
  }

  .lemei_history .pic {
    width: 100%;
  }
}

@media screen and (max-width:576px) {
.lemei_history .txt .list .swiper-slide.swiper-slide-active h5{font-size:24px;}
}

@media screen and (max-width: 480px) {
.lemei_history .tit h3{font-size:24px;}
.lemei_history .tit p{font-size:15px;}
.lemei_history .txt .list .swiper-slide.swiper-slide-active h5{font-size:20px;}
.lemei_history .txt .list .swiper-slide .txt{font-size:15px;}

}