﻿.com_serve .com_serve_swiper_par {
    right: 0
}

.pages {
    margin-top: 6.8%
}

.case_list {
    --len: 3;
    --pd: 43px;
    --mt: 48px;
    margin-top: 43px
}

.case_list .item {
    width: calc(100% / var(--len) - var(--pd) * (var(--len) - 1) / var(--len));
    margin-left: var(--pd);
    margin-top: var(--mt)
}

.case_list .item:nth-child(3n + 1) {
    margin-left: 0
}

.case_list .item:nth-child(-n + 3) {
    margin-top: 0
}

.case_list .item:hover .img {
    border-color: var(--color-main)
}

.case_list .item .img {
    padding-bottom: 100%;
    border: 1px solid transparent
}

.case_list .item>a {
    display: block
}

.case_list .item .title {
    margin-top: 20px;
    font-family: Avenir;
    font-weight: 400;
    font-size: 22px;
    color: #000000;
    line-height: 1.3em;
    height: 2.6em;
    overflow: hidden
}

.case_list .item .desc {
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    line-height: 1.875em;
    max-height: 7.5em;
    overflow: hidden
}

.case_list .item .desc * {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.875em;
    color: #666666;
}

@media screen and (max-width:950px) {
    .case_list {
        --len: 1;
        --pd: 0;
        --mt: 20px
    }

    .case_list .item {
        margin-top: var(--mt) !important
    }

    .case_list .item:first-child {
        margin-top: 0 !important
    }

    .case_list .item .title {
        font-size: 18px;
        height: unset
    }

    .case_list .item .desc {
        margin-top: 15px
    }
}