@import '../var.scss';
.block {
    padding: 118px 0;
    .b-title {
        position: relative;
        margin-bottom: 50px;
        font-size: 3rem;
        font-family: SFProDisplay-Bold, SFProDisplay;
        font-weight: bold;
        color: #333333;
        line-height: 60px;
        text-align: center;
        color: #1f1f1f;
        &:after {
            content: '';
            position: absolute;
            top: 70px;
            left: 50%;
            width: 136px;
            height: 4px;
            transform: translateX(-50%);
            background: #1583ff;
        }
    }
    .intro {
        margin-bottom: 80px;
        font-size: 1.6rem;
        text-align: center;
        color: #5b5b5e;
        line-height: 40px;
        @include mul-ellipsis(2);
    }
}
.inner {
    width: 1200px;
    margin: 0 auto;
}
.banner {
    height: 280px;
    padding: 123px 0 0 243px;
    font-size: 2rem;
    color: #fff;
}
.banner-item {
    position: relative;
    width: 100%;
    height: 100%;
    img {
        width: 100%;
        height: 100%;
    }
    .banner-name {
        position: absolute;
        bottom: 87px;
        left: 213px;
        font-size: 2rem;
        font-family: SFProDisplay-Bold;
        font-weight: bold;
        line-height: 58px;
        color: #fff;
        cursor: pointer;
    }
}
.single-banner {
    position: relative;
    color: #fff;
    .banner-img {
        width: 100%;
        height: 24rem;
    }
    .texts {
        position: absolute;
        top: 160px;
        left: 267px;
    }
    &.single-banner-overview .texts {
        top: 250px;
        left: 278px;
    }
    .banner-title {
        margin-bottom: 19px;
        font-size: 2.2rem;
        font-family: PingFangSC-Medium, PingFang SC;
    }
    .banner-des {
        font-size: 1.2rem;
        font-family: PingFangSC-Medium, PingFang SC;
    }
}
.des {
    @include mul-ellipsis(3);
}
.gray {
    background-color: #f2f6f8;
}
.arrow {
    transition: 0.3s;
    cursor: pointer;
}
.all-link {
    text-align: right;
    span {
        display: inline-flex;
        align-items: center;
        font-size: 16px;
        color: #707070;
        cursor: pointer;
    }
    .icon {
        width: 20px;
        margin-left: 8px;
    }
}

.tabs {
    display: flex;
    justify-content: center;
    box-shadow: 0px 2px 10px 0px rgba(223, 223, 223, 0.28);
    li {
        padding: 1.25rem 0.95rem;
        margin: 0 0.5rem;
        font-size: 1.05rem;
        color: #333;
        border-bottom: 4px solid transparent;
        text-shadow: 0px 2px 14px rgba(167, 167, 167, 0.26);
        cursor: pointer;
        &.active {
            color: #1583ff;
            border-bottom-color: #1583ff;
        }
    }
}
@media (max-width: 1410px) {
    .inner {
        width: 80%;
    }
}

@media (max-width: 1300px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 35rem;
            }
            .texts {
                top: 20rem;
                left: 9rem;
            }
        }
    }
    .tabs {
        overflow: hidden;
        overflow-x: auto;
        white-space: normal;
        justify-content: normal;
        display: -webkit-box;
        li {
            white-space: normal;
        }
    }
}
@media (max-width: 980px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 32rem;
            }
            .texts {
                top: 20rem;
                left: 5rem;
            }
        }
    }
    .tabs {
        li {
            font-size: 0.8rem;
        }
    }
}

@media (max-width: 980px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 25rem;
            }
            .texts {
                top: 15rem;
                left: 5rem;
            }
        }
    }
}
@media (max-width: 768px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 22rem;
            }
            .texts {
                top: 12rem;
                left: 5rem;
            }
        }
    }

    .tabs {
        li {
            padding: 1rem 10px;
            margin: 0;
        }
    }
}
@media (max-width: 640px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 18rem;
            }
            .texts {
                top: 10rem;
                left: 5rem;
            }
        }
    }
}
@media (max-width: 480px) {
    .wrap {
        .single-banner {
            .banner-img {
                height: 15rem;
            }
            .texts {
                top: 6rem;
                left: 5rem;
            }
        }
    }
}