.cases-twenty-two {
    margin: 120px 0;
}
.cases-twenty-two__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 60px;
    gap: 60px;
}
.cases-twenty-two__grid a {
    display: block;
}
.cases-twenty-two__block {
    background: #F5F9FF;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 40px 32px 40px;
    transition: .2s all;
    min-height: 100%;
}
.cases-twenty-two__img{
    margin: 0 -40px;
    width: calc(100% + 80px);
}
.cases-twenty-two__img img{
    width: 100%;
    min-height: 120px;
    display: flex;
    align-self: center;
    justify-self: center;
    object-fit: cover;
}
.cases-twenty-two__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -0.01em;
    color: #2589FF;
    margin: 24px 0 0 0;
}
.cases-twenty-two__little-title {
    font-size: 26px;
    line-height: 30px;
    min-height: 40px;
    display: flex;
    align-items: end;
}
.cases-twenty-two__type {
    font-size: 16px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #474766;
    margin: 12px 0 0 0;
    font-weight: 700;
}
.cases-twenty-two__text {
    font-size: 13px;
    line-height: 16px;
    color: #808899;
    margin: 12px 0 0 0;
}
.cases-twenty-two__what {
    padding: 32px 0 0 0;
    font-weight: 700;
    font-size: 13px;
    line-height: 16px;
    color: #808899;
    margin-top: auto;
}
.cases-twenty-two__number {
    font-weight: 600;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.01em;
    color: #2589FF;
    margin: 4px 0 0 0;
}
.cases-twenty-two__btn {
    width: 100%;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    color: #2589FF;
    border: 1px solid #2589FF;
    border-radius: 6px;
    padding: 16px 24px;
    margin: 24px 0 0 0;
    transition: .2s;
}
.cases-twenty-two__btn img {
    position: relative;
    transition: 0.15s;
    right: 0;
}
.cases-twenty-two__block:hover .cases-twenty-two__btn {
    background: #fff;
}
.cases-twenty-two__block:hover .cases-twenty-two__btn img {
    right: -6px;
}
@media (max-width: 1350px) {
    .cases-twenty-two__grid {
        grid-gap: 40px;
        gap: 40px;
    }

    .cases-twenty-two__block {
        border-radius: 24px;
        padding: 0 20px 28px 20px;
    }
    .cases-twenty-two__img{
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
    .cases-twenty-two__title {
        font-size: 27px;
        line-height: 30px;
        margin: 20px 0 0 0;
    }
    .cases-twenty-two__little-title {
        font-size: 24px;
        line-height: 27px;
        min-height: 30px;
    }

    .cases-twenty-two__type {
        font-size: 14px;
        line-height: 14px;
    }
    .cases-twenty-two__text {
        font-size: 14px;
        line-height: 16px;
        margin: 9px 0 0 0;
    }

    .cases-twenty-two__what {
        padding: 20px 0 0 0;
        font-size: 14px;
        line-height: 14px;
    }

    .cases-twenty-two__number {
        font-size: 36px;
        line-height: 42px;
        margin: 4px 0 0 0;
    }
    .cases-twenty-two__btn {
        font-size: 13px;
        line-height: 15px;
        border-radius: 5px;
        padding: 12px 24px;
        margin: 20px 0 0 0;
    }
}
@media (max-width: 980px) {
    .cases-twenty-two {
        margin: 80px 0;
    }
    .cases-twenty-two__grid {
        grid-gap: 20px;
        gap: 20px;
    }

    .cases-twenty-two__block {
        border-radius: 18px;
        padding: 0 16px 32px 16px;
    }
    .cases-twenty-two__block:hover{
        transform: initial;
    }
    .cases-twenty-two__img{
        margin: 0 -16px;
        width: calc(100% + 32px);
    }
    .cases-twenty-two__title {
        font-size: 20px;
        line-height: 24px;
        margin: 16px 0 0 0;
    }
    .cases-twenty-two__little-title {
        font-size: 16px;
        line-height: 19px;
        min-height: 24px;
    }

    .cases-twenty-two__type {
        font-size: 14px;
        line-height: 14px;
    }
    .cases-twenty-two__text {
        margin: 8px 0 0 0;
    }
    .cases-twenty-two__number {
        font-size: 28px;
        line-height: 32px;
        margin: 8px 0 0 0;
    }
}
@media (max-width: 750px) {
    .cases-twenty-two {
        margin: 60px 0;
    }
    .cases-twenty-two__grid {
        grid-template-columns: 1fr;
        grid-gap: 20px;
        gap: 20px;
    }
    .cases-twenty-two__block {
        border-radius: 24px;
        padding: 0 20px 24px 20px;
    }
    .cases-twenty-two__img{
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
    .cases-twenty-two__title {
        font-size: 28px;
        line-height: 34px;
        margin: 24px 0 0 0;
    }
    .cases-twenty-two__little-title {
        font-size: 26px;
        line-height: 30px;
        min-height: 34px;
    }
    .cases-twenty-two__type {
        font-size: 14px;
        line-height: 16px;
        margin: 8px 0 0 0;
    }
    .cases-twenty-two__text {
        font-size: 14px;
        line-height: 16px;
        margin: 6px 0 0 0;
    }
    .cases-twenty-two__what {
        padding: 20px 0 0 0;
        font-size: 14px;
        line-height: 14px;
    }
    .cases-twenty-two__number {
        font-size: 40px;
        line-height: 45px;
        margin: 8px 0 0 0;
    }
    .cases-twenty-two__btn {
        font-size: 16px;
        line-height: 17px;
        padding: 14px 20px;
        margin: 20px 0 0 0;
    }
}


.cases-twenty-two .section-head-with-link {
    margin-bottom: 32px;
    text-align: center;
}
.cases-twenty-two .section-head-with-link h2 {
    margin: 0 0 24px 0;
}
.cases-twenty-two .section-head-with-link .page2020__link-button {
}

@media screen and (max-width: 767px) {
    .cases-twenty-two .section-head-with-link {
        text-align: left;
    }
}

@media screen and (max-width: 581px) {
    .cases-twenty-two .section-head-with-link h2 {
        margin-bottom: 16px;
    }
    .cases-twenty-two .section-head-with-link {
        margin-bottom: 24px;
        text-align: left;
    }
}


.cases-twenty-two .page2020__link-button {
    padding: 0 30px 0 0;
    background: url(https://roistat.com/img/index_new/icons/link-button-arrow.svg) calc(100% - 10px) 60% no-repeat;
    background-size: 15px;
    font-size: 18px;
    line-height: 27px;
    color: #2589FF;
    display: inline;
    transition: .15s;
}
.cases-twenty-two .page2020__link-button:hover {
    background: url(https://roistat.com/img/index_new/icons/link-button-arrow.svg) right 60% no-repeat;
}