.news_type a:hover,
.news_type a.active {
  background: linear-gradient(-90deg, #ce0000 0%, #f3a800 100%);
  color: #fff;
  text-shadow: none;
}

.news_cnt h4 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news_cnt h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page {
  text-align: center;
  margin-top: 17px;
  margin-bottom: 72px;
}

.page .pagination {
  margin: 0 0;
}

.page .pagination>li>a,
.page .pagination>li>span {
  padding: 0;
  margin: 0 5px;
  text-decoration: none;
  background: #f5f6f8;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 16px;
  font-family: Lato;
  font-weight: 400;
  color: #666666;
  line-height: 38px;
}

.page .pagination>.active>a,
.page .pagination>.active>a:focus,
.page .pagination>.active>a:hover,
.page .pagination>.active>span,
.page .pagination>.active>span:focus,
.page .pagination>.active>span:hover {
  background: linear-gradient(-90deg, #ce0000 0%, #f3a800 100%);
  border: none;
  color: #fff;
}

.page .pagination>li:first-child>a,
.page .pagination>li:first-child>span,
.page .pagination>li:last-child>a,
.page .pagination>li:last-child>span {
  font-size: 26px;
  line-height: 34px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media screen and (max-width: 1199px) and (min-width: 1024px) {
  .banbox {
    left: 5%;
    width: 560px;
    padding: 13px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
  .banbox {
    left: 5%;
    width: 460px;
    padding: 13px;
  }

  .bancnt {
    padding: 20px;
  }

  .bancnt h3 {
    font-size: 28px;
    line-height: 30px;
  }

  .bancnt p {
    font-size: 14px;
    line-height: 20px;
  }

  .news_cnt span {
    font-size: 14px;
  }

  .news_cnt h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .news_cnt h5 {
    font-size: 14px;
    line-height: 22px;
  }
}

@media screen and (max-width: 767px) {
  .banner img {
    height: 150px;
    object-fit: cover;
  }

  .banbox {
    left: 20px;
    width: 58%;
    top: 50%;
    padding: 5px;
  }

  .bancnt {
    padding: 10px 15px;
  }

  .bancnt h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .bancnt p {
    display: none;
  }

  .news_type {
    margin-top: 40px;
  }

  .news_type a {
    width: 100px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    margin-left: 0px;
  }

  .news_line {
    margin-bottom: 25px;
  }

  .news_cnt {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .page {
    margin-top: 10px;
    margin-bottom: 50px;
  }
}