.casesSection {
    padding: 0 5% 64px;
}

.casesSection .cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.casesSection .card--imgBox {
    width: 100%;
    line-height: 0;
    position: relative;
}

.casesSection .card--label {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: fit-content;
    padding: 16px;
    color: var(--white);
    font-size: 1.8rem;
    background-color: var(--bg-color-green);
    z-index: 100;
}

.casesSection .card--img {
    width: 100%;
}

.casesSection .card--body {
    margin-top: 8px;
    padding: 8px;
}

.casesSection .card--date {
    font-size: 1.6rem;
}

.casesSection .card--text {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 8px;
}

@media screen and (max-width: 1024px) {
    
    .casesSection {
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 599px) {

    .casesSection .cases {
        grid-template-columns: repeat(2, 1fr);
    }

    .casesSection .card--body {
        padding: 8px;
    }

    .casesSection .card--label {
        font-size: 1.6rem;
    }

    .casesSection .card--text {
        font-size: 1.6rem;
        text-align: justify;
    }
}