/*解决方案*/
body {
    background: #F3F4F7;
}
/*banner*/
.cases-banner {
    height: 460px;
    padding-top: 145px;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url('/static/index/img/cases/banner.jpg');
}
.cases-banner h1 {
    margin-bottom: 20px;
    font-size: 40px;
    text-align: center;
}
.cases-banner p {
    font-size: 24px;
    color: #666;
    text-align: center;
}
.case-tab .tab-content {
    display: flex;
    gap: 50px;
    padding: 30px 0;
}
.case-tab .tab-content .tab-item {
    position: relative;
    height: 52px;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    cursor: pointer;
    transition: all .3s;
}
.case-tab .tab-content .tab-item a {
    color: #333;
}
.case-tab .tab-content .tab-item.active {
    color: #CF252D;
}
.case-tab .tab-content .tab-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    left: 50%;
    height: 4px;
    background: #CF252D;
    transition: all .3s;

}
.case-tab .tab-content .tab-item.active:after {
    right: 10px;
    left: 10px;
}
.case-tab .tab-content .tab-item.active a {
    color: #CF252D;
}
.case-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 0 50px;
}
.case-list .item {
    transition: all .5s;
}
.case-list .item a {
    display: block;
    height: 385px;
    background: #fff;
}
.case-list .item .img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.case-list .item .content {
    padding: 15px 18px;
}
.case-list .item h3 {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
    color: #333;
}
.case-list .item p {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.case-list .item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
}
/* 案例详情 */
.case-detail-container {
    padding: 60px 0 0;
    background: #fff;
}
.case-detail-container .case-detail {
    display: flex;
    gap: 40px;
}
.case-detail-container .case-detail .left {
    flex: 1;
}
.case-detail-container .case-detail .right {
    width: 320px;
    padding-top: 65px;
}
.case-detail-container .section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 3px solid #D43030;
}
.case-detail-container .section-title:before {
    content: '';
    width: 12px;
    height: 24px;
    background: #CF252D;
}
/*案例详情*/
.case-detail-container .case-content .case-name {
    height: 65px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}
.case-detail-container .case-content .case-desc {
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}
.case-detail-container .case-content .case-mobile-img {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}
.case-detail-container .case-content .case-mobile-img img {
    max-width: 30%;
}
.case-detail-container .case-content .case-img {
    gap: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.case-detail-container .case-content .case-img img {
    max-width: 100%;
}
/*相关报道*/
.case-detail-container .case-news {
    margin-top: 60px;
}
.case-detail-container .case-news .news-list .item {
    display: flex;
    align-items: stretch;
    gap: 22px;
    margin-bottom: 30px;
	border-bottom: 1px dashed #ccc;
	padding-bottom: 30px;
}
.case-detail-container .case-news .news-list .item .news-img {
    flex-shrink: 0;
    width: 230px;
    height: 150px;
    overflow: hidden;
}
.case-detail-container .case-news .news-list .item .news-img .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s;
}
.case-detail-container .case-news .news-list .item:hover .news-img .img {
    transform: scale(1.05);
}
.case-detail-container .case-news .news-list .item .news-content {
    display: flex;
    flex-direction: column;
}
.case-detail-container .case-news .news-list .item .news-content .hd {
    flex: 1;
}
.case-detail-container .case-news .news-list .item .news-content .news-title {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    transition: all .4s;
}
.case-detail-container .case-news .news-list .item .news-content .news-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 16px;
    color: #666;
}
.case-detail-container .case-news .news-list .item .news-content .news-time {
    font-size: 14px;
    color: #666;
	margin-top: 10px;
}
.case-detail-container .case-news .news-list .item .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-detail-container .case-news .news-list .item .arrow-icon .iconfont {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 38px;
    color: #999;
    text-align: center;
    border: 1px solid #999;
    border-radius: 50%;
    transition: all .4s;
}
.case-detail-container .case-news .news-list .item:hover .news-content .news-title {
    color: #CF252D;
}
.case-detail-container .case-news .news-list .item:hover .arrow-icon .iconfont {
    color: #fff;
    background: #CF252D;
    border: 1px solid #CF252D;
}
.case-detail-container .service-list .item {
    display: block;
    margin-bottom: 16px;
    background: #E5E5E5;
    overflow: hidden;
}
.case-detail-container .service-list .item .img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.case-detail-container .service-list .item p {
    padding: 14px 15px;
    color: #333;
}
.case-detail-container .service-list .item:hover p {
    color: #CF252D;
}
/* 小屏幕（手机横屏/小平板） */
@media (max-width: 991px) {
    body {
        background: #fff;
    }
    /*banner*/
    .cases-banner {
        position: relative;
        height: auto;
        padding: 0;
        background: none;
    }
    .cases-banner .bg {
        display: block;
        width: 100%;
    }
    .cases-banner .banner-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .cases-banner h1 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .cases-banner p {
        margin-bottom: 10px;
        font-size: 15px;
    }
    .cases-banner .banner-content img {
        width: 42vw;
    }
    .case-tab .tab-content {
        gap: 40px;
        padding: 20px 0;
    }
    .case-tab .tab-content .tab-item {
        flex: 1;
        height: 46px;
        font-size: 16px;
        line-height: 34px;
        text-align: center;
    }
    .case-tab .tab-content .tab-item:after {
        height: 3px;
    }
    /*案例列表*/
    .case-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 0 15px 30px;
    }
    .case-list .item {
        width: 100%;
        overflow: hidden;
    }
    .case-list .item a {
        display: flex;
        gap: 14px;
        height: auto;
        padding: 0;
    }
    .case-list .item .img {
        width: 140px;
        height: 100px;
    }
    .case-list .item .content {
        padding: 0;
    }
    .case-list .item h3 {
        margin-bottom: 10px;
        font-size: 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .case-list .item p {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
    .case-list .item:hover {
        transform: translateY(0);
        box-shadow: none;
    }
    /*案例详情*/
    .case-detail-container {
        padding: 30px 0 0;
    }
    .case-detail-container .case-detail {
        gap: 0;
    }
    .case-detail-container .section-title {
        gap: 10px;
        padding-bottom: 8px;
        margin-bottom: 20px;
        font-size: 17px;
    }
    .case-detail-container .section-title:before {
        width: 8px;
        height: 20px;
    }
    .case-detail-container .case-content .case-name {
        height: 60px;
        font-size: 18px;
    }
    .case-detail-container .case-content .case-mobile-img {
        padding: 0 0 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .case-detail-container .case-content .case-mobile-img img {
        max-width: 50%;
    }
    .case-detail-container .case-content .case-img {
        gap: 20px;
    }
    /*相关报道*/
    .case-detail-container .case-news .news-list .item {
        gap: 10px;
        padding: 0;
        margin-bottom: 12px;
    }
    .case-detail-container .case-news .news-list .item .news-img {
        width: 35vw;
        height: 23vw;
    }
    .case-detail-container .case-news .news-list .item .news-content .news-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        font-size: 16px;
    }
    .case-detail-container .case-news .news-list .item .news-content .news-desc {
        display: none;
    }
    /* 案例详情 */
    .case-detail-container .case-detail {
        flex-direction: column;
    }
    .case-detail-container .case-detail .pagination-section {
        display: none;
    }
    .case-detail-container .case-detail .right {
        width: 100%;
        padding-top: 35px;
    }
    .case-detail-container .service-list .item .img {
        height: 68vw;
    }
}