.blog-cat-bar {
    background: var(--text-heading);
    color: #faf7f2;
    border-bottom: 1px solid rgba(255,255,255,.08);
    isolation: isolate;
    margin-bottom: 1.35rem;
}
.blog-cat-bar-inner {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    min-width: 0;
    overflow: hidden;
    height: 34px;
}
.blog-cat-bar-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: 0 .7rem;
    font-family: var(--font-heading);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--primary);
    color: #1c1917;
    white-space: nowrap;
    z-index: 2;
}
.blog-cat-bar-label svg { width: 11px; height: 11px; }
.blog-cat-bar-track {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.blog-cat-bar-links {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    scrollbar-width: none;
}
.blog-cat-bar-links.is-dragging { cursor: grabbing; user-select: none; }
.blog-cat-bar-links::-webkit-scrollbar { display: none; }
.blog-cat-bar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    padding: 0 .7rem;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(253,248,244,.72);
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.07);
}
.blog-cat-bar a:hover { color: #fff; background: rgba(255,255,255,.06); }
.blog-cat-bar a.is-active { color: #fff; background: rgba(245,158,11,.16); box-shadow: inset 0 -2px 0 var(--primary); }
.blog-cat-count {
    font-size: .56rem;
    font-weight: 800;
    color: rgba(253,248,244,.4);
    font-variant-numeric: tabular-nums;
}
.blog-cat-bar a.is-active .blog-cat-count { color: var(--primary); }
.blog-cat-bar-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 1.6rem;
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, var(--text-heading) 45%, transparent);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: flex-start;
    padding: 0 .2rem;
}
.blog-cat-bar-btn svg { width: 12px; height: 12px; pointer-events: none; }
.blog-cat-bar-btn.is-right {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(270deg, var(--text-heading) 45%, transparent);
}
.blog-cat-bar-btn.is-visible { display: inline-flex; }
.blog-cat-bar-btn:hover { color: var(--primary); }
@media (max-width: 720px) {
    .blog-cat-bar-inner { height: 32px; }
    .blog-cat-bar-label span { display: none; }
    .blog-cat-bar-label { padding: 0 .55rem; }
    .blog-cat-bar a { padding: 0 .58rem; font-size: .7rem; }
}
