.category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    row-gap: 15px;
    padding: 15px;
    margin-top: 35px;
}

.category-item {
    box-sizing: border-box; /* Ensure padding/margins don't affect width */
    text-align: left; /* Align text and images to the left */

}

.caption {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    display: none
}

.category {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    font-style: italic;
    display: none;
    margin-bottom: 10px;
}


@media (max-width: 1919px) {
    .category-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
    }
}

@media (max-width: 767px) {
    .category-container {
        grid-template-columns: 1fr; /* 1 column for small screens */
    }
    .caption {
        font-size: 1.1rem;
    }
    .category {
        font-size: 1.1rem;
    }
}


@media screen and (max-width: 991px) {
    .caption {
        display: block
    }

    .category{
        display: block
    }

}
