.text-box-cards {
    --margin-block: 40px;

    background-color: var(--basic-light);
    padding-block: var(--margin-block);
}

@media screen and (min-width: 768px) {
    .text-box-cards {
        --margin-block: 60px;
    }
}

@media screen and (min-width: 992px) {
    .text-box-cards {
        --margin-block: 100px;
    }
}

.text-box-cards__intro {
    margin-bottom: 60px;
}

h2.text-box-cards__intro__title {
    color: var(--text);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 5%;
    line-height: 1.16;
    max-width: 90%;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

h2.text-box-cards__intro__title strong {
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    h2.text-box-cards__intro__title {
        font-size: 40px;
    }
}

@media screen and (min-width: 992px) {
    h2.text-box-cards__intro__title {
        font-size: 48px;
    }
}

.text-box-cards__intro__content {
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
    margin-top: 30px;
    max-width: 800px;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .text-box-cards__intro__content {
        font-size: 20px;
        margin-top: 40px;
    }
}

@media screen and (min-width: 992px) {
    .text-box-cards__intro__content {
        font-size: 24px;
        margin-top: 60px;
    }
}

.text-box-cards__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .text-box-cards__cards {
        grid-template-columns: 1fr;
    }
}

.text-box-cards__card {
    background-color: white;
    border-radius: 3px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 30px;
}

@media screen and (min-width: 480px) {
    .text-box-cards__card {
        gap: 30px;
        padding: 60px;
    }
}

@media screen and (min-width: 768px) {
    .text-box-cards__card {
        padding: 80px;
    }
}

@media screen and (min-width: 992px) {
    .text-box-cards__card {
        padding: 120px;
    }
}

h3.text-box-cards__card__title {
    color: var(--text);
    font-size: 24px;
    font-weight: bold;
    max-width: 380px;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    h3.text-box-cards__card__title {
        font-size: 32px;
    }
}

@media screen and (min-width: 992px) {
    h3.text-box-cards__card__title {
        font-size: 40px;
    }
}

.text-box-cards__card__description {
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 400;
    gap: 20px;
    line-height: 1.5;
}
