@charset "UTF-8";
/* .app-course-tabs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--app-fs-22); padding: var(--app-fs-44) 0; } */
.app-course-tabs { display: flex; flex-wrap: wrap; gap: var(--app-fs-22); padding: var(--app-fs-44) 0; }
.app-course-tab { height: var(--app-fs-56); padding: 0 1em; border-radius: 8px; border: 1px solid #f3f3f3; font-size: var(--app-fs-18); color: #666; background: #f3f3f3; cursor: pointer; }
.app-course-tab.on { border-color: var(--app-color-main); color: var(--app-color-main); background: rgba(var(--app-color-main-rgb), 0.1); }
@media (hover:hover) {
    .app-course-tab:hover { border-color: var(--app-color-main); color: var(--app-color-main); background: rgba(var(--app-color-main-rgb), 0.1); }
}

.app-course-wrapper { padding-bottom: var(--app-fs-176); }
.app-course-list { display: flex; align-items: start; gap: var(--app-fs-32) var(--app-fs-28); padding-bottom: var(--app-fs-80); margin-bottom: var(--app-fs-80); border-bottom: 1px solid #e1e1e1; }
.app-course-list:last-child { margin-bottom: 0; }
.app-course-list .name { width: var(--app-fs-378); height: var(--app-fs-230); padding: var(--app-fs-40) var(--app-fs-30); border-radius: var(--app-fs-16); color: #fff; background-image: url(../images/course-item-bg.png); background-size: var(--app-fs-192) var(--app-fs-148); background-repeat: no-repeat; background-position: bottom right; }
.app-course-list .name .tit { font-size: var(--app-fs-22); }
.app-course-list .name .txt { font-size: var(--app-fs-26); }
.app-course-list .name .total { margin-top: .8em; font-size: var(--app-fs-16); }
.app-course-list .list-item { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--app-fs-32) var(--app-fs-28); }
.app-course-list .list-item .item { position: relative; border-radius: var(--app-fs-16); overflow: hidden; }
.app-course-list .list-item .item-bg { position: relative; width: 100%; height: 0; padding-bottom: 48%; }
.app-course-list .list-item .item-bg .img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.app-course-list .list-item .item-wrap { position: absolute; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: start; width: 100%; padding: var(--app-fs-38) var(--app-fs-32); color: #fff; transition: all .3s; }
.app-course-list .list-item .item-wrap .head { width: 100%; transition: all .3s; }
.app-course-list .list-item .item-wrap .foot { width: 100%; transition: all .3s; }
.app-course-list .list-item .item-wrap .tit-1 { font-size: var(--app-fs-20); }
.app-course-list .list-item .item-wrap .txt-1 { font-size: var(--app-fs-16); }
.app-course-list .list-item .item-wrap .tit-2 { font-size: var(--app-fs-18); }
.app-course-list .list-item .item-wrap .tit-2 { font-size: var(--app-fs-24); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-course-list .list-item .item-wrap .view-more { display: inline-flex; align-items: center; height: 0; opacity: 0; overflow: hidden; font-size: var(--app-fs-14); transition: all .3s; }
.app-course-list .list-item .item-wrap .view-more span { margin-right: 2em; }
@media (hover:hover) {
    .app-course-list .list-item .item:hover .item-bg .img { transform: scale(1.2); }
    .app-course-list .list-item .item:hover .item-wrap { height: 100%; background-color: rgba(0,0,0,.4); }
    .app-course-list .list-item .item:hover .item-wrap .view-more { height: auto; opacity: 1; padding-bottom: 1em; margin-top: auto; border-bottom: 1px solid rgba(255,255,255,.8);  }
}

/***
 * 课程详情
 */
.app-course-detail-container { padding-bottom: var(--app-fs-182); background-color: #f3f3f3; }
.app-course-detail-banner { padding: var(--app-fs-140) 0; margin-top: var(--app-header-height); background-size: cover; background-repeat: no-repeat; }
.app-course-detail-banner .image-wrap { width: 50%; padding-right: var(--app-fs-56); }
.app-course-detail-banner .image-box { position: relative; width: 100%; height: 0; padding-bottom: 48%; border-radius: 16px; overflow: hidden;  }
.app-course-detail-banner .image-wrap .image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.app-course-detail-banner .text-wrap { width: 50%; padding-left: var(--app-fs-56); }
.app-course-detail-banner .text-wrap .title { font-size: var(--app-fs-36); font-weight: normal; color: #333; }
.app-course-detail-banner .text-wrap .types { margin-top: 1.4em; font-size: var(--app-fs-16); color: #333; }
.app-course-detail-banner .text-wrap .types .item { padding: 1em 1.8em; border-radius: 3em; line-height: 1; background: #dfdfdf; }
.app-course-detail-banner .text-wrap .types .item + .item { margin-left: 1em; }
.app-course-detail-banner .text-wrap .info { margin-top: 1.4em; font-size: var(--app-fs-16); color: #333; }
.app-course-detail-banner .text-wrap .info .item { line-height: 2; }
.app-course-detail-wrapper .wrapper { padding: 0 var(--app-fs-90); border-radius: 16px; background: #fff; }
.app-course-detail-wrapper .wrapper .head { position: relative; display: inline-flex; padding: 1.9em 0; font-size: var(--app-fs-20); color: #333; font-weight: 700; }
.app-course-detail-wrapper .wrapper .head .icon { margin-right: 8px; }
.app-course-detail-wrapper .wrapper .head::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--app-color-main); }
.app-course-detail-wrapper .wrapper .rich-text { padding: var(--app-fs-70) 0; }
.app-course-detail-wrapper .wrapper .rich-text img { display: inline-block; width: auto; }
@media (hover:hover) {
    .app-course-detail-banner .image-wrap:hover .image { transform: scale(1.2); }
    .app-course-detail-banner .text-wrap .title:hover { color: var(--app-color-main); }
    .app-course-detail-banner .text-wrap .types .item:hover { background: var(--app-color-main); color: #fff; }
    .app-course-detail-banner .text-wrap .info .item:hover { color: var(--app-color-main); }
}


@media (max-width: 1024px) {
}

@media (max-width: 992px) {
    /* .app-course-tabs { grid-template-columns: repeat(7, minmax(0, 1fr)); } */
    .app-course-list { flex-direction: column; }
    .app-course-list .name { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
    .app-course-list .list-item { flex: none; width: 100%; }
}

@media (max-width: 768px) {
    /* .app-course-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } */
    .app-course-tab { height: auto; padding: 8px 1em; font-size: 14px; }
    .app-course-list .list-item { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .app-course-detail-banner { padding: var(--app-fs-80) 0; }
    .app-course-detail-banner .wrap { flex-direction: column; }
    .app-course-detail-banner .image-wrap { width: 100%; padding-right: 0; }
    .app-course-detail-banner .text-wrap { width: 100%; padding-left: 0; margin-top: var(--app-fs-56); }
    .app-course-detail-banner .text-wrap .types { font-size: 14px; }
    .app-course-detail-banner .text-wrap .info { font-size: 14px; }
    .app-course-detail-wrapper .wrapper { padding: 0 var(--app-fs-46); }
    .app-course-detail-wrapper .wrapper .head { font-size: 16px; padding: 1em 0; }
}

@media (max-width: 600px) {
}

@media (max-width: 375px) {
}






















