.image-button {
    position: relative;
    display: block;
    width: 100%;
    height: 107px;
    background: #007DC5;
    border-radius: 15px;
    z-index: 2;
}

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

.image-buttons .row {
    justify-content: center;
}

.home .image-buttons {
    margin-top: 70px;
}

@media (min-width: 1200px) {
    .home .image-buttons {
        margin-top: 0;
    }   
}

.image-button__img {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 90px;
    border-radius: 15px 0 0 15px;
    -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%);
    display: none;
}

.image-button__hover {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 10px 15px 10px 105px;
    color: var(--color-white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.image-button__hidden {
    display: none;
}

.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: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}

.image-button__cta {
    margin-top: 20px;
    margin-bottom: 10px;
    border: none;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.image-button__cta:hover {
    color: var(--color-white);
    background: linear-gradient(to bottom, var(--color-blue) 0%, var(--color-blue) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 4px 13px;
    padding-right: 41px;
}

.image-button__description {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.66em;
    color: var(--color-white);
    font-weight: 400;
}

.image-button__btn {
    position: absolute;
    right: 0;
    bottom: -18px;
    z-index: 2;
}

.image-button__btn .btn {
    border-radius: 15px 0 15px 15px;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
}

.image-buttons .row.js-experts-slider .soft-bottom {
    padding-bottom: 30px !important;
}

.row.js-experts-slider {
    padding-bottom: 40px;
}

html[lang=es] .row.js-experts-slider {
    padding-bottom: 80px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .home .row.js-experts-slider {
        padding-bottom: 70px;
    }
}

@media (max-width: 1199px) {
    .row.js-experts-slider {
        margin-bottom: 40px;
    }
}

.image-buttons .soft-bottom {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 767px) {
    .image-buttons .soft-bottom {
        padding-bottom: 40px !important;
    }
}

.image-buttons__top-content {
    color: var(--color-black);
    padding-bottom: 20px;
    position: relative;
}

.image-buttons__top-content__text {
    padding-bottom: 20px;
}

.line {
    position: absolute;
    right: -45px;
    bottom: 30px;
    width: 195px;
}

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

    .image-button__img {
        width: 142px;
    }

    .image-button__hover {
        padding: 10px 15px 10px 160px;
    }

    .image-button__btn {
        position: absolute;
        right: 0;
        bottom: -30px;
        z-index: 1;
    }
    
    .image-button__btn .btn {
        font-size: 22px;
        padding: 20px 62px 20px 30px;
    }

    .image-button__title {
        font-size: 35px;
        line-height: 1em;
    }
    
    .image-buttons .soft-bottom {
        padding-bottom: 45px !important;
    }

    .image-buttons__top-content {
        padding-bottom: 30px;
    }

    .line {
        right: -52px;
        bottom: 38px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .image-button__btn .btn {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .image-button {
        height: 674px;
        overflow: initial;
        background: transparent;
    }

    .image-button::before {
        content: '';
        position: absolute;
        z-index: 2;
        bottom: 174px;
        left: 0;
        width: 100%;
        height: 0;
        opacity: 0;
        transition: all 0.2s ease-in-out;
        background: linear-gradient(to bottom,  rgba(0,125,197,0) 0%,rgba(0,125,197,0.5) 55%,rgba(0,125,197,1) 100%); 
        display: none;
    }

    .image-button:hover::before {
        height: 300px;
        opacity: 1;
    }

    .image-button__btn {
        bottom: auto;
        top: calc(100% - 95px);
        z-index: 2;
    }

    .image-button__img {
        width: 100%;
        height: calc(100% - 174px);
        border-radius: 15px 15px 0 0;
    }

    .image-button__hover {
        z-index: 2;
        bottom: 35px;
        color: var(--color-white);
        position: absolute;
        width: 100%;
        padding: 32px 32px 61px 32px;
        height: auto;
        display: block;
        border-radius: 0 0 15px 15px ;
    }

    .image-button__hover::before {
        content: '';
        position: absolute;
        z-index: 2;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 146px;
        height: 100%;
        background: #007DC5;
        z-index: -2;
        border-radius: 0 0 15px 15px;
    }

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

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

    .image-button__cta.btn-tertiary {
        background: transparent;
        background-position: 0 100%;
        background-repeat: repeat-x;
        background-size: 0 4px;
        border-radius: 0;
        padding-right: 41px;
    }

    .image-button:hover .image-button__cta {
        color: var(--color-white);
        background: linear-gradient(to bottom, var(--color-blue) 0%, var(--color-blue) 100%);
        background-position: 0 100%;
        background-repeat: repeat-x;
        background-size: 4px 13px;
    }

    .image-buttons .soft-bottom {
        padding-bottom: 45px !important;
    }

    .image-buttons__top-content {
        padding-bottom: 32px;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
    }

    .image-buttons__top-content__text {
        max-width: 760px;
        padding: 0;
    }

    .line {
        right: -244px;
        bottom: 870px;
        width: 290px;
    }

    .image-buttons {
        margin: 0;
        position: relative;
    }

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

@media (min-width: 1600px) {
    .line {
        width: 350px;
    }
}

@media (min-width: 1800px) {
    .line {
        width: 497px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .home .line {
        top: auto;
        bottom: 50px;
    }
}

@media (max-width: 767px) {
    .image-button {
        height: auto;
    }
    
    .image-button__hover {
        padding: 30px 15px 5px 105px;
    }

    .image-button__btn {
        position: relative;
        bottom: 0;
        text-align: right;
        transform: translateY(15px);
    }

    .image-button__btn .btn {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .image-button__hover:after {
        display: block;
        content: "";
        height: 150px;
        top: 5px;
        opacity: 0;
        transition: opacity 0.25s ease-in-out;
        transform: translateY(-100%);
        z-index: 3;
        background: linear-gradient(to bottom,rgba(0,125,197,0) 0%,rgba(0,125,197,1) 90%,rgba(0,125,197,1) 100%);
    }

    .image-button:hover .image-button__hover:after {
        opacity: 1;
    }
}


@media (min-width: 768px) and (max-width: 1199px) {
    .home .image-button {
        height: auto;
    }
    
    .image-button__title {
        font-size: 22px;
    }

    .home .image-button__btn .btn {
        padding: 15px 50px 15px 30px;
        font-size: 15px;
        text-align: left;
        min-height: 70px;
        display: flex;
        align-items: center;
    }

    .home .image-button__hover {
        padding: 30px 25px 30px 160px;
        min-height: 118px;
    }

    .home .image-button__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .home .image-button__btn {
        position: relative;
        bottom: 0;
        text-align: right;
    }

    .image-buttons .soft-bottom {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 1200px) and (max-width: 1336px) {
    html[lang=es] .image-button__btn .btn {
        min-height: 112px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1400px) {
    html[lang=es] .image-button__btn .btn {
        min-height: 128px;
        display: flex;
        align-items: center;
        justify-content: center;
    }   
}

.single-location .image-button {
    pointer-events: none;
}