.text-card__category {
    font-size: 20px;
    color: #089CD6;
    font-weight: 400;
    margin: 0 0 10px;
}

.text-card {
    text-align: center;
    padding: 20px 20px 30px;
    background-color: #fff;
    box-shadow: 5px 5px 14px rgb(107 107 107 / 12%);
    border-top: 10px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;

    &:hover {
        box-shadow: 1px 1px 14px rgba(107, 107, 107, 0.3);
    }
}

.text-card--blue.text-card {
    border-color: #089cd6;
}

.text-card--blue .text-card__category {
    color: #089cd6;
}

.text-card--purple.text-card,
.text-card--pink.text-card {
    border-color: #d1127d;
}

.text-card--purple .text-card__category,
.text-card--pink .text-card__category {
    color: #d1127d;
}

.text-card--green.text-card {
    border-color: #00a38c;
}

.text-card--green .text-card__category {
    color: #00a38c;
}

.text-card--yellow.text-card {
    border-color: #ffcc05;
}

.text-card--yellow .text-card__category {
    color: #ffcc05;
}

.text-card--dark-blue.text-card {
    border-color: #0575a1;
}

.text-card--dark-blue .text-card__category {
    color: #0575a1;
}

.text-card--dark-green.text-card {
    border-color: #007a6b;
}

.text-card--dark-green .text-card__category {
    color: #007a6b;
}

.text-card__category {
    background: #F5F5F7;
    border-radius: 8px;
    width: max-content!important;
    margin: 0 auto 15px!important;
    padding: 4px 15px;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-card__title {
    font-size: 20px;
    color: #12284C;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    line-height: 1.3em;
    margin: 0 0 20px;
}

.text-card__location {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #4775B8;
    font-weight: 400;
    margin: 0 0 25px;
}

.text-card__location i {
    font-size: 22px;
    margin-right: 10px;
}

.text-card p {
    margin: 0 0 15px;
}

.bg-dark-blue .text-card p {
    color: #6B6B6B;
}

.text-card-slide + .text-card-slide {
    margin-top: 30px;
}

.fx-slider.text-card-slider .fx-slide {
    display: block;
}

.text-card .btn-border::before {
    display: none;
}

.flagship-text {
    font-size: 20px;
    color: #12284C;
    font-weight: 400;
    margin: 0 0 10px;
    margin: 0 auto;
    text-transform: capitalize;
}

.text-card .btn-border {
    background: transparent;
    color: #089CD6;
    border-color: #089CD6;
}

.text-card .btn-border:hover {
    background: transparent;
    color: #12284C;
    border-color: #12284C;
}


@media(min-width: 768px) {
    .text-card {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        text-align: left;
        justify-content: center;
        height: 100%;
    }

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

    .text-card__category {
        width: 100%;
        margin: 0 0 20px;
    }

    .text-card__title {
        font-size: 28px;
        margin: 0 0 5px;
        /* width: 48%; */
    }

    .text-card {
        padding: 15px 30px 35px;
    }

    .text-card p {
        margin: 0 0 15px;
        /* width: 52%; */
        font-size: 18px;
        line-height: 1.9em;
    }

    .text-card__location {
        justify-content: center;
        font-size: 20px;
        width: 100%;
    }

    .text-card-slide + .text-card-slide {
        margin-top: 35px;
    }

    .tab-accordion__heading h2 {
        margin: 0 0 30px;
    }
}

@media(min-width: 1200px) {
    .text-card__title {
        font-size: 34px;
        margin: 0 0 5px;
        width: 100%;
    }

    .text-card p {
        margin: 0 0 15px;
        width: 100%;
        font-size: 20px;
        line-height: 1em;
    }

    .text-card__location {
        font-size: 20px;
        width: 100%;
        justify-content: center;
    }

    .text-card {
        text-align: center;
        height: 100%;
    }

    .text-card .btn-border {
        margin: 32px auto 0;
    }

    .text-card-slider .slick-slide {
        margin: 0 16px;
    }

    .tab-accordion__panel__content {
        padding: 0;
    }

    .text-card-slider .slick-arrow {
        bottom: 0;
        left: 50%;
        top: unset;
        transform: translate(-50%, 0);
        background-color: #fff;
        color: #12284C;
    }
    
    .text-card-slider .slick-next {
        margin-left: 43px;
    }

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

    .text-card-slider {
        padding-bottom: 104px;
        margin: 0 -16px;
    }

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

    .text-card-slider .slick-arrow:hover {
        background-color: #12284C;
        color: #fff;
    }

    .text-card .btn-border {
        background: transparent;
        color: #089CD6;
        border-color: #089CD6;
    }

    .text-card .btn-border:hover {
        background: transparent;
        color: #12284C;
        border-color: #12284C;
    }

    .text-card-slider:not(:has(.slick-arrow)) {
        padding-bottom: 0;
      }
}