.online_flv {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 5px;
    overflow: hidden;
}

.img_flv_div {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    /* 调整视频高度 */
    cursor: pointer;
}

.flv_play_btn {
    position: absolute;
    top: -60px; /* 初始位置在容器上方 */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
    pointer-events: none; /* 防止按钮本身影响悬停效果 */
}

.flv_play_btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
}

/* 鼠标悬停时显示播放按钮 */
.online_flv:hover .flv_play_btn {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto; /* 恢复按钮的交互性 */
}

.flv_play_btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.video_player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video_player::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0);
}

.video_player::-webkit-media-controls-panel,
.video_player::-webkit-media-controls-play-button,
.video_player::-webkit-media-controls-timeline,
.video_player::-webkit-media-controls-current-time-display,
.video_player::-webkit-media-controls-time-remaining-display,
.video_player::-webkit-media-controls-volume-slider,
.video_player::-webkit-media-controls-mute-button,
.video_player::-webkit-media-controls-fullscreen-button {
    display: flex !important;
    opacity: 1 !important;
}

.video_poster_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

/* 竖版视频特殊处理 */
.online_flv.vertical-video {
    max-width: 100%;
    /* 确保视频宽度填充满 */
    margin: 0;
    /* 移除左右间距 */
    padding-bottom: 150%;
}

.online_flv.vertical-video .img_flv_div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    /* 移除内部间距 */
}

.online_flv.vertical-video .video_poster_img {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 视频标题样式 */
.module_banner {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 1px;
    border-radius: 5px;
}

.module_banner_text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 三列布局样式 */
#rowline1023 .jz_web_row3 {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 auto !important;
    width: 100% !important;
    justify-content: center;
}

#rowline1023 .jz_web_row__content {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    justify-content: center;
}

#rowline1023 .J_multi_cols {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding: 0 !important;
    /* 移除间距 */
    margin-bottom: 0 !important;
    float: none !important;
}

/* 移动端响应式调整 */
@media (max-width: 1024px) {
    #rowline1023 .jz_web_row3,
    #rowline1023 .jz_web_row__content {
        flex-wrap: wrap !important;
    }

    #rowline1023 .J_multi_cols {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 30px !important;
    }

    .online_flv.vertical-video {
        max-width: 250px;
    }

    .flv_play_btn {
        width: 50px;
        height: 50px;
    }

    .flv_play_btn:before {
        border-width: 12px 0 12px 20px;
    }
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    #rowline1023 .J_multi_cols {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .online_flv.vertical-video {
        max-width: 100% !important;
    }

    .module_banner_text {
        font-size: 16px;
    }
}

#video {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1vw 0;
}

#video .jz_web_row__content {
    display: flex;
    justify-content: center;
    width: 100%;
}

#rowline1023 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}