

/* ==================== 分类展示样式 ==================== */

/* 分类区块 */
.category-section {
  margin-bottom: 48px;
}

.category-section:last-child {
  margin-bottom: 0;
}

/* 分类信息 */
.category-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E5E7EB;
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2937;
  margin: 0;
}

.category-count {
  font-size: 14px;
  color: #6B7280;
  background: #F3F4F6;
  padding: 4px 12px;
  border-radius: 12px;
}

/* 分类卡片网格 */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .category-section {
    margin-bottom: 32px;
  }
  
  .category-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .category-title {
    font-size: 18px;
  }
  
  .category-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .category-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
