.image-button {
    position: relative;
    display: block;
    width: 292px;
    height: 250px;
    margin: 0 auto;
    overflow: hidden;
}

.image-button-item {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
}

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

.image-button__hover:after {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background: rgba(28,27,25,0.6);
    transition: all 0.5s ease-in-out;
}

.image-button__hover {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.image-button__title {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.1em;
    transition: all 0.5s ease-in-out;
}

.image-button__icon {
    font-size: 32px;
    margin-bottom: 12px;
    transition: all 0.5s ease-in-out;
}

.image-button__icon,
.image-button__title,
.image-button__hidden {
    z-index: 3;
}

.image-button__description,
.image-button__cta {
    display: block;
}


.image-button__hidden {
    opacity: 0;
    max-height: 0;
    transition: all 0.5s ease-in-out;
}

.image-button__cta {
    border: none;
    color: #fff;
    background-color: rgba(28,27,25,0.6);
    width: 100%;
    display: block;
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    transition: all 0.2s ease-in-out;

}

.image-button:hover .image-button__cta {
    background-color: var(--brand-red);
}

.image-button__description {
    font-size: 15px;
    line-height: 1.5em;
    margin-top: 8px;
    margin-bottom: 32px;
}

.image-button:hover .image-button__description {
    color: #fff;
}

.image-buttons-wrapper {
    margin: 0 auto;
}

.image-buttons .homepage-heading {
    font-size: 40px;
}

@media (min-width: 768px) {
    .image-buttons h2 {
        margin-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .js-image-button {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .image-button {
        width: 100%;
    }

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

    .image-button:hover .image-button__hidden {
        opacity: 1;
        max-height: 250px;
        transition: all 0.5s ease-in-out;
    }

    .image-button:hover .image-button__hover:after {
        /* background: #ffffff; */
    }

    .image-button:hover .image-button__title {
        /* color: var(--brand-black); */
    }

    .image-button:hover .image-button__icon {
        color: var(--brand-red);
    }

    .image-buttons .homepage-heading {
        font-size: 60px;
    }
}