.lemei_history {
  padding: 120px 0;
}

.lemei_history .container {
  display: flex;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

.lemei_history .pic {
  margin-right: 55px;
  width: 54%;
  overflow: hidden;
}

.lemei_history .pic img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: none !important;
}

.lemei_history .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lemei_history .tit h2 {
  text-transform: uppercase;
  margin: 0;
}

.lemei_history .tit p {
  font-size: 20px;
  line-height: 30px;
  margin: 15px 0 0;
}


.lemei_history .txt .list {
  min-height: 540px; 
  overflow: auto;
  margin-top: 40px;
  flex-shrink: 0;
}

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

.lemei_history .txt .list .swiper-slide {
  height: 60px;
  padding-left: 30px;
  border-left: 3px solid #F1F1F1;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lemei_history .txt .list .swiper-slide h5 {
  font-size: 24px;
  font-weight: 500;
  color: #D5D5D5;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.lemei_history .txt .list .swiper-slide .txt {
  display: none;
  font-size: 20px;
  line-height: 33px;
  color: #6B6B6B;
  overflow: visible; 
  margin-top: 8px;
  padding-right: 10px;
}

.lemei_history .txt .list .swiper-slide.swiper-slide-active {
  min-height: 220px; 
  height: auto; 
  padding-top: 8px;
  padding-bottom: 15px; 
}

.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: block; 
}

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

@media screen and (min-width: 1601px) {
  .lemei_history {
    padding: 140px 0;
  }
  .lemei_history .pic {
    margin-right: 80px;
    width: 56%;
  }
  .lemei_history .tit h2 {
    font-size: 52px;
  }
  .lemei_history .tit p {
    font-size: 24px;
    line-height: 36px;
    margin-top: 20px;
  }
  .lemei_history .txt .list {
    min-height: 600px; 
    margin-top: 50px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 70px;
    padding-left: 35px;
  }
  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 28px;
    line-height: 38px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 240px; 
  }
  .lemei_history .txt .list .swiper-slide .txt {
    font-size: 22px;
    line-height: 36px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1600px) {
  .lemei_history {
    padding: 90px 0;
  }
  .lemei_history .pic {
    margin-right: 45px;
  }
  .lemei_history .tit h2 {
    font-size: 42px;
  }
  .lemei_history .tit p {
    font-size: 18px;
    line-height: 26px;
    margin-top: 12px;
  }
  .lemei_history .txt .list {
    min-height: 480px;
    margin-top: 35px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 55px;
    padding-left: 25px;
  }
  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 22px;
    line-height: 32px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 190px; 
  }

  .lemei_history .txt .list .swiper-slide .txt {
    font-size: 18px;
    line-height: 27px;
    margin-top: 6px;
  }
}

@media screen and (max-width: 1367px) {
  .lemei_history {
    padding: 70px 0;
  }
  .lemei_history .pic {
    margin-right: 35px;
    width: 52%;
  }
  .lemei_history .tit h2 {
    font-size: 36px;
  }
  .lemei_history .tit p {
    font-size: 16px;
    line-height: 22px;
  }
  .lemei_history .txt .list {
    min-height: 420px; 
    margin-top: 30px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 50px;
    padding-left: 20px;
  }
  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 20px;
    line-height: 28px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 170px; 
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
    line-height: 32px;
  }
  .lemei_history .txt .list .swiper-slide .txt {
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 990px) {
  .lemei_history {
    padding: 30px 0;
  }
  .lemei_history .container {
    display: block;
    padding: 0 15px;
  }
  .lemei_history .pic {
    width: 100%;
    margin: 0 0 20px;
  }
  .lemei_history .tit {
    margin-bottom: 15px;
  }
  .lemei_history .tit h2 {
    font-size: 30px;
    line-height: 1.2;
  }
  .lemei_history .tit p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
  }
  .lemei_history .txt .list {
    min-height: 380px; 
    margin-top: 15px;
    padding: 0;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 45px;
    padding-left: 18px;
    box-sizing: border-box;
  }
  .lemei_history .txt .list .swiper-slide h5 {
    font-size: 17px;
    line-height: 24px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 150px; 
    padding-bottom: 12px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active h5 {
    font-size: 22px;
    line-height: 28px;
  }
  .lemei_history .txt .list .swiper-slide .txt {
    line-height: 22px;
    margin-top: 5px;
  }
}

@media screen and (max-width: 768px) {
  .lemei_history {
    padding: 20px 0;
  }
  .lemei_history .pic {
    margin-bottom: 15px;
  }
  .lemei_history .tit h2 {
    font-size: 26px;
  }
  .lemei_history .tit p {
    font-size: 15px;
    margin-top: 6px;
  }
  .lemei_history .txt .list {
    min-height: 350px; 
    margin-top: 12px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 40px;
    padding-left: 15px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 140px; 
  }
}

@media screen and (max-width: 480px) {
  .lemei_history {
    padding: 15px 0;
  }
  .lemei_history .pic {
    margin-bottom: 12px;
  }
  .lemei_history .tit h2 {
    font-size: 22px;
  }
  .lemei_history .tit p {
    font-size: 14px;
    margin-top: 5px;
    line-height: 20px;
  }
  .lemei_history .txt .list {
    min-height: 300px; 
    margin-top: 10px;
  }
  .lemei_history .txt .list .swiper-slide {
    height: 38px;
  }
  .lemei_history .txt .list .swiper-slide.swiper-slide-active {
    min-height: 130px; 
  }
  .lemei_history .txt .list .swiper-slide .txt {
    font-size: 14px;
    line-height: 19px;
  }
}