/* 视频探窗的样式 */

.video-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%; /* 设置最大宽度为100%，以确保容器可以根据需要缩放 */
    max-height: 100%; /* 设置最大高度为100% */
    background-color: #fff;
    border: 1px solid #999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.video-popup h2 {
    margin-top: 0; /* 清除标题默认的上边距 */
    font-size: 1em; /* 设置标题字体大小 */
}

.video-popup video {
    width: 100%;
    height:auto; /* 调整视频高度，留出空间给标题 */
    object-fit: cover;
}
