.home-image-buttons {
    background: var(--color-bg-light-blue);
    padding-top: 25px;
    padding-bottom: 130px;
}

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

.home-image-button {
    display: block;
    height: 150px;
    position: relative;
}

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

.home-image-button::before,
.home-image-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-image-button::after {
    background: linear-gradient(180deg, rgba(1, 10, 25, 0.00) 0.61%, rgba(1, 10, 25, 0.80) 100%);
}

.home-image-button::before {
    background: linear-gradient(180deg, rgba(1, 10, 25, 0.8) 0, rgba(1, 10, 25, 0.80) 100%);
    opacity: 0;
}

.home-image-button__details {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-image-button__details h4 {
    color: #FFF;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    padding-right: 30px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-image-button__details h4::after {
    content: '\e923';
    font-family: 'lyon-icon';
    position: absolute;
    font-size: 20px;
    line-height: 1em;
    font-weight: normal;
    right: 0;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .home-image-buttons {
        padding-top: 32px;
        padding-bottom: 165px;
    }

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

    .home-image-button {
        height: 235px;
    }


    .home-image-button__details {
        padding: 30px 40px;
    }

    .home-image-button__details h4 {
        font-size: 25px;
        padding-right: 0;
    }

    .home-image-button__details h4::after {
        position: relative;
        font-size: 25px;
        right: auto;
        top: 2px;
        -webkit-transform: translate(0, 0);
                transform: translate(0, 0);
        padding-left: 13px;
    }
}


@media (min-width: 1200px) {
    .home-image-buttons {
        padding-bottom: 145px;
    }

    .home-image-button {
        height: 275px;
    }

    .home-image-button:hover::before {
        opacity: 1;
    }


    .home-image-button__details h4::after {
        display: none;
    }

    .home-image-button:hover .home-image-button__details h4 {
        transform: translateY(-5px);
    }

    .home-image-button__hover {
        opacity: 0;
        visibility: hidden;
        margin-top: 10px;
        transform: translateY(10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, height 0.3s ease;
        height: 0;
        overflow: hidden;
    }

    .home-image-button__hover .btn-tertiary {
        color: #fff;
    }

    .home-image-button:hover .home-image-button__hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        height: auto;
    }
}