/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.cards {
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
}

.cards__wrap {
    margin: 0 -22px;
    position: relative;
    z-index: 1;
}

.cards__wrap::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -90px;
    width: 282px;
    height: 282px;
    border-radius: 50%;
    background: linear-gradient(to bottom,  rgba(5,181,200,1) 0%,rgba(5,181,200,0) 100%);
    opacity: 0.15;
    z-index: -1;
}

.cards__wrap::after {
    content: "";
    position: absolute;
    left: -82px;
    bottom: -10px;
    width: 282px;
    height: 282px;
    border-radius: 50%;
    background: linear-gradient(to bottom,  rgba(5,181,200,0) 0%,rgba(5,181,200,1) 100%);
    opacity: 0.15;
    z-index: -1;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
}

.cards__wrap .slick-initialized .slick-slide {
    margin: 12px 10px;
}

.card {
    position: relative;
    display: block;
    width: 292px;
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 10px rgba(221, 232, 248, 1);
    border-radius: 7px;
    padding: 10px 12px 20px;
    height: 318px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right,  #0062ab 0%,#05b5c8 100%); 
}

.card__image {
    width: 100%;
    height: 162px;
}

.card__description {
    padding: 15px 14px;
}

.card__description p {
    font-size: 18px;
    font-weight: 700;
    color: #28303C;
    line-height: 1.27em;
}

.card__bottom {
    padding-left: 14px;
}

.js-cards-slider {
    padding-bottom: 60px;
}

.cards__top-content {
    padding-bottom: 5px;
    position: relative;
    z-index: 2;
}

.cards__top-content h3 {
    font-size: 32px;
}

.cards__btn {
    padding-top: 40px;
}

@media (min-width: 768px) {
    .cards__wrap {
        margin: 0 -52px;
    }

    .cards__wrap::after {
        -webkit-transform: rotate(195deg);
                transform: rotate(195deg);
        left: -100px;
    }

    .card__description {
        padding: 15px 10px;
    }
    
}

@media (min-width: 1200px) {
    .cards {
        padding-bottom: 120px;
    }

    .cards__wrap {
        margin: 0 0px;
    }
    
    .cards__wrap .fx-slider .cards-item {
        display: block;
        width: 25%;
        padding: 0 16px;
    }

    .js-cards-slider {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin: 0 -16px;
        padding-bottom: 5px;
    }

    .card {
        width: 100%;
    }

    .cards__top-content {
        padding-bottom: 25px;
    }
    
    .cards__top-content h3 {
        font-size: 40px;
    }

    .card--link:hover {
        box-shadow: 0 0 18px rgba(221, 232, 248, 1);
    }

    .card--link:hover::before {
        background: linear-gradient(to right,  #05b5c8 0%,#0062ab 100%); 
    }

    .cards__wrap::before {
        right: -110px;
        top: -100px;
    }
    
    .cards__wrap::after {
        left: -140px;
        bottom: -100px;
    }

}




