/* CKEditor clistembed — compact fixed cards */
.rich-content .c-list,
.single-page-content .c-list,
.description .c-list {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 12rem;
    min-width: 12rem;
    max-width: 12rem;
    height: 3.4375rem;
    min-height: 3.4375rem;
    max-height: 3.4375rem;
    margin: 0.5rem 0.35rem 0.5rem 0;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgb(15 23 42 / 0.1);
    color: #1f2937 !important;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.35;
    text-align: start;
    text-decoration: none !important;
    overflow: hidden;
    vertical-align: top;
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

.rich-content a.c-list:hover,
.single-page-content a.c-list:hover,
.description a.c-list:hover {
    box-shadow: 0 4px 16px rgb(15 23 42 / 0.14);
    color: #111827 !important;
}

.rich-content div.c-list,
.single-page-content div.c-list,
.description div.c-list {
    cursor: default;
}

.rich-content .c-list__icon,
.single-page-content .c-list__icon,
.description .c-list__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
}

.rich-content .c-list__label,
.single-page-content .c-list__label,
.description .c-list__label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rich-content .c-list:not(:has(.c-list__label)),
.single-page-content .c-list:not(:has(.c-list__label)),
.description .c-list:not(:has(.c-list__label)) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rich-content .c-list-wrap,
.single-page-content .c-list-wrap,
.description .c-list-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 767.98px) {
    .rich-content .c-list,
    .single-page-content .c-list,
    .description .c-list {
        display: flex;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-inline: 0;
    }
}