/* BLOCK: Legal Cards */

.block-legal-cards .text-content:not(:last-child) {
    margin-bottom: 3.75rem;
}

.block-legal-cards .text-content > * {
    margin: 0;
}

.block-legal-cards .text-content > :not(:last-child) {
    margin-bottom: 2.5rem;
}

.block-legal-cards .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
    margin-bottom: 3.75rem;
}

.block-legal-cards .cta {
    padding: 3.75rem;
    background-color: #F1EEFF;
    border-radius: 2.5rem;
}

.block-legal-cards .cta:not(:last-child) {
    margin-bottom: 1.5rem;
}

.block-legal-cards .cta .text-content {
    font-size: var(--font-16-13);
}

.block-legal-cards .cta .text-content:not(:last-child) {
    margin-bottom: 1.875rem;
}

.block-legal-cards .cta .text-content > :not(:last-child) {
    margin-bottom: 1.25rem;
}

.block-legal-cards .cta .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
    margin-bottom: 1.875rem;
}

.block-legal-cards .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: currentColor;
    font-size: var(--font-17-14);
    font-weight: 600;
    text-decoration: none;
}

@media screen and (width <= 620px) {
    .block-legal-cards .text-content:not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-legal-cards .text-content > :not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .block-legal-cards .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-legal-cards .cta {
        padding: 1.875rem;
        border-radius: 1.5rem;
    }
    .block-legal-cards .cta:not(:last-child) {
        margin-bottom: 0.625rem;
    }
    .block-legal-cards .cta .text-content > :not(:last-child) {
        margin-bottom: 0.9375rem;
    }
    .block-legal-cards .cta .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
        margin-bottom: 1.5rem;
    }
}