.video_courses {
    padding-bottom: 8rem;
    background-color: #fafafa;
}

/*banner */
@media screen and (max-width: 767px)  {
    .video_courses_banner {
        /* height: 71.68rem; */
        height: 29.87vw;
    }
    .video_courses_list_title {
        font-size: 9.22rem;
    }
}
@media screen and (min-width: 768px) {
    .video_courses_banner {
        /* height: 44.8rem; */
        height: 29.87vw;
    }
    .video_courses_list_title {
        font-size: 2rem;
    }
}

.video_courses_banner .el-carousel__container,
.video_courses_banner .el-carousel {
    height: 100%;
    /* border-radius: 0.625vw; */
}

.home_banner img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit:contain;
    /* border-radius: 0.625vw; */
}

/* 课程列表 */
.video_courses_main {
    margin-top: 2.2rem;
}

.video_courses_list_title {
    padding: 2.4rem 0;
    color: #333333;
    
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .video_courses_list_box {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8.12rem;
    }

    .video_courses_item {
        border-radius: 6.14rem;
        -webkit-border-radius: 6.14rem;
        -moz-border-radius: 6.14rem;
        -ms-border-radius: 6.14rem;
        -o-border-radius: 6.14rem;
    }

    .video_courses_item img {
        border-top-left-radius: 6.14rem;
        border-top-right-radius: 6.14rem;
    }

    .video_courses_item_info {
        padding: 4.1rem 6.14rem 6.14rem;
    }

    .video_courses_info_title {
        line-height: 12.29rem;
        font-size: 8.19rem;
        margin-bottom: 2.05rem;
    }

    .video_courses_info_dec {
        height: 8.19rem;
        font-size: 7.17rem;
        line-height: 8.19rem;
    }

    .video_courses_info_price {
        margin-top: 6.14rem;
    }

    .price_present {
        font-size: 9.22rem;
    }

    .price_original {
        font-size: 6.14rem;
        margin-left: 4.1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1919px) {
    .video_courses_list_box {
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 1.6rem;
    }
}

@media screen and (min-width: 1920px) {
    .video_courses_list_box {
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 1.6rem;
    }
}

@media screen and (min-width: 768px) {
    .video_courses_item {
        border-radius: 1.2rem;
    }

    .video_courses_item img {
        border-top-left-radius: 1.2rem;
        border-top-right-radius: 1.2rem;
    }

    .video_courses_item_info {
        padding: 0.8rem 1.2rem 1.6rem;
    }

    .video_courses_info_title {
        line-height: 2.4rem;
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
        height: 4.8rem;
    }

    .video_courses_info_dec {
        height: 1.6rem;
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    .video_courses_info_price {
        margin-top: 1.2rem;
    }

    .price_present {
        font-size: 1.8rem;
    }

    .price_original {
        font-size: 1.2rem;
        margin-left: 0.8rem;
    }
}



.video_courses_list_box {
    width: 100%;
    display: grid;
}

.video_courses_item {
    width: 100%;
    background-color: #fff;
    transition: transform .3s ease-in-out;
    cursor: pointer;
}

.video_courses_item:hover {
    box-shadow: 0 4px 10px 0 #3333330a;
    transform: translate3d(0, -8px, 0);
}
.video_courses_img  {
    width: 100%;
    aspect-ratio: 708 / 451;
    overflow: hidden;
}

.video_courses_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* height: auto; */

}

.video_courses_item_info {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.video_courses_info_title {

    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* 表示盒子对象的子元素的排列方式 */
    -webkit-line-clamp: 2;
    /* 限制文本的行数，表示文本第多少行省略 */
    text-overflow: ellipsis;
    /*  打点展示 */
    overflow: hidden;
    /*超出部分进行隐藏*/
    font-weight: 600;

    color: #333;

}

.video_courses_info_dec {

    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* 表示盒子对象的子元素的排列方式 */
    -webkit-line-clamp: 1;
    /* 限制文本的行数，表示文本第多少行省略 */
    text-overflow: ellipsis;
    /*  打点展示 */
    overflow: hidden;
    color: #999;

}



.price_present {

    font-weight: 700;
    color: #ff5024;
}

.price_original {

    color: #b2b2b2;
    text-decoration: line-through;

}