.multiple-timelines-videos {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap to ensure exact 50% */
    padding: 0; /* Remove padding for exact sizing */
    box-sizing: border-box;
}

/* Make each VideoPlayerTimelineStack take exactly half the available space */
.multiple-timelines-videos > * {
    flex: 0 0 50%; /* Exact 50% - no grow, no shrink */
    min-height: 0vh;
    overflow: hidden;
    box-sizing: border-box;
}

/* Force Video.js to respect container dimensions */
.video-timeline-container .video-js,
.timelines-and-video-parent .video-js {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
}

.video-timeline-container .video-js .vjs-tech,
.timelines-and-video-parent .video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}