.te-cat-grid-a963f13c {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}
.te-cat-cols-2-a963f13c { grid-template-columns: repeat(2, 1fr); }
.te-cat-cols-3-a963f13c { grid-template-columns: repeat(3, 1fr); }
.te-cat-cols-4-a963f13c { grid-template-columns: repeat(4, 1fr); }
.te-cat-cols-5-a963f13c { grid-template-columns: repeat(5, 1fr); }
.te-cat-cols-6-a963f13c { grid-template-columns: repeat(6, 1fr); }
.te-cat-cols-7-a963f13c { grid-template-columns: repeat(7, 1fr); }

.te-cat-card-a963f13c {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.te-cat-card-a963f13c:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(187,25,25,0.15);
}

.te-cat-bg-a963f13c {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 1;
}
.te-cat-bg-placeholder-a963f13c {
    background: linear-gradient(135deg, #1A1A2E, #0F3460);
}
.te-cat-card-a963f13c:hover .te-cat-bg-a963f13c {
    transform: scale(1.08);
}

.te-cat-overlay-a963f13c {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.te-cat-content-a963f13c {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 15px;
    width: 100%;
}

.te-cat-title-a963f13c {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Tablet & Mobile: Forced to 1 column to avoid odd gaps */
@media (max-width: 1024px) {
    .te-cat-grid-a963f13c { 
        grid-template-columns: 1fr !important; 
    }
}
@media (max-width: 768px) {
    .te-cat-grid-a963f13c { 
        grid-template-columns: 1fr !important; 
    }
    .te-cat-title-a963f13c { font-size: 16px; }
}
@media (max-width: 480px) {
    .te-cat-grid-a963f13c { 
        grid-template-columns: 1fr !important; 
        gap: 12px; 
    }
    .te-cat-title-a963f13c { font-size: 15px; letter-spacing: 0; }
}