.component-media-modal {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: -1;
    opacity: 0;
    background: rgba(0, 0, 0, 0.45);
}

.component-media-modal[open] {
    opacity: 1;
    visibility: visible;
    z-index: 1001;
}

.component-media-modal__content {
    background-color: #fff;
    min-width: 100px;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0;
    padding: 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    ;
}

.component-media-modal__toggle {
    align-items: center;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 0 0 0 auto;
    padding: 12px;
    position: fixed;
    right: 12px;
    top: 12px;
    width: 36px;
    z-index: 2;
    background: none;
    border: none;
}

.component-media-modal__toggle:hover {
    transform: scale(1.1);
}

.component-media-modal__toggle .icon {
    height: auto;
    margin: 0;
    width: 22px;
}

.component-media-modal__content-info {
    width: 100%;
    height: auto !important;
}

.component-media-modal__content-info_wrapper {
    display: flex;
    width: 100%;
    background-color: #ddd;
    height: 100%;
}

.component-media-modal__content-left {
    /* height: 100%; */
    width: 500px;
    overflow-y: auto;

    iframe {
        margin: 0 !important;
    }
}

.component-media-modal__video {
    overflow: hidden;
    background-color: #000;
}

.component-media-modal__video,
.component-media-modal__video iframe,
.component-media-modal__video video {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    object-fit: cover;
}

.component-media-modal__video iframe,
.component-media-modal__video video {
    transform: scale(1.006);
    transform-origin: right center;
}

.component-talk-view {
    width: 440px;
}

@media screen and (max-width: 768px) {
    .component-media-modal__content {
        width: 90%;
    }

    .component-media-modal__video {
        background-color: transparent;
    }

    .component-media-modal__video,
    .component-media-modal__video iframe,
    .component-media-modal__video video {
        object-fit: cover;
    }
    @keyframes modalOpen {
        0% {
            top: 100%;
            transform: translate(-50%, 0%);
        }
        100% {
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }
    .component-media-modal[open] .showcase-modal-mobile {
        animation: modalOpen 0.3s ease-in-out forwards;
    }
}