.healthcare-cards {
    margin: 100px 0;
    padding: 100px 0;
    border-top: 1px solid var(--Grey-Grey-2, #e3e4ee);
    background: var(--Fills-Shade, #f7f7fc);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 64px;
    @media(max-width: 992px) {
        padding: 60px 0;
        margin: 60px 0;
        gap: 32px;
    }
    @media(max-width: 640px) {
        padding: 40px 0;
        margin: 40px 0;
        gap: 24px;
    }
    &::before {
        content: '';
        position: absolute;
        left: -60px;
        top: -85px;
        width: 605px;
        height: 605px;
        background-image: url(./cards-before.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        pointer-events: none;
        z-index: 1;
    }
    &::after {
        content: '';
        position: absolute;
        right: -120px;
        bottom: -75px;
        width: 519px;
        height: 499px;
        background-image: url(./cards-after.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        pointer-events: none;
        z-index: 1;
    }
    .container {
        position: relative;
        z-index: 2;
        max-width: 1150px;
        padding: 0;
        @media(max-width: 1200px) {
            padding: 0 20px;
        }
    }
    .heading-container {
        .distinct--text {
            @media(max-width: 640px) {
                text-align: left;
            }
        }
    }
}

.healthcare-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 32px;
    align-items: stretch;
    @media(max-width: 992px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    @media(max-width: 640px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.healthcare-cards__card {
    background: #ffffff;
    border: 1px solid #e3e4ee;
    border-radius: 8px;
    padding: 32px 32px 0;
    height: 439px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.healthcare-cards__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.healthcare-cards__content__inner {
    display: flex;
    flex-direction: column;
}

.healthcare-cards__badge {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 9px;
    line-height: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    padding: 5px 7px;
    border-radius: 6px;
    width: fit-content;
    display: inline-block;
    margin-bottom: 16px;
}

/* Default green badge */
.healthcare-cards__badge--green {
    background: var(--Linear-green, linear-gradient(94deg, #87c461 4.8%, #5f999b 113.06%));
}

/* Linear green gradient */
.healthcare-cards__badge--linear-green {
    background: linear-gradient(94deg, #87c461 4.8%, #5f999b 113.06%);
}

/* Crimson linear gradient */
.healthcare-cards__badge--crimson-linear {
    background: linear-gradient(96deg, #a993d2 6.51%, #c67193 103.62%);
}

.healthcare-cards__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.healthcare-cards__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
    color: #202223;
    margin: 0;
}

.healthcare-cards__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #6e7191;
    margin: 0;
}

.healthcare-cards__image {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    height: auto;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    flex-shrink: 0;
}

.healthcare-cards__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    bottom: -2px;
}
