.demoVideo {
    padding-top: 60px;
    padding-bottom: 80px;
    position: relative;
}

.demoVideo:before {
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translate(-50%, 0);
    height: 100%;
    background: #232323;
    position: absolute;
    z-index: 0;
}

.demoVideoInner {
    position: relative;
}

.demoVideoText {
    text-align: center;
    color: #fff;

    font-size: 15px;
    line-height: 24px;

    font-weight: normal;
    letter-spacing: 0.22px;
}

.demoVideoList {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

.demoVideoCard .item {
    position: relative;
}

.demoVideoCard a {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 7;

}

.demoVideoCard .img {
    position: relative;
    overflow: hidden;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    -webkit-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
}

.demoVideoCard .img:before {
    content: "";
    display: block;
    padding-top: 54%;
}

.demoVideoCard .img .img-empty {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #add2f9;
}

.demoVideoCard .img .img-empty:before {
    content: "";
    width: 65px;
    height: 65px;
    left: 10%;
    bottom: 10%;
    background: url(/local/templates/mst/./images/logo_w.svg) no-repeat left center;
    background-size: contain;
    position: absolute;
}

.demoVideoCard .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(1);
    transition: .3s ease;
}

.demoVideoCard .item:hover .img img {
    transform: scale(1.1);
}

.demoVideoLink {
    margin-top: 40px;
    font-size: 15px;
    line-height: 24px;
    font-weight: normal;
    letter-spacing: 0.22px;
    text-align: center;
}

.demoVideoLink a {
    display: inline-block;
    color: #026EF9;
    text-decoration: underline;
    text-decoration-color: inherit;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s;
}

.demoVideoLink a:hover {
    text-decoration-color: transparent;
}

@media (max-width: 1023px) {
    .demoVideo {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .demoVideoLink {
        margin-top: 20px;
    }

    .demoVideoList {
        margin-top: 30px;
        column-gap: 15px;
        row-gap: 15px;
    }
}

@media (max-width: 479px) {
    .demoVideoList {
        display: block;
    }

    .demoVideoCard {
        margin-bottom: 10px;
    }
}