.image-cards__headlines {
    text-align: center;
}

.image-cards__headlines p {
    margin-bottom: 0;
}

.image-cards__headlines {
    padding-bottom: 22px;
}

.image-cards__bottom {
    margin-top: 32px;
}

.image-cards__slider {
    margin-right: -22px;
}

.hover-icon-button .image-cards__slider {
    margin-right: 0;
}

.js-image-card,
.js-industry-we-serve {
    margin: 0 -10px;
    padding-bottom: 30px;
}

.image-card-item {
    padding: 10px;
    overflow: hidden;
}

.image-card {
    display: block;
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(30,60,96,0.16);
    border: none;
    border-radius: 24px;
    overflow: hidden;
    width: 216px;
    position: relative;
}

.hover-icon-button__grid .image-card {
    width: 100%;
}

.image-card__image {
    height: 204px;
}

.hover-icon-button__grid .image-card__image {
    height: auto;
}

.hover-icon-button__grid .image-back-card__description.has-js-scrollable-content {
    text-align: center;
    margin-bottom: 15px;
    height: calc(100% - 40px);
    overflow-y: auto;
    padding-right: 14px;
}

.hover-icon-button__grid .btn.image-card__cta {
    background-color: var(--c-white) !important;
    background-image: none;
    color: var(--c-blue);
    padding: 10px 20px;
    max-width: max-content;
    margin: 0 auto;
}

.hover-icon-button__grid .responsive-only.image-card__cta {
    display: block;
}

.image-card__image img {
    object-position: top;
}

.hover-icon-button__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hover-icon-button__grid .image-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--c-blue);
    height: 100%;
}

.image-card__text {
    height: 67px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 24px;
}

.image-card__text::after {
    content: '\e906';
    font-family: 'answerhero-icon';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translate(0, -50%);
    color: #00B2EE;
    font-size: 16px;
    line-height: 1em;
    font-weight: normal;
}

.image-card__title {
    font-size: 16px;
    color: #1E3C60;
    margin: 0;
    padding-right: 26px;
    line-height: 1.25em;
}

.js-image-card .slick-dots,
.js-industry-we-serve .slick-dots {
    padding-right: 22px;
}

.hover-icon-button__grid .image-card__image .grid__icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.hover-icon-button__grid .image-card__image {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 35px 24px 26px;
}

.hover-icon-button__grid .image-card__description,
.hover-icon-button__grid .image-card__title {
    color: #fff;
    margin-bottom: 14px;
    text-align: center;
    width: 100%;
}

/*  Image Buttons Layout - Grid */

.image-cards--grid .image-cards__slider {
    margin: 0;
}

.image-cards--grid::after {
    display: none;
}

.image-cards__grid {
    justify-content: center;
}

.image-cards--grid .image-card {
    width: 100%;
}

.image-cards--grid .image-cards__bottom--inner {
    text-align: center;
}

/* .image-cards--grid .image-cards__intro {
    justify-content: center;
} */

@media (min-width: 768px) {

    .image-cards__headlines {
        padding-bottom: 22px;
    }

    .image-cards__bottom {
        margin-top: 40px;
    }

    .image-cards__slider {
        margin-right: -52px;
    }

    .js-image-card,
    .js-industry-we-serve {
        margin: 0 -13px;
        padding-bottom: 43px;
    }

    .image-card-item {
        padding: 13px;
    }

    .image-card {
        width: 290px;
    }

    .image-card__image {
        height: 274px;
    }

    .hover-icon-button__grid .image-card__image .grid__icon {
        margin-bottom: 20px;
    }

    .hover-icon-button__grid .image-card-item {
        width: 50%;
    }

    .image-card__text {
        height: 83px;
    }


    .image-card__title {
        font-size: 18px;
    }

    .js-image-card .slick-dots,
    .js-industry-we-serve .slick-dots {
        padding-right: 52px;
    }

}


@media (min-width: 1200px) {

    .image-cards__headlines {
        padding-bottom: 0;
        text-align: left;
        padding-right: 40px;
    }

    .image-cards__headlines p {
        margin-bottom: 28px;
    }

    .image-cards__slider {
        margin-right: -63px;
    }

    .js-image-card,
    .js-industry-we-serve {
        margin: 0 -16px;
        padding-bottom: 32px;
    }

    .image-card-item {
        padding: 16px;
    }

    .hover-icon-button__grid .image-card-item {
        padding: 12px;
        width: unset;
    }

    .hover-icon-button__grid .responsive-only.image-card__cta {
        display: none;
    }

    .image-card {
        width: 292px;
        position: relative;
        overflow: hidden;
    }

    .hover-icon-button__grid .image-card {
        width: 292px;
    }

    .image-card__image {
        height: 276px;
    }

    .hover-icon-button__grid .image-card__image {
        height: auto;
    }

    .image-card__text {
        height: 84px;
        padding-right: 38px;
    }

    .js-image-card .slick-dots,
    .js-industry-we-serve .slick-dots {
        padding-right: 79px;
        justify-content: flex-end;
    }

    .image-card__hover {
        position: absolute; /* Back to absolute positioning */
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        background: rgba(30, 60, 96, 0.96);
        padding: 35px 24px 26px;
        color: #fff;
        transition: opacity 0.5s; /* Only transition opacity */
        box-sizing: border-box;
    }

    .image-card:hover .image-card__hover {
        opacity: 1;
    }

    .hover-icon-button__grid .image-card__hover {
        background-color: var(--c-orange);
        /*background: rgba(246,143,49,0.96);;*/
    }


    .image-card__hover .image-card__title {
        color: #fff;
        margin-bottom: 24px;
    }

    .image-card:hover .image-card__hover {
        opacity: 1;
    }

    .image-card__hover .image-card__description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .image-card:hover .image-card__text {
        display: none;
    }

    .image-card:hover .image-card__image {
        height: 360px;
    }

    .hover-icon-button__grid .image-card:hover .image-card__image {
        height: auto;
    }

    .image-card__cta {
        text-transform: none;
        display: block;
        width: 100%;
        text-align: left;
    }

    .image-card__cta::before {
        right: 0;
    }

    .image-card__cta:hover {
        color: #00B2EE;
    }

}

@media (min-width: 1367px) {
    .image-cards__slider {
        margin-right: 0px;
    }

    .image-cards__slider.industry-we-serve {
        width: 2500px;
    }

    .image-cards__slider.industry-we-serve .slick-prev {
        left: 20px;
        top: unset;
        bottom: -60px;
    }

    .image-cards__slider.industry-we-serve .slick-next {
        left: 90px;
        top: unset;
        bottom: -60px;
    }

    .js-image-card .slick-dots,
    .js-industry-we-serve .slick-dots {
        padding-right: 0;
        justify-content: flex-start;
        padding-left: 644px;
    }

}

.image-cards__bottom--inner {
    text-align: center;
}

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

@media (min-width: 1200px) {
    .image-cards__slider--inner .js-image-card {
        padding-bottom: 0;
    }

    .image-cards__slider--inner .js-industry-we-serve {
        padding-bottom: 0;
    }

    .image-cards {
        position: relative;
    }

    .image-cards::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 328px;
        height: calc(100% - 70px);
        background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.7) 25%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%);
        pointer-events: none;
    }

    .hover-icon-button.image-cards::after {
        display: none;
    }

    .hide-blur.image-cards::after {
        display: none;
    }

    .image-cards__bottom--inner {
        text-align: right;
        margin-top: 24px;
    }

    .image-cards__slider--inner .js-image-card .slick-dots,
    .image-cards__slider--inner .js-industry-we-serve .slick-dots{
        padding-left: 16px;
        bottom: -63px;
    }
}