.textCard {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: transparent;
}

.textCard__inner {
    box-sizing: border-box;
    width: fit-content;
    max-width: min(95vw, 1280px);
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.textCard__cluster {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.textCard__title {
    margin: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    color: #a3b199;
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(1.375rem, 0.55rem + 2.6vw, 3.125rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

.textCard__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    gap: clamp(1.25rem, 3vw, 3.125rem);
}

.textCard__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 19vw;
    min-width: 0;
    max-width: 100%;
    min-height: clamp(240px, 32vw, 340px);
    padding: clamp(1.25rem, 5vw, 3.75rem) clamp(0.75rem, 2vw, 1.25rem);
    box-sizing: border-box;
    text-align: center;
    border-radius: clamp(14px, 2vw, 20px);
    background-color: #a3b199;
    gap: clamp(0.375rem, 1.2vw, 0.625rem);
}

.textCard__cardTitle {
    margin: 0;
    max-width: 100%;
    color: var(--Vit, #ffffff);
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(1.0625rem, 0.5rem + 1.65vw, 1.875rem);
    font-weight: 400;
    line-height: 1.25;
}

.textCard__description {
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    color: #121211;
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 0.35vw + 0.82rem, 1.6875rem);
    font-weight: 400;
    line-height: 1.55;
}

.textCard__description p {
    margin: 0 0 0.85em;
}

.textCard__description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1299px) {
    .textCard__inner {
        max-width: min(98vw, 1280px);
        padding-inline: clamp(1rem, 3vw, 1.75rem);
    }

    .textCard__card {
        padding: 20px;
    }

    .textCard__cardTitle {
        font-size: 28px;
    }

    .textCard__description {
        font-size: clamp(0.9375rem, 0.35vw + 0.82rem, 1.6875rem);
    }
}

@media (min-width: 781px) {
    .textCard__inner {
        width: 100%;
    }

    .textCard__cluster {
        width: 100%;
        max-width: 100%;
    }

    .textCard__grid {
        flex-wrap: nowrap;
        width: 100%;
    }

    .textCard__card {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .textCard__cardTitle {
        font-size: 18px;
    }

    .textCard__description {
        font-size: 12px;
    }
}

@media (max-width: 960px) {
    .textCard__card {
        min-height: 0;
    }
}

@media (max-width: 780px) {
    .textCard__title {
        text-align: center;
        font-size: 36px;
    }

    .textCard__grid {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: min(92vw, 26rem);
        max-width: 100%;
    }

    .textCard__card {
        width: 100%;
        min-height: 0;
        padding-block: clamp(2.5rem, 9vw, 3.75rem);
        padding-inline: clamp(1.25rem, 4vw, 1.75rem);
    }

    .textCard__cardTitle {
        font-size: clamp(1.25rem, 0.55rem + 2.75vw, 1.5rem);
    }

    .textCard__description {
        font-size: clamp(1rem, 0.4rem + 2.25vw, 1.125rem);
        margin-bottom: 10%;
    }
}