/* text + card */

/*.text-card {
    padding: 132px 20px 203px;
}*/

.text-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-card-paragraph {
    font-weight: 300;
}
.text-card.is-reverse .text-card-text {
    order: 2;
}

.text-card.is-reverse .text-card-box {
    order: 1;
}

.text-card-content .h5 {
    align-items: start;
}

.text-card-overline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    color: #726d6a;
    margin-bottom: 18px;
}

.text-card-overline::after {
    content: "";
    width: 26px;
    height: 1px;
    background: rgba(14, 11, 11, .25);
}


.text-card-box {
    background: #fff;
    border-radius: 35px;
    /*box-shadow: 0 4px 24px rgba(14, 11, 11, .06);*/
    padding: 40px;
}

.text-card.card-white .text-card-content {
    grid-template-columns: 1fr 645px;
}

.text-card.card-white .text-card-box {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.text-card.card-white .text-card-box .text-card-box-list {
    order: -1;
    align-items: center;
    margin-bottom: 33px;
}

.text-card.card-white .text-card-box .text-card-box-list .text-card-box-list-icon {
    width: 83px;
    height: 83px;
}
.text-card.card-white .text-card-box p {
    margin-bottom: 35px;
}
.text-card.card-white .text-card-box h5 {
    font-weight: 500;
    margin: 0;
}

.text-card-box-heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.text-card-box-paragraph {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: #726d6a;
}

.text-card-box.is-dark .text-card-box-paragraph {
    color: rgba(255, 255, 255, .75);
}

.text-card-box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.text-card-box-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
}

.text-card-box-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}

.text-card-box-list-icon svg {
    width: 100%;
    height: 100%;
}

.text-card-box-list-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.text-card-box-list-text {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.text-card-box-list-desc {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, .6);
}

.text-card-box:not(.is-dark) .text-card-box-list-desc {
    color: #726d6a;
}

.text-card-box-note {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(14, 11, 11, .1);
}

.text-card-box.is-dark {
    background-image: -moz-linear-gradient(-57deg, #171413 0%, #535353 68%, #110f0e 100%);
    background-image: -webkit-linear-gradient(-57deg, rgb(23, 20, 19) 0%, #535353 68%, #110f0e 100%);
    background-image: -ms-linear-gradient(-57deg, #171413 0%, #535353 68%, #110f0e 100%);
    background: linear-gradient(-57deg, #171413 0%, #535353 68%, #110f0e 100%);
    color: #fff;
    box-shadow: none;
    border-radius: 35px;
    padding: 73px 57px;
}
.text-card-box.is-dark .text-card-box-list {
    gap: 60px;
}
.text-card-box.is-dark .text-card-box-list li {
    gap: 35px;
    position: relative;
    font-size: 18px;
    font-weight: 300;
    align-items: start;
}

.text-card-box.is-dark .text-card-box-list li:not(:last-of-type):after {
    content: "";
    position: absolute;
    left: 130px;
    right: 0;
    bottom: -30px;
    height: 2px;
    background: #FFF;
    opacity: .5;
}

.text-card-box.is-dark .text-card-box-list-icon {
    width: 95px;
    height: 95px;
}

.text-card-box.is-dark .text-card-box-note {
    border-top-color: rgba(255, 255, 255, .15);
}
.text-card-box.is-dark .text-card-box-list li .text-card-box-list-text {
    font-weight: 500;
}
.text-card-box.is-dark .text-card-box-list li .text-card-box-list-desc {
    font-size: 18px;
    color: #FFF;
}

@media screen and (max-width: 767px) {
    .text-card {
        padding: 93px 20px;
    }

    .text-card-content,
    .text-card.card-white .text-card-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .text-card.is-reverse .text-card-text,
    .text-card.is-reverse .text-card-box {
        order: 0;
    }

    .text-card .section-header.section-header-md {
        margin-bottom: 30px;
    }

    .text-card-paragraph {
        font-size: 14px;
        line-height: 22px;
    }

    .text-card-paragraph p + p {
        margin-top: 22px;
    }

    .text-card-box {
        padding: 28px;
        margin-inline: -7px;
        border-radius: 15px;
    }

    .text-card.card-white .text-card-content {
        gap: 60px;
    }

    .text-card.card-white .text-card-box {
        padding: 37px 28px 35px;
    }

    .text-card.card-white .text-card-box .text-card-box-list {
        margin-bottom: 30px;
    }

    .text-card.card-white .text-card-box h3 {
        margin-bottom: 25px;
    }

    .text-card.card-white .text-card-box p {
        margin-bottom: 25px;
        font-weight: 300;
    }

    .text-card.card-white .text-card-box h5 {
        font-size: 14px;
        line-height: 22px;
    }

    .text-card-box.is-dark {
        border-radius: 8px;
        padding: 67px 15px 110px;
    }

    .text-card-box.is-dark .text-card-box-list {
        gap: 60px;
    }

    .text-card-box.is-dark .text-card-box-list li {
        gap: 8px;
        font-size: 18px;
        line-height: 24px;
    }

    .text-card-box.is-dark .text-card-box-list li:not(:last-of-type):after {
        left: 95px;
        height: 1px;
        bottom: -30px;
    }

    .text-card-box.is-dark .text-card-box-list-icon {
        width: 87px;
        height: 87px;
    }

    .text-card-box.is-dark .text-card-box-list li .text-card-box-list-text {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .text-card-box.is-dark .text-card-box-list li .text-card-box-list-desc {
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
    }
}
