.hot-course-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.hot-course-banner img {
    display: block;
    width: 106.89%;
    max-width: none;
    height: auto;
    margin-left: -3.55%;
}
a:focus,
a:active {
    outline: none;
}

.preview {
    position: relative;
    padding: 48px 20px 24px;
    margin-bottom: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 4px rgb(0 0 0 / 14%);
}

.preview__label {
    position: absolute;
    top: 0;
    left: 18px;
    min-width: 126px;
    padding: 5px 18px 7px;
    border-radius: 0 0 18px 18px;
    background: #6022a6;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.preview__items {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
    overflow-x: auto;
}

.preview-card {
    flex: 1 0 190px;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #f6f6f6;
    color: #666;
    text-align: center;
    cursor: pointer;
}

.preview-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.preview-card__title {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .preview {
        padding: 44px 12px 16px;
    }
    .preview__items {
        gap: 12px;
    }
}
/* 直播间顶部跳转入口，仅作用于直播间模块 */
.preview--live {
    padding-top: 12px;
}

.preview--live .preview__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 0 150px;
}

.preview--live .preview__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -14px;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    color: #6022A6;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease;
}

.preview--live .preview__more:hover {
    background-color: #f3edf9;
    color: #6022A6;
    text-decoration: none;
}

.preview--live .preview__more:focus-visible {
    outline: 2px solid #6022A6;
    outline-offset: 2px;
}

.preview--live .preview__more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6022A6;
    color: #fff;
    font-size: 10px;
}

.preview--live .preview__more-icon .glyphicon {
    top: 0;
}

@media (max-width: 760px) {
    .preview.preview--live {
        padding-top: 40px;
    }
    .preview--live .preview__heading {
        padding: 0;
        margin-bottom: 10px;
    }
    .preview--live .preview__more {
        font-size: 14px;
    }
}
/* 新课速递：四列布局，折叠入口占用原有底部留白 */
.preview--latest .preview__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
}
.preview--latest:not(.is-expanded) .preview-card:nth-child(n+5) {
    display: none;
}
.preview--latest .preview__toggle-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transform: translateY(50%);
}
.preview--latest .preview__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 12px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #6022A6;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color .2s ease;
}
.preview--latest .preview__toggle:hover {
    background-color: #f3edf9;
}
.preview--latest .preview__toggle:focus-visible {
    outline: 2px solid #6022A6;
    outline-offset: 2px;
}
.preview--latest .preview__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6022A6;
    color: #fff;
    font-size: 10px;
}
.preview--latest .preview__toggle-icon .glyphicon {
    top: 0;
}
.preview--latest.is-expanded .preview__toggle-icon {
    transform: rotate(180deg);
}

.index-v3-legacy-banner-1 { background: url('//edu.gehealthcare.cn/dh-edu/resources/images/banner/e_total_learning_banner_2.jpg') no-repeat center;background-clip: border-box;background-size: cover; }

.index-v3-legacy-banner-2 { background: url('//edu.gehealthcare.cn/dh-edu/resources/images/fuyou/pc_banner_1.jpg') no-repeat center;background-clip: border-box;background-size: cover; }

.index-v3-legacy-banner-3 { background: url('//edu.gehealthcare.cn/dh-edu/resources/images/banner/e_use_banner_2.png') no-repeat center;background-clip: border-box;background-size: cover; }
