.image-buttons__border {
    position: relative;
    padding-left: 32px;
}

.image-buttons__border::before {
    content: '';
    position: absolute;
    top: -64px;
    left: 0;
    width: 2px;
    height: calc(100% + 128px);
    background: var(--charcoal);
    opacity: 0.1;
}

.image-buttons__heading {
    margin-bottom: 64px;
}

.image-button-slider {
    font-size: 0;
    margin: 0 -16px;
    padding-bottom: 80px;

    &.row {
        margin-bottom: -32px;
        padding-bottom: 0;

        .image-button-item {
            margin-bottom: 32px;
        }
    }
}

.image-button-slider .slick-dots {
    padding-left: 16px;
}

.image-button-item {
    padding: 0 16px;
}

.image-button {
    display: block;
    position: relative;
    height: 406px;
    text-decoration: none;
}

.image-button img {
    border-radius: 8px;
}

.image-button__details {
    position: absolute;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 16px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    backface-visibility: hidden;

    &:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--black-50);
        opacity: 0;
        filter: blur(10px);
        transition: opacity 0.3s ease-out, filter 0.3s ease-out;
    }
}

.image-button__title {
    margin: 0;
    display: inline-block;
    position: relative;
    font-size: 18px;
    line-height: 1em;
    color: var(--white);
    padding: 18px 16px;
    background: var(--black-80);
    border-radius: 8px;
    letter-spacing: 0.02em;
    z-index: 2;
    transition: background-color 0.2s ease-out;
}

.image-button__icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--orange);
    border-radius: 50%;
    left: -48px;
    top: -48px;
    font-size: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    pointer-events: none;
    z-index: 1;
}

.image-buttons__headlines {
    padding-left: 32px;
}

.image-button-slider {
    padding-left: 32px;
}

@media (min-width: 1200px) {
    .image-buttons__border {
        padding-left: 0;
    }

    .image-buttons__border::before {
        top: -126px;
        height: calc(100% + 252px);
    }

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

    .image-button-slider {
        padding-bottom: 80px;
    }

    .image-button-slider .slick-dots {
        padding-left: 48px;
    }

    .image-button {
        height: 524px;
        perspective: 1000px;
        transform-style: preserve-3d;
    }

    .image-button__title {
        margin-right: 32px;
    }

    .image-button:hover .image-button__title {
        background: var(--black-50);
    }

    .image-button:hover .image-button__details::before {
        opacity: 1;
        filter: blur(0);
    }

    .image-button:hover {
        cursor: none;
    }

    .image-button-item {
        padding-block: 10px;
    }
}