﻿/* 模板4 */
.build_top {
    display: flex;
    flex-direction: column;
}

.build_top_zn {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.3;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-height: 31px;
}

.build_top_en {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    min-height: 31px;
}

.build_top_en>p {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.3;
    flex: 1;
    min-width: 1px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.build_top_en>a {
    font-size: 16px;
    color: #ffffff;
    line-height: 1;
}
.build_demo4 {
    padding: 56px 53px;
    box-sizing: border-box;
    background-color: #882931;
    margin-top: 40px;
}

.build_demo4_banner {
    margin-top: 36px;
}

    .build_demo4_banner .swiper-slide {
        display: flex;
        flex-direction: column;
        height: 310px;
        background-color: #ffffff;
    }

.demo4_img {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

    .demo4_img > a {
        display: block;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        transition: all 0.3s;
    }

.demo4_bot {
    height: calc(100% - 210px);
    padding: 19px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.demo4_bot_title {
    font-size: 16px;
    color: #323232;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    transition: all 0.3s;
}

.demo4_bot_text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 18px;
}

    .demo4_bot_text > p {
        font-size: 14px;
        color: #979797;
        line-height: 1.3;
        margin-bottom: 0;
        opacity:0;
    }

    .demo4_bot_text > a {
        width: 70px;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

        .demo4_bot_text > a > p {
            font-size: 14px;
            color: #323232;
            line-height: 1.3;
            transition: all 0.3s;
            margin-bottom: 0;
        }

        .demo4_bot_text > a > span {
            display: block;
            position: absolute;
            right: 0;
            bottom: 9px;
            width: 0;
            height: 2px;
            background-color: #882931;
            transition: width 0.3s;
        }

.build_demo4_banner .swiper-slide:hover .demo4_bot_title {
    color: #882931;
}

.build_demo4_banner .swiper-slide:hover .demo4_bot_text > a > p {
    color: #882931;
    transform: translateX(-30px);
}

.build_demo4_banner .swiper-slide:hover .demo4_img > span {
    transform: scale(1.1);
}

.build_demo4_banner .swiper-slide:hover .demo4_bot_text > a > span {
    width: 20px;
}

.build_button {
    display: flex;
}

.build_button_prev {
    width: 36px;
    height: 36px;
    background-image: url('../img/icon.png');
    background-position: -2px -236px;
    background-repeat: no-repeat;
    outline: none;
    border: none;
}

.build_button_next {
    width: 36px;
    height: 36px;
    background-image: url('../img/icon.png');
    background-position: -42px -236px;
    background-repeat: no-repeat;
    margin-left: 28px;
    outline: none;
    border: none;
}
    .build_button_next:visited {
        background-position: -42px -293px;
    }
