/*
 * Блок «Checks» (`.idv-checks`) — универсальный: один вид (Identity), стили не зависят от страницы, все тексты — аргументы
 * партиала template-parts/idv-checks-section.php. Рамка с вводным текстом и 2–6 карточками; сетка в 2 колонки, высоты по
 * содержимому, нечётная последняя карточка занимает всю строку (нет «висящей»).
 */
.idv-checks .section__badge {
    margin: 0 auto;
    padding: 4px 20px;
    border: 0;
    box-shadow: inset 0 0 0 1px var(--nv-primary);
    background: var(--nv-primary-soft);
    color: var(--nv-primary);
    backdrop-filter: blur(10px);
}

.idv-checks__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.idv-checks__title {
    margin-top: 48px;
    text-align: center;
}

.idv-checks__group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
    padding: 24px;
    border: 1px solid var(--nv-surface-4);
    border-radius: 24px;
    background: var(--nv-surface-1);
}

.idv-checks__intro {
    max-width: 972px;
    margin: 0 auto;
    text-align: center;
}

.idv-checks__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.idv-checks__card {
    min-width: 0;
    gap: 32px;
    justify-content: center;
}

.idv-checks__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.idv-checks__card-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.idv-checks__card-desc {
    font-size: 18px;
    line-height: 155.556%;
}

.idv-checks__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--nv-surface-2);
    border: 1px solid var(--nv-surface-4);
    color: var(--nv-object-1);
    font-size: 18px;
    line-height: 1.33333333;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .idv-checks .kyc-title {
        font-size: 40px;
        line-height: 130%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .idv-checks__card {
        padding: 15px;
        border-radius: 16px;
    }
}

@media (max-width: 767.98px) {
    .idv-checks .section__badge {
        padding: 2px 16px;
        font-size: 14px;
        line-height: 1.42857143;
    }

    .idv-checks .kyc-title {
        font-size: 32px;
        line-height: 137.5%;
    }

    .idv-checks .kyc-subtitle {
        font-size: 16px;
        line-height: 125%;
    }

    .idv-checks .kyc-lead--md {
        font-size: 16px;
        line-height: 150%;
    }

    .idv-checks__group {
        gap: 24px;
        padding: 11px;
    }

    .idv-checks__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .idv-checks__card {
        padding: 11px;
        border-radius: 12px;
    }

    .idv-checks .kyc-card__title {
        font-size: 20px;
        line-height: 160%;
    }

    .idv-checks__card-desc {
        font-size: 16px;
        line-height: 150%;
    }

    .idv-checks__pill {
        font-size: 16px;
        line-height: 1.25;
    }
}
