.teams__heading,
.teams__headlines,
.teams__title {
    padding-bottom: 30px;
}

.js-team {
    margin: 0 -16px;
    padding-bottom: 50px;
}

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

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

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

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

.team-item {
    padding: 0 16px;
}

.team {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    background: #240250;
    border-radius: 12px;
    color: #EEEDF8;
}

.team a {
    color: #c9f94b;
}

.team a:hover {
    border-color: #c9f94b;
}

.team__image {
    height: 245px !important;
}

.team__image img {
    border-radius: 12px;
    object-position: top;
    object-position: 50% 20%;
}

.team__details {
    padding: 35px 28px;
}

.team__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2em;
    color: var( --white );
}

.team__description {
    line-height: 1.666em;
}

.teams__title h3 {
    color: #240250;
}

@media (min-width: 768px) {
    .js-team {
        padding-bottom: 0;
    }

    .teams__headlines {
        padding-bottom: 50px;
    }

    .js-team .slick-arrow {
        top: -75px;
        margin: 0;
    }

    .js-team .slick-next {
        right: 16px;
    }

    .js-team .slick-prev {
        left: auto;
        right: 53px;
    }
    
}

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

    .teams__headlines {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .teams__title {
        padding: 0;
        width: calc(100% - 400px);
    }

    .teams__headlines .btn {
        width: 247px;
        margin-bottom: 5px;
        font-size: 22px;
        font-weight: 700;
    }

    .js-team .slick-arrow {
        top: -85px;
    }

    .js-team .slick-next {
        right: 310px;
    }

    .js-team .slick-prev {
        right: 358px;
    }

    .team__image {
        height: 280px !important;
    }
}