.text-cards__headlines {
    margin-bottom: 35px;
}

.text-cards__headlines :last-child {
    margin-bottom: 0;
}

.text-cards__bttn {
    margin-top: 35px;
}

.text-card-flex {
    row-gap: 32px;
}

.text-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    border-radius: var(--border-radius);
    background: var(--color-bg-tan);
    padding: 20px 20px 26px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    color: var(--color-text-body);
    font-weight: 400;
}

.bg-tan .text-card,
.bg-light-purple .text-card {
    background: var(--color-white);
}

.text-card--no-link {
    pointer-events: none;
    cursor: default;
}

.text-card--no-link::before {
    display: none;
}

.text-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: 0;
    z-index: -1;
    background: var(--gradient-gold);
    transition: var(--transition-default);
}

.text-card h4 {
    margin-bottom: 5px;
    color: var(--color-text-dark);
    font-size: 25px;
    line-height: var(--line-height-tight);
}

.text-card__bottom {
    margin-top: 10px;
}

.text-card-slider {
    margin: 0 -16px;
    font-size: 0;
    padding-bottom: 44px;
}

.text-card-item {
    padding: 0 16px;
    margin-bottom: 32px;
}

.text-card-slider .slick-arrow {
    background: var(--color-purple);
}

.text-card-slider+.text-cards__bttn {
    text-align: center;
}

@media (min-width: 768px) {
    .text-cards__headlines {
        margin-bottom: 50px;
        padding: 0 5px;
    }

    .text-cards__bttn {
        margin-top: 50px;
    }

    .text-card {
        padding: 30px 30px 36px;
    }

    .text-card h4 {
        margin-bottom: 6px;
        font-size: 28px;
    }

    .text-card:hover::before {
        height: 100%;
    }

    .text-card:hover .text-card__bottom .btn {
        color: #2E2E2E;
    }

    .text-card-slider {
        padding-bottom: 0;
    }

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

    .text-card-slider .slick-arrow {
        bottom: -102px;
        margin: 0;
    }

    .text-card-slider .slick-prev {
        left: 16px;
    }

    .text-card-slider .slick-next {
        left: 106px;
        right: auto;
    }

    .text-card-slider+.text-cards__bttn {
        text-align: right;
    }

    .text-card-slider .slick-track {
        display: flex !important;
    }

    .text-card-slider .slick-slide {
        height: inherit !important;
    }

    .text-card-slider .slick-slide div {
        height: 100%;
    }

    .text-card-slider .slick-slide .text-card div {
        height: auto;
    }
}

@media (min-width: 1200px) {
    .text-card-flex .col-lg-6:last-child:nth-child(odd) {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .text-card-flex .col-lg-6:last-child:nth-child(odd) .text-card {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        box-sizing: border-box;
    }

     .text-cards--expand-last-card .text-card-flex .col-lg-6:last-child:nth-child(odd) {
        justify-content: flex-start;
    }
    .text-cards--expand-last-card .text-card-flex .col-lg-6:last-child:nth-child(odd) .text-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .text-card-slider .slick-arrow {
        bottom: auto;
        margin-top: -26px;
        top: 50%;
    }

    .text-card-slider .slick-prev {
        left: -86px;
    }

    .text-card-slider .slick-next {
        left: auto;
        right: -86px;
    }

    .text-card-slider+.text-cards__bttn {
        text-align: center;
    }
}