/* ============ 页面 Banner ============ */
.page-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #c8ddf0; font-size: 14px; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 案例主体 ============ */
.case-main { padding: 50px 0 60px; background: #f7f9fc; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(26,115,232,0.15);
}
.case-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eef2f7;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.case-card:hover .case-img img { transform: scale(1.06); }
.case-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.case-card:hover .case-overlay { background: rgba(26,58,92,0.55); }
.case-btn {
  background: #ff6b35;
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}
.case-card:hover .case-btn { opacity: 1; transform: translateY(0); }

.case-body { padding: 20px 22px 22px; }
.case-body h3 {
  font-size: 16px;
  color: #1a3a5c;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-desc {
  font-size: 13px;
  color: #7a8fa6;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #a0b0c2;
  padding-top: 12px;
  border-top: 1px dashed #e8eef5;
}

/* 分页 */
.pagination { text-align: center; margin-top: 40px; }
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border: 1px solid #e8eef5;
  border-radius: 6px;
  font-size: 14px;
  color: #5a6f85;
  background: #fff;
  transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #a0b0c2;
  font-size: 15px;
  background: #fff;
  border-radius: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case-img { height: 160px; }
  .case-body { padding: 14px; }
  .case-body h3 { font-size: 14px; }
  .case-desc { display: none; }
}
@media (max-width: 480px) {
  .case-grid { grid-template-columns: 1fr; }
}