.image-buttons {
    position: relative;
    z-index: 1;
}

.image-buttons__wrap {
    position: relative;
    z-index: 3;
}

.image-buttons--gradient {
    background: linear-gradient(90deg, #312BA1 0%, #736AFF 50%, #B760FF 100%);
}

.image-buttons__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.2;
}

.image-buttons__curve {
    position: absolute;
    width: 100%;
    height: auto;
    top: -1px;
    left: 0;
    z-index: 2;
}

.image-buttons--gradient::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.65) 100%);
}

.image-buttons--gradient .image-buttons__headlines,
.image-buttons--gradient .image-buttons__headlines .sub-heading,
.image-buttons--gradient .image-buttons__headlines .sub-title,
.image-buttons--gradient .image-buttons__headlines h2 {
    color: #fff;
}

.image-buttons--gradient .btn-group .btn-secondary {
    background: #fff;
    border-color: #fff;
}

.image-buttons__headlines {
    margin-bottom: 20px;
}

.image-buttons__headlines :last-child {
    margin-bottom: 0;
}

.image-buttons__top {
    position: absolute;
    width: 98px;
    height: auto;
    top: 118px;
    left: -55px;
    z-index: -1;
}

.image-buttons__bottom {
    position: absolute;
    width: 231px;
    height: auto;
    bottom: 30px;
    right: -52px;
    z-index: -1;
}

.image-button-flex {
    row-gap: 10px;
    justify-content: center;
    position: relative;
}

.image-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    border-radius: 25px;
    background: #FFF;
    padding: 8px 8px 20px;
    font-weight: normal;
    color: #605E7F;
    transition: transform .2s linear;
    box-shadow: 0 10px 25px rgba(24, 22, 53, 0.10);
}

.image-button__image {
    height: 146px;
}

.image-button__image img {
    border-radius: 20px;
}

.image-button__details {
    margin-top: 12px;
    padding: 0 15px;
}

.image-button__title {
    color: #312BA1;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.bg-gradient .image-button__title {
    color: #312BA1;
}

.bg-gradient .image-button__bottom .btn-tertiary {
    color: #312BA1;
}

.image-button__description {
    font-weight: 300;
    margin-bottom: 10px;
}

.image-button__bottom {
    padding: 10px 15px 0;
}

.image-buttons__bottom-content {
    margin-top: 20px;
}

.image-buttons--inner .image-buttons__top {
    padding: 0;
    top: -107px;
    left: -34px;
}

.image-buttons__pattern {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {

    .image-buttons--gradient .btn-group {
        margin-top: 35px;
    }

    .image-buttons__headlines {
        margin-bottom: 35px;
    }

    .image-buttons__top {
        top: 63px;
        left: -67px;
    }

    .image-buttons__bottom {
        bottom: -45px;
        right: -32px;
    }

    .image-button-flex {
        row-gap: 32px;
    }

    .image-button__title {
        font-size: 19px;
    }

    .image-buttons__bottom-content {
        margin-top: 35px;
    }

    .image-buttons--inner .image-buttons__top {
        padding: 0;
        top: -93px;
        left: -48px;
    }

    .image-buttons--inner .image-buttons__bottom {
        bottom: -21px;
        right: -106px;
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .image-buttons--curve {
        padding-top: 200px;
    }

    .image-buttons--gradient .btn-group {
        margin-top: 50px;
    }

    .image-buttons__headlines {
        margin-bottom: 50px;
    }

    .image-buttons__top {
        width: 216px;
        top: -34px;
        left: -154px;
    }

    .image-buttons__bottom {
        width: 509px;
        bottom: -101px;
        right: -304px;
    }

    .image-button {
        padding: 20px;
        border-radius: 35px;
    }

    .image-button__image {
        height: 175px;
    }

    .image-button__image img {
        border-radius: 25px;
    }

    .image-button__details {
        margin-top: 24px;
    }

    .image-button__title {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .image-button__bottom {
        padding-top: 20px;
    }

    .image-buttons--gradient .btn-group .btn-secondary:hover {
        background: rgba(210, 156, 255, 0.95);
        border-color: #D29CFF;
    }

    a.image-button:hover {
        transform: translate3d(0, -10px, 0);
    }

    .image-buttons__bottom-content {
        margin-top: 50px;
    }

    .image-buttons--inner .image-buttons__top {
        padding: 0;
        top: -159px;
        left: -128px;
    }

    .image-buttons--inner .image-buttons__bottom {
        bottom: -60px;
        right: -220px;
        padding: 0;
    }

    .image-buttons--four-column .image-button__image {
        height: 123px;
    }
}