/**
 * SDI Category Clusters - estilos del front
 * Tarjetas de subcategoría (imagen + nombre) bajo la descripción de la categoría.
 */

.sdicc-clusters {
    margin: 0 0 28px;
}

.sdicc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sdicc-item {
    display: flex;
    margin: 0;
    padding: 0;
}

.sdicc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    padding: 10px 18px 10px 10px;
    background: #fff;
    border: 1px solid rgba(80, 44, 30, .08);
    border-radius: 10px;
    color: #502c1e;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(80, 44, 30, .06);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.sdicc-link:hover,
.sdicc-link:focus {
    color: #502c1e;
    text-decoration: none;
    border-color: rgba(80, 44, 30, .18);
    box-shadow: 0 4px 12px rgba(80, 44, 30, .12);
    transform: translateY(-2px);
}

.sdicc-img-wrap {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdicc-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sdicc-name {
    flex: 1 1 auto;
}

@media (max-width: 575px) {
    .sdicc-list {
        gap: 8px;
    }

    .sdicc-link {
        max-width: none;
        padding: 8px 12px 8px 8px;
        font-size: 13px;
        gap: 10px;
    }

    .sdicc-img-wrap {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}
