.training-title{
    width: 100%;
    height: auto;
}
.training-title img{
    display: block;
}

/*职业培训*/
.zy-training{
    width: 100%;
    height: auto;
    background: white;
}
.zy-training .in-content{
    width: 100%;
    /*background: url(/static/website/images/training/zypx.png);*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*background-position: center center;*/
}
/*教育-----*/
.jy-training{
    width: 100%;
    height: auto;
    background: url(/static/website/images/training/qietu_jywy_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.jy-training .in-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.jy-training .in-content .zhu-item{
    width: 60px;
    height: 380px;
    background: url(/static/website/images/training/bg-zhu.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.jy-training .in-content .zhu-item .zhu-text{
    width: 60px;
    text-align: center;
    color: var(--color-text1);
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    bottom: -36px;
}

.jy-training .in-content .zhu-item .hex-column {
    position: absolute;
    width: 60px;
    height: 120px;
    bottom: 0px;
    left: 0px;
}

.jy-training .in-content .zhu-item .hex-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #01b1b1, #007c8a);
    clip-path: polygon(0 10px, 50% 0%, 100% 10px, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
}
.jy-training .in-content .zhu-item .hex-column .flat-diamond{
    width: 60px;
    height: 20px;
    margin: 0px;
    background: white;
    position: relative;
    clip-path: polygon(50% 0%, 50% 0%, 100% 50%, 50% 100%, 50% 100%, 0% 50%);
}
.jy-training .in-content .zhu-item .hex-column .flat-diamond::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(100% + 0px);
    height: calc(100% - 1px);
    background: #007781;
    clip-path: polygon(
            50% 0%, 50% 0%, 100% 50%, 50% 100%, 50% 100%, 0% 50%
    );
    border-radius: 1px;
}
.jy-training .in-content .zhu-item .hex-column p{
    font-size: 16px;
    color: #00373B;
    font-weight: bold;
    text-align: center;
    width: 60px;
    position: absolute;
    top: -8px;
}
/*严选课程*/
.kc-training{
    width: 100%;
    height: auto;
    background: #f8f8f8;
}
.kc-training .in-content{
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.news-card {
    width: calc(92% / 4);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 17px #e8e9ec;
    overflow: hidden;
    margin: 4px 1%;
}
.news-card .img-box{
    width: 100%;
    height: 210px;
    overflow: hidden;
}
.news-card .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}
.news-card .img-box img:hover {
    transform: scale(1.2);
}
.news-card .content{
    padding: 16px 16px 0px 16px;
}
.news-card h3{
    color: #000;
    font-size: var(--font-size-title1);
    margin-bottom: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.news-card p{
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.news-card .bottom{
    display: flex;
    align-items: center;
    margin: 5px 0;
    cursor: pointer;
}
.news-card .bottom span{
    padding-left: 16px;
    padding-bottom: 16px;
    color: var(--main-color);
    cursor: pointer;
}

/*名师引领、专业师资*/
.ms-training{
    width: 100%;
    height: auto;
    background: white;
}
.ms-training .in-content{
    width: 100%;
    display: flex;
}
.tc-card{
    width: calc(100% - 24px);
    height: 300px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #FFFFFF;
}
.tc-card+.tc-card{
    margin-left: 24px;
}
.tc-card .tc-card-title{
    width: 100%;
    height: 60px;
    background: #E6FDFF;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}
.tc-card .tc-card-title div{
    width: 150px;
    height: 60px;
    background: #007781;
    border-radius: 10px 0px 10px 0px;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
}
.tc-card .tc-card-content{
    width: 100%;
    padding: 24px;
}
.tc-card .tc-card-content span{
    font-weight: bold;
    font-size: 16px;
    color: #007781;
    margin-bottom: 24px;
}
.tc-card .tc-card-content p{
    font-size: 16px;
    color: #191919;
    line-height: 21px;
}

/*多样教学，持续赋能*/
.dy-training{
    width: 100%;
    height: auto;
    background: url(/static/website/images/training/bg-dy.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.dy-training .indexbanner{
    height: 675px;
}
.dy-training .indexbanner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 1000px) {
    .jy-training{
        height: auto;
    }
    .jy-training .in-content{
        padding-bottom: 16px;
    }
    .jy-training .in-content .zhu-item{
        width: 9%;
        height: auto;
        padding-top: 60%;
    }
    .jy-training .in-content .zhu-item .hex-column{
        width: 100%;
    }
    .jy-training .in-content .zhu-item .hex-column::before{
        clip-path: polygon(0 10px, 50% 0%, 100% 10px, 100% calc(100% - 6px), 50% 100%, 0 calc(100% - 6px));
    }
    .jy-training .in-content .zhu-item .hex-column p{
        width: 100%;
        font-size: 12px;
    }
    .jy-training .in-content .zhu-item .hex-column .flat-diamond{
        width: 100%;
        height: 14px;
    }
    .jy-training .in-content .zhu-item .zhu-text{
        font-size: 12px;
        bottom: -50px;
    }
    .kc-training{
        height: auto;
    }
    .news-card{
        width: 100%;
        margin-bottom: 8px;
    }
    .news-card .img-box{
        height: 180px;
    }
    .news-card h3{
        font-size: 14px;
    }
    .news-card p{
        font-size: 12px;
    }
    .ms-training{
        height: auto;
    }
    .ms-training .in-content{
        display: block;
    }
    .tc-card{
        width: 98%;
        margin: 0 auto;
        height: auto;
    }
    .tc-card+.tc-card{
        margin-left: auto;
        margin-top: 8px;
    }
    .tc-card .tc-card-content{
        padding: 12px;
    }
    .tc-card .tc-card-content span{
        font-size: 14px;
    }
    .tc-card .tc-card-content p{
        font-size: 12px;
    }
    .dy-training{
        height: auto;
    }
    .dy-training .indexbanner{
        height: 260px;
    }
    .tc-card .tc-card-title div{
        width: 120px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
    }
    .tc-card .tc-card-title{
        height: 40px;
    }
}

.news-card div{
    cursor: pointer;
}