/* ============================================
   组件：分类落地页
   依赖：themes/*.css、category.css、card.css
   ============================================ */

/* ---------- 面包屑 ---------- */
.cat-crumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--app-text-muted);
    margin-bottom: 1rem;
}

.cat-crumb a {
    color: var(--app-text-muted);
    text-decoration: none;
}

.cat-crumb a:hover {
    color: var(--app-accent);
}

.cat-crumb__sep {
    color: var(--app-border);
}

/* ---------- 分类头部 ---------- */
.cat-hero {
    text-align: center;
    padding: 1.25rem 0 1.5rem;
}

.cat-hero__title {
    display: inline-block;
    font-size: clamp(1.25rem, 1.05rem + 1.2vw, 1.75rem);
    font-weight: 700;
    color: var(--app-text);
    margin: 0 0 .6rem;
    padding-bottom: .45rem;
    border-bottom: 3px solid var(--cat-color, var(--app-accent));
}

.cat-hero__desc {
    max-width: 640px;
    margin: 0 auto .6rem;
    font-size: .88rem;
    line-height: 1.7;
    color: var(--app-text-muted);
}

.cat-hero__count {
    display: inline-block;
    font-size: .78rem;
    color: var(--app-text-muted);
    background: var(--app-surface-alt);
    border-radius: 999px;
    padding: .18rem .7rem;
}

/* ---------- 其它分类 ---------- */
.cat-others {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--app-border);
}

.cat-others__label {
    font-size: .82rem;
    color: var(--app-text-muted);
}

.cat-others__item {
    font-size: .82rem;
    color: var(--app-text);
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 999px;
    padding: .25rem .8rem;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}

.cat-others__item:hover {
    border-color: var(--app-accent);
    color: var(--app-accent);
}
