.swiper-container {
    position: relative;
    padding-bottom: 32px; /* 为下方露出的部分预留空间 */
}

.bannerSwiper {
    width: 100%;
    height: 370px;
    position: relative;
}


.bannerSwiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.bannerSwiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 所有slide的基础样式 */
.bannerSwiper .swiper-slide-shadow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px; /* 控制露出的高度 */
    height: 370px;
    background: #000;
    opacity: 0.1;
    border-radius: 12px;
    transform: translateY(0);
    transition: transform 0.3s;
}

.bannerSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

/* 分页器样式 */
.custom-pagination {
    text-align: center;
    margin-top: 32px; /* 确保分页器在阴影下方 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #C3C3C3;
    margin: 0 6px !important;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: #009BF8;
    border-radius: 4px;
}
.live-preview {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.live-preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.live-preview-header .icon {
    width: 40px;
    height: 28px;
    margin-right: 8px;
}

.live-preview-header .title {
    font-weight: 400;
    font-size: 20px;
    color: #000000;
    line-height: 23px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.live-item {
    width: 276px;

    display: flex;
    align-items: center;
    margin-bottom: 26px;
    height: 78px;
    /*border-bottom: 1px solid #f5f5f5;*/
}

.live-item:hover {
    text-decoration: none;
}
.live-item:hover .live-title {
    color: #009BF8;
}

.live-item:last-child {
    border-bottom: none;
}
.live-preview .live-item-left{
    width: 64px;
    margin-right: 12px;
    position: relative;
}
.live-preview .live-avatar {
    width: 64px;
    position: relative;
    height: 64px;
    border-radius: 50%;

    overflow: hidden;
}

.live-preview .live-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-preview .live-info {
    flex: 1;
    height: 52px;
}

.live-preview .live-title {
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 设置显示的行数 */
    -webkit-line-clamp: 1; /* 修改数字来设置行数 */
    font-size: 16px;
    color: #000000;
    line-height: 19px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 6px;
}

.live-preview .live-author {
    font-size: 12px;
    color: #86909C;
    margin-bottom: 6px;
}

.live-preview .live-time {
    font-size: 12px;
    color: #86909C;
}

.live-preview .live-status {
    width: 60px;
    position: absolute;
    bottom: -10px;
    right: 0;
    height: 24px;
    line-height: 24px;
    background: #FF6903;
    border-radius: 4px 4px 4px 4px;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;

    font-style: normal;
    text-transform: none;
}
.live-preview .live-has-sub{
    background: #959595;
}
.live-preview .status-preview {
    background: #FF7D00;
    color: #fff;
}

.live-preview .status-gray {
    background: #F2F3F5;
    color: #86909C;
}

.live-preview .exchange-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 400;
    font-size: 14px;
    color: #009BF8;
    line-height: 16px;
    font-style: normal;
    text-transform: none;
    margin-top: 24px;
}
.category-session{
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
.category-session .btn{
    border: none;
    background: #fff;
    height: 40px;
    line-height: 40px;
    border-radius: 10px 10px 10px 10px;
}
.category-session .btn-light{
    /*background: #ECECEC;*/
    --bs-btn-bg: #ECECEC;
}
.category-session .btn.active{
    color: #fff;
    background: #009BF8;
}
.category-session .btn:hover{
    text-decoration: none;
}

.dropdown .dropdown-toggle{
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

.btn-white {
    background-color: #fff; /* 背景为白色 */
    border: 1px solid #ced4da; /* 边框颜色 */
}

.dropdown-toggle::after {
    color: #000; /* 下拉箭头为黑色 */
}

.dropdown-menu {
    border-radius: 4px; /* 圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}

.dropdown-item {
    font-size: 16px; /* 字体大小 */
    color: #4E5969; /* 字体颜色 */
}

.dropdown-item:hover {
    background-color: rgba(22, 119, 255, 0.1); /* 悬停效果 */
    color: #009BF8; /* 悬停时字体颜色 */
}

.dropdown-item.active {
    background-color: #009BF8; /* 激活状态背景 */
    color: #fff; /* 激活状态字体颜色 */
}
 a{
    text-decoration: none !important;
}
 a:hover .card-text{
     text-decoration: none !important;
    color: #009BF8; /* 激活状态字体颜色 */
}
.video-main .card-body{
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}
.video-main .card-text{
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.video-main .card-teacher-avatar{
    width: 24px;
    height: 24px;
    position: relative;
}
.video-main .card-img{
    position: relative;
}
.video-main .card-teacher-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.video-main .text-desc{
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.video-main .video-num{
    position: absolute;
    bottom: 10px;
    padding: 0 16px;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    line-height: 16px;
}
.video-main .video-num .play-icon{
    margin-right: 2px;
}
.video-main .video-item{
    margin-top: 24px;
}
.video-main .has-live-video-item:nth-child(-n+3) {
    margin-top: 0;
}

.video-main .not-live-video-item:nth-child(-n+4) {
    margin-top: 0;
}
.video-main .video-item .card-text{
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-main .video-item .video-card .card-body{
    padding: 0 5px 5px 5px !important;
}
.live-course-info .card-text{
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-main .video-action{
    position: absolute;
    top: 8px;
    padding: 0 8px;
    margin: 0;
    visibility: hidden;
    opacity: 0; /* 初始完全透明 */
    transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out; /* 过渡效果 */
}
.video-main .video-action-icon{
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    border-radius: 4px 4px 4px 4px;
}

.video-main .card:hover .video-action{
    visibility: visible;
    opacity: 1; /* 渐显 */
    transition: visibility 0s linear 0s, opacity 0.5s ease-in-out; /* 渐入效果 */
}
.live-course{
    height: 518px;
}
.live-course-img{
    position: relative;
    height: 426px;
}
.live-course-info{
    margin-top: 4px;
    height: 88px;
}
.live-course-status-border{
    position: absolute;
    right: 12px;
    top: 12px;
    width: 104px;
    height: 40px;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(252,1,0,0.3);

}
.live-course-status{


    width: 96px;
    height: 32px;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(252,1,0,0.6);

    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 40px;

}
.live-course-status .live-course-status-tag{
    width: 88px;
    height: 24px;
    background: #FC0100;
    border-radius: 2px 2px 2px 2px;
}
.live-has-sub{
    background: #959595 !important;
    color: #FFFFFF !important;
}