/* ===== 案例列表页面样式 ===== */

/* --- 1. Hero 与筛选区域 --- */
.al-hero-filter { padding: 60px 0 40px; background: #fff; }
.al-hf-title { font-size: 36px; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
.al-hf-desc { color: #666; margin-bottom: 30px; font-size: 15px; }

.al-filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.al-filter-tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.al-filter-tabs a { background: #f5f5f5; padding: 8px 20px; border-radius: 30px; font-size: 14px; color: #555; cursor: pointer; transition: all 0.3s; border: 1px solid transparent; text-decoration: none; }
.al-filter-tabs a:hover { background: #f0eeff; color: #2b1ee0; }
.al-filter-tabs a.active { background: #f0eeff; color: #2b1ee0; border-color: #2b1ee0; }

/* --- 2. 重点案例 (2列大图) --- */
.al-cases { padding: 0 0 60px; }
.al-featured-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 24px; margin-bottom: 40px; }

.al-fc-card { background: #fff; border-radius: 16px; border: 1px solid #eee; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.02); transition: 0.2s; }
.al-fc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.04); }
.al-fc-image-wrap { position: relative; height: 200px; overflow: hidden; border-bottom: 1px solid #eee; }
.al-fc-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.al-fc-card:hover .al-fc-image-wrap img { transform: scale(1.05); }
.al-fc-badge { position: absolute; top: 16px; left: 16px; background: #2b1ee0; color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 20px; font-weight: 600; z-index: 1; }

.al-fc-content { padding: 24px; }
.al-fc-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.al-fc-content h3 a { color: #111; transition: color 0.2s; }
.al-fc-content h3 a:hover { color: #2b1ee0; }
.al-fc-content p { font-size: 14px; color: #666; margin-bottom: 20px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.al-fc-actions { display: flex; gap: 12px; }
.al-fc-actions .btn { padding: 8px 24px; font-size: 13px; border-radius: 30px; }

/* --- 3. 常规案例 (3列小图) --- */
.al-normal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.al-nc-card { background: #fff; border-radius: 16px; border: 1px solid #eee; overflow: hidden; transition: transform 0.2s; display: flex; flex-direction: column; }
.al-nc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.03); }

.al-nc-image-wrap { height: 180px; overflow: hidden; background: #f5f5f5; }
.al-nc-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.al-nc-card:hover .al-nc-image-wrap img { transform: scale(1.05); }

.al-nc-content { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.al-nc-tag { display: inline-block; background: #f0eeff; color: #2b1ee0; font-size: 12px; padding: 2px 12px; border-radius: 12px; margin-bottom: 10px; font-weight: 500; align-self: flex-start; }
.al-nc-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.al-nc-content h4 a { color: #111; transition: color 0.2s; }
.al-nc-content h4 a:hover { color: #2b1ee0; }
.al-nc-content p { font-size: 13px; color: #666; margin-bottom: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.al-nc-link { color: #2b1ee0; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.al-nc-link:hover { text-decoration: underline; }
.al-nc-link::after { content: ' \2192'; margin-left: 4px; }

/* --- 4. 分页器 --- */
.al-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 0; }
.al-pagination a, .al-pagination .page-num { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; color: #333; transition: 0.2s; border: 1px solid #e0e0e0; text-decoration: none; }
.al-pagination a:hover { background: #f5f5f5; border-color: #d0d0d0; }
.al-pagination .page-num-current { background: #2b1ee0; color: #fff; border-color: #2b1ee0; }

/* --- 5. 标准化服务流程 --- */
.al-process-simple { padding: 60px 0; background: #fafbfc; text-align: center; border-top: 1px solid #eee; }
.al-process-simple h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.al-process-simple > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.al-ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.al-ps-item { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #f0f0f0; text-align: center; }
.al-ps-num { display: inline-block; background: #f4f3ff; color: #2b1ee0; padding: 4px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.al-ps-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.al-ps-item p { font-size: 13px; color: #888; line-height: 1.4; }

/* --- 6. 荣耀/数据横幅 --- */
.al-honor-banner { padding: 0 20px; margin: 0 auto 60px; max-width: 1200px; }
.al-hb-inner { background: #2b1ee0; border-radius: 24px; padding: 50px 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.al-hb-text { flex: 1; max-width: 550px; }
.al-hb-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.al-hb-text p { opacity: 0.8; font-size: 14px; line-height: 1.6; }
.al-hb-stats { display: flex; gap: 60px; }
.al-hb-stat-item { display: flex; flex-direction: column; text-align: center; }
.al-hb-stat-item .num { font-size: 36px; font-weight: 800; }
.al-hb-stat-item .lbl { font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* --- 7. CTA 区域 --- */
.al-cta-section { padding: 0 0 80px; background: #fff; }
.al-cta-wrap { background: #fafbfc; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #e0e0e0; flex-wrap: wrap; gap: 20px; }
.al-cta-text { flex: 1; }
.al-cta-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.al-cta-text p { color: #666; font-size: 14px; }
.al-cta-actions { display: flex; gap: 16px; }
.al-cta-actions .btn { padding: 12px 28px; font-size: 14px; border-radius: 8px; }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .al-featured-grid, .al-normal-grid, .al-ps-grid { grid-template-columns: 1fr 1fr; }
    .al-filter-bar { flex-direction: column; align-items: flex-start; }
    .al-hb-inner, .al-cta-wrap { flex-direction: column; text-align: center; }
    .al-hb-stats { gap: 30px; }
}

@media (max-width: 768px) {
    .al-hero-filter { padding: 40px 0 24px; }
    .al-hf-title { font-size: 24px; }
    .al-hf-desc { font-size: 13px; margin-bottom: 20px; }
    .al-filter-bar { gap: 8px; }
    .al-filter-tabs { gap: 8px; }
    .al-filter-tabs a { padding: 6px 14px; font-size: 13px; }
    .al-featured-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .al-fc-image-wrap { height: 160px; }
    .al-fc-content { padding: 18px; }
    .al-fc-content h3 { font-size: 16px; }
    .al-fc-content p { font-size: 13px; }
    .al-fc-actions .btn { padding: 7px 18px; }
    .al-normal-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .al-nc-image-wrap { height: 140px; }
    .al-nc-content { padding: 16px; }
    .al-nc-content h4 { font-size: 15px; }
    .al-pagination { flex-wrap: wrap; }
    .al-pagination a, .al-pagination .page-num { min-width: 40px; height: 40px; font-size: 15px; }
    .al-process-simple { padding: 40px 0; }
    .al-process-simple h2 { font-size: 20px; }
    .al-ps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .al-ps-item { padding: 18px; }
    .al-honor-banner { margin: 0 0 30px; }
    .al-hb-inner { padding: 30px 20px; flex-direction: column; text-align: center; }
    .al-hb-text h2 { font-size: 22px; }
    .al-hb-stats { gap: 30px; justify-content: center; }
    .al-hb-stat-item .num { font-size: 30px; }
    .al-cta-section { padding: 0 0 50px; }
    .al-cta-wrap { padding: 24px 18px; flex-direction: column; }
    .al-cta-text h3 { font-size: 20px; }
}

@media (max-width: 480px) {
    .al-featured-grid, .al-normal-grid { grid-template-columns: 1fr; }
    .al-ps-grid { grid-template-columns: 1fr; }
    .al-cta-actions { flex-direction: column; width: 100%; }
    .al-cta-actions .btn { width: 100%; text-align: center; }
}
