@charset "UTF-8";
.category-card {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--card_title); /* Adjust text color if necessary */
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card_overlay); /* Use the CSS variable */
    z-index: 1; /* Ensure overlay appears above the background */
}

.category-card .category-name {
    position: relative;
    z-index: 2; /* Ensure text appears above the overlay */
}
