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

.clinic-video-modal .modal-dialog {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    margin: 16px auto;
}

.clinic-video-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #101419;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.clinic-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 14px 18px 14px 24px;
    color: #fff;
}

.clinic-video-modal__title {
    margin: 0;
    overflow: hidden;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clinic-video-modal__close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: 0/0 a;
}

.clinic-video-modal__close::before,
.clinic-video-modal__close::after {
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transform-origin: center;
}

.clinic-video-modal__close::before { transform: rotate(45deg); }
.clinic-video-modal__close::after { transform: rotate(-45deg); }

.clinic-video-modal__close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clinic-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.clinic-video-modal__frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.clinic-video-modal__error {
    margin: 0;
    padding: 28px 24px;
    background: #fff;
    color: #172332;
    text-align: center;
}

.clinic-video-modal__source {
    display: block;
    padding: 13px 24px 15px;
    background: #101419;
    color: #fff;
    font-size: 14px;
    text-align: right;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.video-trigger {
    cursor: pointer;
}

.clinic-video-mosaic,
.first-visit-video,
.service-detail__video,
.doctor-detail__video,
.crew-intro-video,
.dentfriend-wide-video,
.dentfriend-hero {
    position: relative;
}

.clinic-video-mosaic .play-button,
.clinic-video-mosaic__play,
.service-detail__video .play-button,
.doctor-detail__video .play-button,
.crew-intro-video .play-button,
.dentfriend-wide-video .play-button,
.dentfriend-hero .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

@media (max-width: 959.98px) {
    .clinic-video-modal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .clinic-video-modal__header {
        min-height: 54px;
        padding: 10px 12px 10px 16px;
    }

    .clinic-video-modal__title {
        font-size: 17px;
    }

    .clinic-video-modal__close {
        width: 38px;
        height: 38px;
    }
}
