.image-box {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.image-box .img-cont {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.image-box .img-cont.gradient::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.image-box img {
    display: block;
    width: 100%;
}

.image-box .title-cont {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.image-box .title-cont .bar {
    content: "";
    padding: 0 2.5px;
    height: 40px;
    background-color: #cb545b;
}

.image-box .title-cont .title {
    margin-left: 15px;
    padding-right: 15px;
}

.image-box .title-cont .title h5 {
    color: #f5f5f0;
    margin-bottom: 0;
}

.image-box .content {
    display: none;
}
@media only screen and (max-width: 640px) {
    .image-box .content {
        display: block;
        background-color: #fff !important;
        padding: 15px;
    }
    .image-box .content .title {
        display: none;
    }
}
@media only screen and (min-width: 641px) {
    .image-box .content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background-color: rgba(203, 84, 91, 0.9);
        transition: height 0.3s ease;
    }

    .image-box:hover .title-cont {
        display: none
    }

    .image-box:hover .content {
        height: 100%;
        transition: height 0.3s ease;
    }

    .image-box .content .inner {
        padding: 20px;
    }

    .image-box .content .inner h5 {
        margin-bottom: 5px;
        color: #f5f5f0;
        font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1024 - 320)));
    }

    .image-box .content .inner p {
        line-height: 1.2;
        margin-bottom: 5px;
        color: #f5f5f0;
        font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1024 - 320)));
    }

    .image-box .content .btn-link {
        text-align: center;
    }

    .image-box .content .btn-link a {
        padding: 5px 0;
        width: 100%;
        max-width: 280px;
        font-size: 18px;
        border: 2px solid #f5f5f0;
        background-color: transparent;
        color: #f5f5f0;
        border-radius: 2px;
        display: inline-block;
        transition: border-color 0.3s ease-out, color 0.3s ease-out, background-color 0.3s ease-out;
    }

    .image-box .content .btn-link a:hover,
    .image-box .content .btn-link a:active{
        background-color: #f5f5f0;
        color: #cb545b;
        transition: all 0.3s ease-out;
        color: inherit;
    }
}

@media only screen and (min-width: 1025px) {

    .image-box .content .inner h5 {
        margin-bottom: 15px;
        font-size: 24px;
    }

    .image-box .content .inner p {
        margin-bottom: 20px;
        font-size: 18px;
    }
    .image-box .content .btn-link a {
        padding: 10px 0;
        font-size: 20px;
    }
}