/* JCMS 栏目列表页样式 - 商务简洁风格 */

.category-hero { background: #f5f7fa; color: #333; padding: 60px 0; text-align: center; border-bottom: 1px solid #e8e8e8; }
.category-hero h1 { font-size: 28px; font-weight: 500; margin-bottom: 15px; letter-spacing: -0.5px; }
.category-hero p { font-size: 15px; color: #666; max-width: 600px; margin: 0 auto; }

.article-list-section { padding: 60px 0; background: #fff; }

/* 文章卡片网格 */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column; }
.article-card:hover { border-color: #1890ff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.article-card-thumb { position: relative; height: 180px; overflow: hidden; background: #f5f7fa; }
.article-card-thumb a { display: block; width: 100%; height: 100%; }
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-card-thumb img { transform: scale(1.05); }
.article-card-tag { position: absolute; top: 12px; left: 12px; background: #1890ff; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 3px; font-weight: 500; }
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card-body h3 { font-size: 16px; font-weight: 500; margin-bottom: 12px; line-height: 1.5; }
.article-card-body h3 a { color: #333; transition: color 0.2s; }
.article-card-body h3 a:hover { color: #1890ff; }
.article-card-summary { color: #666; font-size: 14px; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.article-card-meta { display: flex; align-items: center; gap: 16px; color: #999; font-size: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.article-card-meta .meta-item { display: inline-flex; align-items: center; gap: 4px; }

/* 无封面时的占位样式 */
.article-card-thumb.no-cover { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%); padding: 20px; text-align: center; }
.article-card-thumb.no-cover .no-cover-title { color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.empty-state { text-align: center; padding: 80px 0; color: #999; }
.empty-state p { font-size: 18px; margin-bottom: 20px; }

/* 分页 */
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.pagination-info { color: #666; font-size: 14px; }
.pagination-pages { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.page-btn { padding: 8px 14px; border: 1px solid #e8e8e8; border-radius: 4px; background: #fff; cursor: pointer; font-size: 14px; color: #333; text-decoration: none; transition: all 0.2s; }
.page-btn:hover { border-color: #1890ff; color: #1890ff; }
.page-btn.active { background: #1890ff; color: #fff; border-color: #1890ff; }
.page-btn.disabled { opacity: 0.5; cursor: not-allowed; }

.back-home { color: #1890ff; }

@media (max-width: 768px) {
    .category-hero { padding: 40px 0; }
    .category-hero h1 { font-size: 24px; }
    .article-list-section { padding: 40px 0; }
    .article-grid { grid-template-columns: 1fr; gap: 16px; }
    .article-card-thumb { height: 160px; }
    .pagination { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
    .article-card-thumb { height: 140px; }
    .article-card-body { padding: 15px; }
}