.clearfix:after {
  /*伪元素是行内元素 正常浏览器清除浮动方法*/
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.banner img {
  width: 100%;
  height: 420px;
}
.contents {
  margin-top: 100px;
}
.title {
  text-align: center;
  margin-bottom: 60px;
}
.title span {
  display: inline-block;
  font-family: MicrosoftYaHei;
  font-size: 20px;
  padding-bottom: 12px;
  cursor: pointer;
}
.title span:hover {
  color: #333;
  border-bottom: 1px solid #333;
}
.span_left {
  color: #333;
  margin-right: 70px;
  border-bottom: 1px solid #333;
}
.span_right {
  color: #999;
}
.ul li {
  float: left;
  width: 30%;
  margin-bottom: 50px;
  box-sizing: border-box;
  /* border-bottom: 1px solid #fff; */
  transition: transform 0.6s;
}
.ul li a{
  display: block;
}
.ul li:hover {
  transform: translateY(-20px);
  transition: transform 0.6s;
  position: relative;
}
.ul li:hover:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #333;
  position: absolute;
  bottom: -40px;
  left: 0;
}
.ul li img {
  width: 373px;
  height: 262px;
}
.p1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: MicrosoftYaHei;
  font-size: 22px;
  color: #333;
  margin-top: 26px;
}
.p2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: MicrosoftYaHei;
  font-size: 14px;
  line-height: 24px;
  color: #999;
  margin-top: 22px;
  overflow: hidden;
  height: 48px;
}

.p2:after {
  content: ' ... ';
  position: absolute;
  bottom: 0;
  right: 0;
}
.li_center {
  margin-left: 40px;
  margin-right: 40px;
}
.ul_2 {
  display: none;
}

/* 分页器 */
.sorts {
  position: relative;
  text-align: center;
  margin-bottom: 110px;
}
.pre {
  margin-bottom: 10px;
  cursor: pointer;
}
.next {
  margin-bottom: 10px;
  margin-left: 35px;
  cursor: pointer;
}
.int {
  display: inline-block;
  padding-bottom: 2px;
  /* font-family: Barlow-Regular; */
  font-family: "bebas";
  font-size: 24px;
  color: #999;
  margin-left: 40px;
}
.int_active {
  color: #333;
  border-bottom: 1px solid #070002;
}
.int:hover {
  color: #333;
}


@media (max-width:768px){
  .clearfix:after {
    /*伪元素是行内元素 正常浏览器清除浮动方法*/
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  .banner img {
    width: 100%;
    height: auto;
  }
  .contents {
    margin-top: 20px;
  }
  .title {
    text-align: center;
    margin-bottom: 20px;
  }
  .title span {
    display: inline-block;
    font-family: MicrosoftYaHei;
    font-size: 15px;
    padding-bottom: 6px;
    cursor: pointer;
  }
  .span_left {
    color: #333;
    border-bottom: 1px solid #333;
  }
  .span_right {
    color: #999;
  }
  .li_center {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .ul li {
    width: 100%;
    margin-bottom: 23px;
  }
  .ul li:hover {
    transform: translateY(0px);
    transition: all 0.3s;
    position: relative;
  }
  .ul li:hover:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #333;
    position: static;
  }
  .ul li a{
    display: block;
    position: relative;
  }
  .ul li img {
    width: 100%;
  }
  .p1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: MicrosoftYaHei;
    font-size: 14px;
    color: #333;
    margin-top: 15px;
  }
  .p2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: MicrosoftYaHei;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    overflow: hidden;
    /*height: 35px;*/
  }

  .p2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .ul_2 {
    display: none;
  }
  
  /* 分页器 */
  .sorts {
    position: relative;
    text-align: center;
    margin-bottom: 110px;
  }
  .pre {
    margin-bottom: 10px;
  }
  .next {
    margin-bottom: 10px;
    margin-left: 35px;
  }
  .int {
    display: inline-block;
    padding-bottom: 2px;
    font-family: Barlow-Regular;
    font-size: 24px;
    color: #999;
    margin-left: 40px;
  }
  .int_active {
    color: #333;
    border-bottom: 1px solid #070002;
  }
  .int:hover {
    color: #333;
  }
  .mobile_add_more {
    display: flex!important;
    justify-content: space-around;
  }
  .mobile_add_more a {
    padding: 10px 0;
    text-align: center;
    background-color: #999;
    color: #fff;
    border-radius: 6px;
    width: 42%;
  }
}