.newsbox h4 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.newsbox h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.newsback:hover {
  color: #fff;
}

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .newsdel h2 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .newsbox h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .newsbox .swiper-slide span {
    font-size: 14px;
    margin-top: 10px;
  }

  .newsbox .swiper-slide h4 {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 7px;
  }

  .newsbox .swiper-slide h5 {
    font-size: 14px;
    line-height: 20px;
  }

  .newsbox {
    padding: 35px 0 50px;
  }

  .newsdel {
    width: 100%;
  }

  .newslast {
    width: 100%;
    margin-top: 30px;
    padding: 35px;
    height: auto;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 767px) {
  .newsdel {
    width: 100%;
    padding: 15px;
  }

  .newsdel h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .newsdel p {
    font-size: 14px;
  }

  .newline {
    margin: 15px 0 20px;
  }

  .news_rel p {
    font-size: 14px;
    line-height: 22px;
  }

  .newsback {
    width: 100%;
    height: 44px;
    margin: 40px auto 0;
    font-size: 14px;
    line-height: 44px;
  }

  .newslast {
    width: 100%;
    padding: 20px;
    height: auto;
    padding-bottom: 60px;
    margin-top: 30px;
  }

  .newslast h2 {
    font-size: 20px;
    line-height: 40px;
  }

  .banner {
    padding: 40px 0 50px;
  }

  .newsbox {
    position: relative;
    padding: 40px 20px 55px;
  }

  .newsbox h2 {
    font-size: 20px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .newsbox .swiper-button-next,
  .newsbox .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .newsbox .swiper-button-next {
    right: 20px;
  }

  .newsbox .swiper-button-prev {
    right: 60px;
  }
}