.cb-cat-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.cb-cat-buttons a {
    background: #2D2D2D;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
	font-weight:600;
    border-radius: 6px;
    display: block;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    transition: opacity .15s ease, background-color .15s ease;
}

.cb-cat-buttons a:hover,
.cb-cat-buttons a:focus {
    opacity: 0.9;
    outline: none;
}

/* Jaśniejszy kolor dla aktualnego wpisu */
.cb-cat-buttons a.current-post {
    background: #ff8080 !important;
}

/* Gdy przeglądana jest aktywna kategoria tego widgetu/shortcode */
.cb-cat-buttons.active-category a {
    background: #3A3A3A;
}
.cb-cat-buttons.active-category a.current-post {
    background: #ff8080 !important;
}

.cb-cat-buttons .cb-empty {
    color: #666;
    background: transparent;
    padding: 0;
}