#slider-block-cards {
    padding: 0;
}

#slider-block-cards .flickity-viewport {
    height: 600px !important;
}

#slider-block-cards .carousel {
    height: 540px;
    width: 100%;
}

#slider-block-cards .carousel-cell {
    height: 540px;
    width: calc(100% / 3 - 30px);
    margin-right: 10px;
    padding: 0 12px;
    box-sizing: border-box;
}

#slider-block-cards .carousel-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 10px;
    transition: height ease-in-out 0.2s;
}

@media screen and (min-width: 1024px) {
    #slider-block-cards .carousel-image:hover {
        height: 103%;
        transform-origin: top;
        transition: height ease-in-out 0.3s;
        box-shadow: -4px 12px 12px 0px rgba(0, 0, 0, 0.35);
    }
}

#slider-block-cards .carousel-content {
    position: absolute;
    bottom: 30px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

#slider-block-cards .carousel-link, .carousel-link:hover {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
}

#slider-block-cards .flickity-button {
    background-color: white;
    box-shadow: 0px 0px 10px grey;
    height: 65px;
    width: 65px;
}

#slider-block-cards .flickity-prev-next-button.next {
    right: -80px;

}

#slider-block-cards .flickity-prev-next-button.previous{
    left: -80px;
}

@media screen and (max-width: 1280px) {
    #slider-block-cards .flickity-button {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #slider-block-cards .carousel-cell {
        width: 85%;
        height: 400px;
    }

    #slider-block-cards .carousel {
        height: 400px;
        width: 100%;
    }

    #slider-block-cards .flickity-viewport {
        height: 450px !important;
    }
}

@media screen and (max-width: 360px){
    #slider-block-cards .carousel-cell {
        padding-left: 5px;
    }
}