.aaaa {
    font-family: Arial, sans-serif;
    margin: 20px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    background-color: #f0f0f0;
}

/* 视频容器样式优化 */
.video-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
}

.video-container iframe {
    width: calc(50% - 10px);
    height: auto;
    max-width: 720px;
    aspect-ratio: 16 / 9;
}

/* 视频容器2的样式 - 确保PC端并排显示 */
.video-container2 {
    position: relative;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.video-container2 iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border: none;
}

/* PC端和平板端 - 视频并排显示 */
@media (min-width: 768px) {
    .video-container2 {
        margin-bottom: 0;
    }
    
    /* 确保col-md-6在PC端并排 */
    .col-md-6.video-container2 {
        float: left;
        width: 50%;
    }
    
    /* 确保col-md-12在PC端占满宽度 */
    .col-md-12.video-container2 {
        float: left;
        width: 100%;
    }
}

/* 移动端样式优化 - 视频垂直堆叠 */
@media (max-width: 767px) {
    .container3 {
        width: 100%;
        min-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .video-container {
        flex-direction: column;
        gap: 20px;
    }

    .video-container iframe {
        width: 100%;
        max-width: 100%;
    }

    .video-container2 {
        padding: 0;
        margin-bottom: 20px;
        width: 100%;
        float: none;
    }

    .video-container2 iframe {
        width: 100%;
        max-width: 100%;
    }
}

/* 防止横向滚动 */
.video-container2,
.video-container2 iframe {
    max-width: 100%;
    overflow-x: hidden;
}
