.cards-block {
    overflow: hidden;
    padding: 60px 0;
    background-color: #eff2f5;
    position: relative;
    z-index: 1;
}
/*  */
.cards-slider-content button {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.26em;
    padding: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #13307F;
    border: none;
    font-weight: 600;
    display: inline-block;
    background: linear-gradient(
        to bottom,
        rgba(148, 167, 220, 0.5) 0%,
        rgba(148, 167, 220, 0.5) 100%
    );
    background-position: 0 120%;
    background-repeat: repeat-x;
    background-size: 6px 6px;
    text-decoration: none;
    transition: background-size 0.2s;
}

.cards-slider-content button:hover {
    background-size: 4px 50px;
    color: #13307F;
    background-position: 0 100%;
}

.cards-slider-content button i {
    font-size: 12px;
    vertical-align: middle;
    font-weight: normal;
    padding: 0 0 2px 2px;
}

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

.cards-slider-item {
    height: 100%;
    padding: 15px 15px 30px;
    background: #fff !important;
    position: relative;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    transition: ease 0.3s;
    border-radius: 3px;
}

.cards-slider-item:hover {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
}

.cards-slider-image {
    height: 150px !important;
    border-radius: 3px;
    overflow: hidden;
    display: block;
    margin-bottom: 15px;
}

.cards-slider-image img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.cards-slider-content {
    padding: 0 11px;
}

.cards-slider-content p {
    padding-bottom: 10px;
    font-size: 14px;
    color: #4a575e;
}

.cards-slider-content h4 {
    font-size: 19px;
    color: #1a1818;
    line-height: 1.26em;
    padding-bottom: 5px;
}

.js-cards-slider .slick-list {
    margin-left: -20px;
    margin-right: -20px;
}

.js-cards-slider .slick-slide {
    vertical-align: top;
    padding: 20px;
}

.js-cards-slider .slick-arrow {
    bottom: 0;
    margin: 0;
    background-color: #fff;
    color: #13307F;
    border: 1px solid #dddddd;
}

.js-cards-slider .slick-prev {
    border-radius: 0 0 3px 3px;
    right: 43px;
    margin: 0;
    left: unset;
}

.js-cards-slider .slick-next {
    border-radius: 3px 3px 0 0;
    right: 0;
    margin: 0;
}

.cards-block-wrapper {
    position: relative;
}

.cards-slider-btn {
    position: absolute;
    left: 22px;
    bottom: 0;
}

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

.cards-block h2 {
    padding-bottom: 0;
}

.cards-block-curve div {
    position: absolute;
}

.cards-block-curve div:first-child {
    width: 219px;
    height: 161px;
    background: rgb(0, 103, 65);
    background: linear-gradient(
        61deg,
        rgba(0, 103, 65, 0.25) 0%,
        rgba(0, 103, 65, 0) 100%
    );
    -webkit-clip-path: polygon(1% 44%, 100% 0, 100% 56%, 0% 100%);
    clip-path: polygon(1% 44%, 100% 0, 100% 56%, 0% 100%);
    opacity: 0.3;
    top: 0;
    z-index: -1;
}

.cards-block-curve div:nth-child(2) {
    width: 160px;
    height: 78px;
    background: rgb(0, 103, 65);
    background: linear-gradient(
        240deg,
        rgba(0, 103, 65, 0.25) 0%,
        rgba(0, 103, 65, 0) 100%
    );
    -webkit-clip-path: polygon(0 65%, 100% 0, 100% 35%, 0% 100%);
    clip-path: polygon(0 65%, 100% 0, 100% 35%, 0% 100%);
    opacity: 0.3;
    top: 151px;
    z-index: -1;
}

.cards-block-curve div:nth-child(3) {
    width: 219px;
    height: 161px;
    background: rgb(0, 103, 65);
    background: linear-gradient(
        240deg,
        rgba(0, 103, 65, 0.25) 0%,
        rgba(0, 103, 65, 0) 100%
    );
    -webkit-clip-path: polygon(1% 44%, 100% 0, 100% 56%, 0% 100%);
    clip-path: polygon(1% 44%, 100% 0, 100% 56%, 0% 100%);
    opacity: 0.3;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.cards-block-curve div:last-child {
    width: 160px;
    height: 78px;
    background: rgb(0, 103, 65);
    background: linear-gradient(
        240deg,
        rgba(0, 103, 65, 0.25) 0%,
        rgba(0, 103, 65, 0) 100%
    );
    -webkit-clip-path: polygon(0 65%, 100% 0, 100% 35%, 0% 100%);
    clip-path: polygon(0 65%, 100% 0, 100% 35%, 0% 100%);
    opacity: 0.3;
    right: 0;
    bottom: 151px;
    z-index: -1;
}

.cards-block .sub-heading {
    padding-bottom: 5px;
}

@media (min-width: 768px) {
    .cards-slider-content button {
        position: absolute;
        bottom: 30px;
        left: 26px;
    }

    .cards-slider-item {
        padding: 20px 20px 71px;
        height: 100%;
    }

    .js-cards-slider .slick-track {
        display: flex;
    }

    .js-cards-slider .slick-slide {
        height: auto;
        padding: 15px;
    }

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

    .js-cards-slider .slick-slide div div {
        height: auto;
    }

    .cards-slider-btn {
        left: 52px;
    }

    .cards-slider-content {
        padding: 0 6px;
    }

    .cards-slider-content p {
        padding-bottom: 0;
        line-height: 1.64em;
    }

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

    .cards-block h2 {
        padding-bottom: 15px;
    }

    .cards-slider-btn {
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .cards-block {
        padding: 70px 0;
    }

    .cards-block-curve div:first-child {
        top: 46px;
        left: -50px;
    }

    .cards-block-curve div:nth-child(2) {
        top: 201px;
        left: -50px;
    }

    .cards-block-curve div:nth-child(3) {
        right: -15px;
        bottom: 45px;
    }

    .cards-block-curve div:last-child {
        right: -15px;
        bottom: 181px;
    }

    .cards-block .sub-heading {
        padding-bottom: 10px;
    }

    .cards-slider-content p {
        font-size: 15px;
        line-height: 1.533em;
    }
}

@media (min-width: 1200px) {
    .js-cards-slider .fx-slide {
        display: block;
        height: inherit;
    }

    .js-cards-slider {
        display: flex;
        width: calc(100% + 32px);
        padding-bottom: 91px;
        margin: 0 -16px;
        flex-wrap: wrap;
    }

    .js-cards-slider .slick-list {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-slider-item {
        width: calc(33.333% - 32px);
        margin: 0 16px;
    }

    .cards-slider-image {
        height: 200px !important;
        margin-bottom: 22px;
    }

    .cards-slider-content h4 {
        font-size: 24px;
        line-height: 1.25em;
        padding-bottom: 10px;
    }

    .cards-slider-content h4 br {
        display: none;
    }

    .cards-slider-content {
        padding: 0 10px;
    }

    .cards-block h2 {
        padding-bottom: 30px;
    }

    .cards-slider-content p {
        line-height: 1.666em;
    }

    .cards-block {
        padding: 100px 0;
    }

    .cards-block-curve div:first-child {
        width: 547px;
        height: 403px;
        left: -117px;
        top: 26px;
    }

    .cards-block-curve div:nth-child(2) {
        top: 425px;
        left: -165px;
        width: 398px;
        height: 194px;
    }

    .cards-block-curve div:nth-child(3) {
        width: 547px;
        height: 403px;
        right: -84px;
        bottom: 85px;
    }

    .cards-block-curve div:last-child {
        right: -15px;
        bottom: 416px;
        width: 398px;
        height: 194px;
    }
}

.slick-slider .cards-slider-item {
    margin: 0;
}
