/* Vobler Category Cards — grid of category cards */

.vcc-cards {
    --vcc-cols: 2;
    --vcc-gap: 20px;
    --vcc-card-bg: #ffffff;
    --vcc-card-border: #e6e6e6;
    --vcc-radius: 8px;
    --vcc-title: #1a1a1a;
    --vcc-accent: #0073aa;
    --vcc-muted: #8a8a8a;
    --vcc-media-w: 130px;

    display: grid;
    grid-template-columns: repeat(var(--vcc-cols), minmax(0, 1fr));
    gap: var(--vcc-gap);
    font-family: inherit;
}

/* Card — image on the left, content on the right */
.vcc-card {
    display: flex;
    gap: 16px;
    background: var(--vcc-card-bg);
    border: 1px solid var(--vcc-card-border);
    border-radius: var(--vcc-radius);
    padding: 14px;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.vcc-card:hover {
    border-color: var(--vcc-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Image */
.vcc-card__media {
    flex: 0 0 var(--vcc-media-w);
    width: var(--vcc-media-w);
    display: block;
}

.vcc-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 6px;
}

.vcc-card__img--empty {
    aspect-ratio: 1 / 1;
    background: #f3f3f3;
}

/* Content */
.vcc-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vcc-card__title {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--vcc-title);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
}

.vcc-card__title:hover .vcc-card__name {
    color: var(--vcc-accent);
}

.vcc-card__count {
    font-size: 12px;
    font-weight: 400;
    color: var(--vcc-muted);
}

/* Subcategory list */
.vcc-card__subcats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vcc-card__subcat a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
}

.vcc-card__subcat a:hover {
    color: var(--vcc-accent);
    text-decoration: underline;
}

.vcc-card__subcat--more a {
    color: var(--vcc-accent);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .vcc-cards {
        --vcc-media-w: 100px;
    }
}

@media (max-width: 600px) {
    .vcc-cards {
        grid-template-columns: 1fr;
    }
}
