.block-image-text{
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
.block-image-text > div{
    width: 50%;
    flex-shrink: 0;
    width: calc(50% - 10px);
    height: 500px;
    border-radius: var(--krayt_radius_large);
}
.block-image-text-image > img {
    width: 100%;
}
.block-image-text-image{
    overflow: hidden;
    display: flex;
    position: relative;
}
.block-image-text-image .link-video{
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    border-radius: 50%;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}
.block-image-text-image .link-video:hover{
    transform: scale(1.1);
}
.block-image-text-image .link-video:active{
    transform: scale(0.9);
}
.block-image-text-image img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}
.block-image-text-text{
    padding: 60px;
    background-color: #F8F2E3;
}
.block-image-text-text-title{
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    margin-bottom: 16px;
    letter-spacing: -2px;
    max-height: 165px;
    overflow: hidden;
}
.block-krayt-krayt-image-text-2col .block-image-text-text-sub{
    max-width: 400px;
}
.block-image-text-text-sub{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    max-height: 140px;
    overflow: hidden;
}
.block-image-text-text .button{
    margin-top: 40px;
    border-radius: max(calc(var(--krayt_radius_large) - 4px), 0px);;
}
.modal-video-wrp{
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,.3);
    display: flex;
    z-index: 1000;
    justify-content: center;
    align-items:center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}
.modal-video-wrp.open{
    visibility: visible;
    opacity: 1;
}
.modal-video-content{
    position: relative;
    background-color: #fff;
    padding: 16px;
    border-radius: max(calc(var(--krayt_radius_large) - 4px), 0px);
}
.modal-video-close{
    position: absolute;
    right: -50px;
    top: 0;
    background-color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items:center;
    transition: 0.3s;
    border-radius:var(--krayt_radius_nav);
}
.modal-video-close:hover{
    transform: scale(1.1);
}
.modal-video-close:active{
    transform: scale(0.9);
}
@media (max-width: 1000px) {
    .block-image-text .block-image-text-text .block-image-text-text-title {
        font-size: 24px;
        font-weight: 800;
        line-height: 120%;
        letter-spacing: -0.96px;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {
    .modal-video-wrp {
        width: 100%;
        display: block;
    }
    .modal-video-content {
        position: relative;
        background-color: #fff;
        padding: 8px;
        top: 25%;
        margin: 0 16px;
    }
    .modal-video-content iframe {
        display: flex;
        width: 100%;
        height: 208px;
        justify-content: center;
        align-items: center;

    }
    .modal-video-close {
        width: 36px;
        height: 36px;
        fill: #FFF;
        right: 0px;
        top: -45px;
    }
    .block-image-text {
        flex-direction: column;
    }
    .block-image-text .block-image-text-image {
        width: 100%;
        height: 280px;
        flex-shrink: 0;
        position: relative;
        margin-bottom: 20px;
    }
    .block-image-text .block-image-text-image .link-video {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        fill: rgba(255, 255, 255, 0.30);
        stroke-width: 1px;
        stroke: #FFF;
        backdrop-filter: blur(8px);
        z-index: 10;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .block-image-text .block-image-text-image .link-video:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }
    .block-image-text .block-image-text-image .link-video:active {
        transform: translate(-50%, -50%) scale(0.9);
    }
    .block-image-text .block-image-text-text {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        padding: 20px;
    }
    .block-image-text .block-image-text-text .block-image-text-text-sub {
        font-size: 16px;
        font-weight: 500;
        line-height: 150%;
    }
    .block-image-text .block-image-text-text .button.button-primary {
        display: flex;
        width: 100%;
        padding: 20px 40px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 90%;
        margin-top: 40px;
        height: 54px;
        color: var(--main_text_button);
    }

    .block-kraytflowers-krayt-image-text-2col2 .block-image-text .block-image-text-text {
        display: flex;
        width: 100%;
        padding: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #F8F2E3;
        height: 100%;
    }
    .block-kraytflowers-krayt-image-text-2col2  .block-image-text .block-image-text-text .block-image-text-text-title {
        width: 100%;
    }
}
