.cards {
    position: relative;
    padding: 44px 0 255px 0;
    background-color: #E6F3F2;
}

.card-flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.card-flex:before,
.card-flex:after {
    display: none;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #FEF5E2;
    font-weight: 400;
}

.card__img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 155px !important;
}

.card__img {
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 60px 0;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
}

.card__details {
    padding: 21px 20px 5px;
    height: auto !important;
}

.card__description {
    text-decoration: none;
    font-family: 'lexendmedium';
    font-size: 17px;
    text-align: center;
    height: auto !important;
    color: #004A46;
}

.js-cards {
    padding-bottom: 43px;
}

.js-card-item {
    padding: 0 30px;
}

.cards__btn {
    padding-top: 30px;
}

.js-cards .slick-prev {
    left: 7px;
    margin-top: -15px;
}

.js-cards .slick-next {
    right: 7px;
    margin-top: -15px;
}

.cards .slick-track {
    display: flex !important;
}

.cards .slick-slide {
    height: inherit !important;
}

.cards .slick-slide div {
    height: 100%;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 54px !important;

}

.video-play.btn-purple svg path:first-child {
    fill: #9986BC;
}

.video-play.btn-yellow svg path:first-child {
    fill: #F6C254;
}

.video-play.btn-teal svg path:first-child {
    fill: #65C8C7;
}

.video-play.btn-pink svg path:first-child {
    fill: #EF96A6;
}

.cards__headline {
    text-align: center;
    padding: 0 0 20px 0;
}

.cards__headline h2 {
    padding: 0;
}

.cards__headline .btn {
    display: none;
}

/* When this section has a cta module adjacent to it - Add space */
section.video-gallery-wrapper + .cta.module {
    padding-top: 80px;
}

@media (min-width: 768px) {
    .cards {
        padding: 63px 0 150px 0;
    }

    .cards .fx-slide {
        display: block;
    }

    .js-cards {
        padding-bottom: 0;
    }

    .js-card-item {
        padding: 0 16px;
    }

    .card-item {
        margin-bottom: 22px;
    }

    .cards__btn {
        padding-top: 10px;
    }

    .card {
        border-radius: 30px;
    }

    .card__top {
        display: flex;
        align-items: center;
    }

    .card__img-wrap {
        width: 271px;
    }

    .card__img-wrap img {
        border-radius: 30px 4px 0 4px;
    }

    .card__details {
        padding: 0 32px;
        width: calc(100% - 271px);
    }
    
    .card__description {
        font-size: 19px;
        text-align: left;
    }

    .cards__headline {
        padding: 0 0 24px 0;
    }

    .cards__headline .btn {
        display: inline-block;
    }
    
}



@media (min-width: 1025px) {

    .card-item {
        margin-bottom: 0;
    }

    .cards__btn {
        padding-top: 0;
    }

    .card {
        border-radius: 30px 4px 30px 4px;
    }

    .card__top {
        display: block;
    }

    .card__img-wrap {
        width: 100%;
        height: 227px !important;
    }

    .card__img-wrap img {
        border-radius: 30px 4px 0 0;
    }

    .card__details {
        padding: 23px 20px;
        width: 100%;
    }
    
    .card__description {
        text-align: center;
    }

    .cards__headline {
        padding: 0 0 40px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
}

@media (min-width: 1200px) {

    .cards {
        padding: 141px 0 163px 0; 
       
    }

    .card:hover {
        background-color: #F6C254;
        transform: scale(1.08);
       
    }

    .video-play svg,
    .video-play {
        transition: all .3s;
    }

    .card:hover .video-play {
        height: 82px;
    }

    .card:hover .video-play svg {
        width: 82px ;
        height: 82px;
        transition: all .3s;
    }
}