/* ========================================
   category.css - 分类页专用样式
   ======================================== */

/* 分类 Hero 区域 */
.category-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid #e8eaf6;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.category-hero-count {
    background: linear-gradient(135deg, #4e73df 0%, #6c5ce7 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.category-hero-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e0e0e0;
}

.category-hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-icon { font-size: 18px; }
.stat-num { font-size: 18px; font-weight: 700; color: #4e73df; }
.stat-label { font-size: 13px; color: #999; }

/* 排序区块标题 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* 响应式 */
@media (max-width: 768px) {
    .category-hero { padding: 18px; }
    .category-hero-title { font-size: 20px; }
    .category-hero-stats { gap: 16px; }
    .stat-item { flex: 1; min-width: calc(50% - 8px); }
    .section-header { flex-direction: column; align-items: flex-start; }
}