.image-button {
    position: relative;
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.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: linear-gradient(to bottom, transparent 0%, rgba(55,64,70,0.7) 100%);
}

.image-button__hover {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px 20px 8px 20px;
    color: #fff;
}

.image-button--static .image-button__hover {
    padding: 30px 20px 30px 20px;
}

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

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

.image-button__title {
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
}

.image-button__cta {
    display: inline-flex;
    padding: 0 6px;
    margin-top: 25px;
    margin-bottom: 20px;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 2em;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.image-button__description {
    margin-top: 12px;
}

@media (min-width: 768px) {
    .image-button {
        height: 360px;
    }
}

@media (min-width: 1025px) {
    .image-button {
        height: 360px;
    }

    .image-button__hover {
        z-index: 2;
        bottom: 0;
        color: #fff;
    }

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

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

    .image-button__cta:hover {
        background-color: var(--blue-hover);
        transition: all 0.5s ease-in-out;
    }
}