/* Video Modal Backdrop & Overlay */
.video-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
    z-index: 0;
}

/* Video Container (16:9 Aspect Ratio) */
.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0 1rem;
    z-index: 10;
}

/* Close Button */
.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    color: #ffffff;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 20;
}

.video-modal-close:hover {
    color: var(--color-light-grey, #a5abab);
}

.video-modal-close svg {
    width: 32px;
    height: 32px;
}

/* Media Elements */
.video-modal-media-wrapper,
.video-modal-media {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-modal-media {
    object-fit: cover;
    display: block;
}