.popup-cdm {
    background-color: transparent;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--cdm-animation);
}
body.open-popup .popup-cdm.popup-option {
    background-color: rgba(68, 73, 76, 0.23);
    opacity: 1;
    pointer-events: initial;
}
.popup-cdm .inner-popup {
    width: 100%;
    max-width: 1202px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.popup-cdm .inner-popup .popup-content {
    position: relative;
    padding: 0;
    max-height: 90vh;
    overflow: auto;
    display: flex;
}

.popup-cdm .inner-popup .popup-content figure{
    margin-bottom: 0;
    width: 33.33%;
}

.popup-cdm .inner-popup .popup-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-cdm .inner-popup .popup-content .right{
    padding: 50px;
    width: 66.66%;
    align-self: center;
}

.popup-cdm .inner-popup .closewrapper {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    transition: color var(--cdm-animation);
}

.popup-cdm .inner-popup .closewrapper svg{
    width: 20px;
}
.popup-cdm .inner-popup .closewrapper svg *{
    transition: fill 0.5s ease;
}
.popup-cdm .inner-popup .closewrapper svg:hover *{
    fill: #d4938b;
}
@media screen and (max-width: 400px) {
    .popup-cdm .inner-popup p {
        font-size: 14px;
   }
}
.popup-cdm .inner-popup ul, .popup-cdm .inner-popup ol {
    padding-left: 20px;
}

body.open-popup{
    height: 100% !important;
    overflow: hidden;
}
@media screen and (max-width: 1245px) {
    .popup-cdm .inner-popup {
        left: 15px;
        right: 15px;
        transform: translateY(-50%);
        width: auto;
   }

    .popup-cdm .inner-popup .popup-content .right{
        padding: 50px 25px;
    }

    .popup-cdm .inner-popup .popup-content figure{
        width: 42%;
    }

    .popup-cdm .inner-popup .popup-content .right{
        width: 58%;
    }

    .popup-cdm .inner-popup .closewrapper{
        top: 10px;
        right: 10px;
    }

   h2{
    font-size: 22px;
    line-height: 1.2;
   }

   p{
    font-size: 15px;
   }
}

@media screen and (max-width:768px){
    .popup-cdm .inner-popup{
        max-width: 500px;
    }
    .popup-cdm .inner-popup .popup-content{
        flex-wrap: wrap;
    }
    .popup-cdm .inner-popup .popup-content .right{
        padding: 25px;
        width: 100%;
    }
    .popup-cdm .inner-popup .popup-content figure{
        width: 100%;
        max-height: 400px;
    }
    .popup-cdm .inner-popup .popup-content{
        max-height: 85vh;
    }
}
