.service-card-col {
    margin-bottom: 70px;
    padding: 10px;
}

.service-card {
    position: relative;
    width: 100%;
    display: block
}

.service-card-image {
    display: block;
    padding-top: 74%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 6px;
    overflow: hidden
}

.service-card .effect {
    margin: 0 24px;
    position: absolute;
    bottom: -30px;
    border: none;
    height: auto;
    min-height: 0;
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16)
}

.effect {
    background-color: #FFF;
    padding: 24px 18px 18px 18px;
    border: 1px solid #D2D2D2;
    height: 100%;
    min-height: 350px
}

.content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    width: 100%;
    z-index: 1;
    color: #222831;
    font-size: 16px
}

.content-summary {
    margin-top: 0;
    max-height: 0;
    color: #FFF;
    margin-top: 0;
    opacity: 0;
    transition: max-height 0.6s ease-in-out, margin 0.6s ease-in-out, opacity 0.6s ease-in-out;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical
}

.effect:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #222831;
    transition: height 0.6s ease-in-out
}

.content-headline {
    width: 100%;
    display: flex;
    align-items: center;
    transition: 0.6s all;
    -webkit-transition: 0.6s all;
    -moz-transition: 0.6s all
}

.content-icon {
    width: 75px;
    height: 75px;
    border: 2px solid #222831;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    padding: 4px;
    box-sizing: border-box;
    transition: 0.6s all;
    -webkit-transition: 0.6s all;
    -moz-transition: 0.6s all
}

.content-icon-background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222831;
    border: 2px solid #222831;
    box-sizing: border-box;
    transition: 0.6s ease-in-out;
    -webkit-transition: 0.6s ease-in-out;
    -moz-transition: 0.6s ease-in-out
}

.content-icon-background img {
    max-width: 42px
}

.service-title {
    font-weight: 700;
    transition: 0.6s ease-in-out;
    -webkit-transition: 0.6s ease-in-out;
    -moz-transition: 0.6s ease-in-out;
    width: calc(100% - 75px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

@media (min-width: 1025px) {
    .service-card:hover .effect:after {
        height: 100%
    }

    .service-card:hover .content-resource-icon--hover {
        opacity: 1
    }

    .service-card:hover .content-summary {
        max-height: 320px;
        opacity: 1
    }

    .service-card:hover .content-icon {
        border-color: #fff;
        color: #fff
    }

    .service-card:hover .service-title {
        color: #fff
    }

    .service-card:hover .content-headline {
        margin-bottom: 16px
    }

    .service-card:hover .content-icon-background {
        border-color: #fff
    }
}

@media (min-width: 1200px) {
    .service-card:hover .content-headline {
        margin-bottom: 30px
    }
}

@media (max-width: 1559px) {
    .content-icon {
        width: 65px;
        height: 65px;
        padding: 3px
    }

    .content-icon-background img {
        max-width: 36px
    }
}

@media (max-width: 1199px) {
    .content-summary {
        font-size: 15px
    }

    .effect {
        padding: 20px 14px 14px 14px
    }

    .content-icon {
        width: 60px;
        height: 60px
    }

    .service-title {
        width: calc(100% - 70px)
    }
}

@media (max-width: 1024px) {
    .service-card-col {
        margin-bottom: 70px
    }
}

@media (max-width: 767px) {
    .service-card .effect {
        padding: 14px 8px 8px 8px;
        margin: 0 12px
    }

    .content-icon {
        width: 50px;
        height: 50px;
        padding: 2px
    }

    .content-icon-background img {
        max-width: 28px
    }

    .service-title {
        width: calc(100% - 60px);
        font-size: 15px
    }
}

@media (max-width: 575px) {
    .service-card-col {
        margin-bottom: 55px
    }
}
