/*.block-wrapper + .block-wrapper > section {*/
/*    padding-top: 0 !important;*/
/*}*/

.block-wrapper.block-intro + .block-wrapper > section {
    padding-top: 9rem !important;
}

.photo {
    padding-bottom: 4rem !important;
}

.photo-with-details {
    padding-bottom: 4rem !important;
}

.photo-with-details.photo-with-no-details {
    padding-bottom: 4rem !important;
}

.case__video-play {
    width: 6rem;
    height: 6rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    border-radius: 50%;
    transition: background-color .2s;
    border: 1px solid rgba(255,255,255,.4);
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.case-video__container svg {
    fill: #fff;
    width: 1.4rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-left: 0.2rem;
}

.case__video-play::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.15);
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
    transition: clip-path .4s;
    transition: clip-path .4s,-webkit-clip-path .4s;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.no-touch .case-video__container:hover .case__video-play::before {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.no-touch .case-video__container:hover svg, .touch .case-video__container:active svg {
    fill: #fff;
}

@media screen and (min-width: 1921px) {
    .realised-projects__catalog-list {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
}

@media only screen and (max-width: 640px) {
    .block-wrapper.block-intro + .block-wrapper > section {
        padding-top: 2rem !important;
    }
    .photo-with-details.photo-with-no-details {
        padding-bottom: 2rem !important;
    }
    .photo-with-details {
        padding: 2rem 0 !important;
    }
    .photo {
        padding-bottom: 2rem !important;
    }
}

