.external-video-open {
    overflow: hidden;
}

.external-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 14, 28, .88);
}

.external-video-dialog {
    position: relative;
    width: min(1080px, 94vw);
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.external-video-dialog iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.external-video-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.member-video {
    position: relative;
    overflow: hidden;
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    border: 0;
    background: #17233c center / cover no-repeat;
    color: #fff;
    cursor: pointer;
}

.member-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 28, .36);
}

.member-video strong,
.external-video-play {
    position: relative;
    z-index: 1;
}

.external-video-play {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.external-video-play::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 25px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #fff;
}

.develop-video {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 4px;
    background: #0a4fb8 center / cover no-repeat;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.develop-video:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .external-video-modal {
        padding: 12px;
    }

    .external-video-dialog {
        width: 100%;
    }
}
