.banner {
    position: relative;
    display: flex
}
.banner .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
.banner .content .title {
    font-size: .4rem;
    font-weight: bold;
    margin-bottom: .3rem;
    letter-spacing: .1rem;
}
.banner .content .desc {
    font-size: .25rem;
    letter-spacing: .08rem;
    text-wrap: nowrap;
}

/* tab 切换 */
.tab .tab_box {
    text-align: center;
    padding: .33rem 0;
    background-color: #fff;
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.tab_box a {
    font-size: 14px;
    color: #000;
    max-width: 118px;
    width: 25%;
    height: 44px;
    line-height: 44px;
    border-radius: 50px;
    background-color: #f8f8f8;
    cursor: pointer;
}
.tab_box a:hover, .tab_box a.on {
    color: #fff;
    background-color: #0e64c9;
}

/* 案列展示 */
.case_show {
    background-color: #f8f8f8;
}
.case_show .case_box {
    --case_pd: 60px;
    padding: .3rem 0 .6rem;
}
.case_show .case_box .case_list {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .3rem;
}
.case_show .case_box .case_list .item {
    background: #fff;
}
.case_show .case_box .case_list .item:hover .pic img {
    transform: scale(1.1);
}
.case_show .case_box .case_list .item .pic {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    font-size: 16px;
}
.case_show .case_box .case_list .item .pic img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}
.case_show .case_box .case_list .item .content {
    padding: .23rem .2rem;
    line-height: 30px;
}
.case_show .case_box .case_list .item .content .title {
    font-size: 18px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.case_show .case_box .case_list .item .content .desc {
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.case_show .case_box .case_list .item .content .desc span {
    width: 65%;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}
.case_show .case_box .case_list .item .content .desc img {
    vertical-align: middle;
    margin-top: 5px;
    width: auto;
}

.case_show .case_box .pagination {
    margin-top: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.case_show .case_box .pagination a {
    cursor: pointer;
}
.case_show .case_box .pagination a,
.case_show .case_box .pagination span {
    display: inline-block;
    height: 35px;
    padding: 0 14px;
    border: 1px solid #ddd;
    line-height: 35px;
    font-size: 14px;
    border: 1px solid #dfdfdf;
    font-size: 14px;
    color: #333;
    margin: 0 3px;
}
.case_show .case_box .pagination li a:hover, 
.case_show .case_box .pagination li span:hover, 
.case_show .case_box .pagination li.active span {
    border: 1px solid #CA221A;
    background-color: #CA221A;
    color: #fff;
}

.no-data {
    font-size: 30px;
    text-align: center;
}

@media only screen and (max-width: 1600px) {
    /* 案列展示 */
    .case_show .case_box .case_list {
        width: 95%;
    }
}
@media only screen and (max-width: 1023px) {
    /* banner */
    .banner .content .title {
        font-size: 20px;
    }
    .banner .content .desc {
        font-size: 12px;
    }

    /* tab */
    .service_nav a {
        font-size: 12px;
        height: 35px;
        line-height: 35px;
    }

    /* 案列展示 */
    .case_show .case_box .case_list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
     /* 案列展示 */
    .case_show .case_box .case_list {
        grid-template-columns: repeat(2, 1fr);
    }
    .case_show .case_box .case_list .item .content .title {
        font-size: 16px;
    }
    .case_show .case_box .case_list .item .content .desc {
        font-size: 12px;
    }
}

@media only screen and (max-width: 425px) {
    /* banner */
    .banner .content {
        display: none;
    }

     /* tab */
    .service_nav a {
        height: 35px;
        line-height: 35px;
    }

     /* 案列展示 */
    .case_show .case_box .case_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .case_show .case_box .case_list .item .content .desc img {
        width: 20%;
    }
}