.banner{
    width:100%;
    height:6rem;
}
.banner .swiper-slide a{
    display: block;
    width:100%;
    height:100%;
}
.banner .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.banner .swiper-slide a img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.block{
    width:100%;
    padding:1.4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.block .titlebox{
    width:12.5rem;
    display: flex;
    justify-content: space-between;
}
.block .title{
    font-size:.46rem;
    font-weight: bold;
    color:#333;
}
.block .desc{
    font-size:.18rem;
    color:#999;
}
.block .contain{
    width:12.5rem;
}
.news{
    position: relative;
    width:5.95rem;
    height:4rem;
    margin-top:.5rem;
}
.newsimg{
    width:100%;
    height:100%;
    object-fit: cover;
}
.news:hover .newnames{
  padding: .3rem;

}
.new{
    position: absolute;
    top:0;
    left:0;
    width:1.44rem;
    height:1.42rem;
}
.caselist{
    width:12.5rem;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    flex-wrap: wrap;
}
.caselist .item{
    display: block;
    width:3.8rem;
    margin-top:.5rem;
    border-bottom: 1px solid rgba(0,0,0,0);
    margin-right: 0.54rem;

}
.caselist >.item:nth-child(3n){
  margin-right: 0;
}
.caselist .item .img{
    width:100%;
    height:2.2rem;
    overflow: hidden;
}
.caselist .item .img img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: all .3s;
}
.caselist .item .con{
    width:100%;
    height:2rem;
    padding:.3rem .2rem 0;
    position: relative;
}
.caselist .item .con .line{
    width:2px;
    height:calc(100% - .3rem);
    background:#E6E6E6;
    position: absolute;
    left:0;
    top:.3rem;
    transition: all .3s;
}
.caselist .item .con .yline{
    height:0;
    background:#E6CA22;
    z-index:2;
}
.caselist .item .con .tit{
    margin-bottom:.55rem;
}
.caselist .item .con .date{
    margin-bottom:.3rem;
}
.jiazai{
    margin-top:.5rem;
    cursor: pointer;
}
.newnames{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.2rem .3rem;
  transition: all .3s;
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.2));
}

.newnames .name{
  font-size: 0.22rem;
  line-height: 0.3rem;
  color: #fff;
  font-weight: bold;
}

@media (min-width: 1100px) {
    .jiazai:hover{
        color:#1C5DBF
    }
    .caselist .item:hover .con .yline{
        height:calc(100% - .3rem);
    }
    .caselist .item:hover div{
        color:#1C5DBF
    }
    .caselist .item:hover .img img{
        transform: scale(1.2);
    }
}
@media (max-width: 1100px) {
    .block{
        padding:.8rem .5rem;
    }
    .block .titlebox{
        width:100%;
        flex-wrap: wrap;
    }
    .block .desc {
        font-size: .28rem;
    }
    .block .contain{
        width:100%;
    }
    .news{
        width:10.1rem;
        height:5rem;
    }
    .caselist{
        width:100%;
    }
    .caselist .item{
        width:6.6rem;
      margin-right: 0.6rem;

    }
    .caselist .item .img{
        height:4rem;
    }
    .caselist .item .con{
        height:2.6rem;
    }
}
@media (max-width: 900px) {


}
@media (max-width: 800px) {
    .block{
        padding:.5rem;
    }
    .caselist{
        width:100%;
    }

    .caselist .item{
        width:4.35rem;
      margin-right: 0.47rem;

    }

    .caselist .item .img{
        height:2.8rem;
    }
    .caselist .item .con{
        height:2.4rem;
    }
    .news{
        width:6.75rem;
        height:4rem;
    }
}
@media (max-width: 640px) {
    .block{
        padding:.5rem .3rem;
    }
    .block .desc {
        font-size: .24rem;
    }
    .block .contain{
        flex-wrap: wrap;
    }
  .caselist .item:nth-child(3n){
    margin-right: auto;
  }
    .banner{
        height:3.6rem;
    }

    .caselist .item{
        width:3.3rem;
        margin-top: .4rem;
      margin-right: 0.3rem;

    }
  .caselist .item:nth-child(2n){
    margin-right: 0;
  }
    .caselist .item .img{
        height:2rem;
    }
    .caselist .item .con{
        height:auto;
        padding:.1rem .1rem 0;
    }
    .caselist .item .con .tit {
        margin-bottom: 0;
        overflow: hidden;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        white-space:normal;
    }
    .caselist .item .con .date {
        margin-bottom: .1rem;
    }
    .caselist .item .con .f2 {
        margin-bottom: .1rem;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        box-orient: vertical;
        white-space:normal;
    }
    .news{
        margin-top: .4rem;
        width:100%;
        height:3rem;
    }
    .new {
        width: .9rem;
        height: .9rem;
    }
    .caselist .item .con .line{
        height:100%;
        top:0;
    }
}