﻿/* CFTK Document Library encoding / category-card cleanup v1.42.28 */

.useful-doc-category-cards button > span:first-child {
    font-family:
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif !important;
    font-size: 1.65rem !important;
    line-height: 1 !important;
    min-width: 2.8rem;
    min-height: 2.8rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Remove accidental duplicate plain-text classification under the pill */
.useful-doc-category-cards button > small:last-child,
.useful-doc-category-cards button > .subject:last-child,
.useful-doc-category-cards button > .category:last-child,
.useful-doc-category-cards button > .classification:last-child {
    display: none !important;
}

/* Keep card labels balanced */
.useful-doc-category-cards button {
    overflow: hidden;
}

.useful-doc-category-cards button > span:not(:first-child) {
    max-width: 100%;
}
