.tutor-empty-state {
    display: none !important;
}

.cctg-categories-grid-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: var(--edublink-container-width, 1200px);
    margin: 0 auto;
}

.cctg-category-card-wrapper {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.cctg-category-card {
    position: relative;
    background: var(--edublink-color-white);
    border-radius: var(--edublink-radius-big);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--edublink-transition) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--edublink-shadow-darker);
    display: flex;
    flex-direction: column;
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    padding: 0.5rem 0 1.2rem 0;
}

.cctg-category-card:hover {
    transform: scale(1.03);
    box-shadow: var(--edublink-shadow-dark);
}

.cctg-category-card-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 1.2rem;
    height: 100%;
}

.cctg-category-card-image {
    width: 100%;
    aspect-ratio: 3/1;
    border-radius: var(--edublink-radius);
    object-fit: cover;
    background: var(--edublink-color-shade);
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
}

.cctg-category-card-image svg {
    width: 72px;
    height: 72px;
    display: block;
    margin: auto;
    padding: 0;
}

.cctg-category-card-header .cctg-has-image {
    width: 100%;
    aspect-ratio: 3/1;
    border-radius: var(--edublink-radius);
    padding: 0;
    background: none;
    margin-bottom: 0.5rem;
    display: block;
    height: auto;
}

.cctg-category-card-header .cctg-has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--edublink-radius);
    display: block;
}

.cctg-category-card-header .cctg-has-image + .cctg-category-card-title {
    margin-left: 0;
    margin-top: 0.5rem;
    flex: 1;
    text-align: center;
}

.cctg-category-card-title {
    font-size: var(--edublink-h4);
    color: var(--edublink-color-heading);
    font-weight: var(--edublink-p-extra-bold);
    margin: 0;
    flex: 1;
    text-align: center;
}

.cctg-category-card-desc {
    margin: 1.25rem 0 0;
    color: var(--edublink-color-body);
    font-size: var(--edublink-font-size-b1);
    text-align: center;
    line-height: var(--edublink-line-height-b1);
    font-weight: var(--edublink-p-medium);
}

.cctg-category-card .cctg-cat-btn {
    display: inline-block;
    color: var(--edublink-color-primary);
    font-weight: var(--edublink-p-bold);
    font-size: var(--edublink-font-size-b1);
    border-bottom: 2px solid var(--edublink-color-primary-alt);
    padding-bottom: 4px;
    margin-top: 1.5rem;
    transition: all var(--edublink-transition) ease;
    letter-spacing: 0.5px;
}

.cctg-category-card-media-area {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--edublink-color-shade);
    border-radius: var(--edublink-radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
    min-height: 0;
}

.cctg-category-card-media-area .cctg-category-card-image,
.cctg-category-card-media-area .cctg-has-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    padding: 0;
}

.cctg-category-card-media-area .cctg-has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.cctg-category-card-media-area .cctg-category-card-image svg {
    width: 72px;
    height: 72px;
    display: block;
    margin: auto;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .cctg-categories-grid-cards {
        gap: 1.2rem;
    }
    .cctg-category-card-wrapper {
        max-width: 98vw;
        min-width: 220px;
    }
    .cctg-category-card {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
    .cctg-category-card-title {
        font-size: 1.1rem;
    }
    .cctg-category-card-desc,
    .cctg-category-card .cctg-cat-btn {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .cctg-categories-grid-cards {
        gap: 0.7rem;
    }
    .cctg-category-card-wrapper {
        max-width: 99vw;
        min-width: 160px;
    }
    .cctg-category-card {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    .cctg-category-card-title {
        font-size: 1rem;
    }
    .cctg-category-card-desc,
    .cctg-category-card .cctg-cat-btn {
        font-size: 0.95rem;
    }
}
