.video-grid__trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #001b41;
    cursor: pointer;
}

.video-grid__trigger img { width: 100%; height: 100%; object-fit: cover; }
.video-grid__trigger:focus-visible { outline: 3px solid var(--blue-500); outline-offset: -3px; }

.video-grid__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 52px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    background: #ff0033;
    color: #fff;
    font-size: 16px;
    transform: translate(-50%, -50%);
    transition: transform .18s ease, background .18s ease;
}

.video-grid__trigger:hover .video-grid__play { background: #e0002d; transform: translate(-50%, -50%) scale(1.06); }

.tour-video-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 18, 45, .82);
}

.tour-video-modal[hidden] { display: none; }

.tour-video-modal__dialog {
    position: relative;
    width: min(90vw, 1200px);
    max-width: 90vw;
}

.tour-video-modal__dialog iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 78vh;
    border: 0;
    background: #000;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .38);
}

.tour-video-modal__close {
    position: absolute;
    z-index: 1;
    top: -12px;
    right: -12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: #fff;
    color: #072454;
    cursor: pointer;
}

body.tour-video-modal-open { overflow: hidden; }

@media (max-width: 575.98px) {
    .tour-video-modal { padding: 16px; }
    .tour-video-modal__dialog { width: 88vw; max-width: 88vw; }
    .tour-video-modal__dialog iframe { max-height: 74vh; }
    .tour-video-modal__close { top: -8px; right: -8px; }
}
