/* === 客户案例详情页排版美化 === */

/* 顶部大图 */
.case-hero {
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.case-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* 正文容器 */
.case-detail {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
}

/* 章节间距 */
.case-detail .case-section {
  margin-bottom: 2rem;
}

/* h2 大标题 */
.case-detail .case-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3a6b;
  padding-left: 14px;
  border-left: 4px solid #2a5490;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* h3 小标题 */
.case-detail .case-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2a5490;
  padding-left: 14px;
  border-left: 4px solid #2a5490;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* 正文段落 */
.case-detail .case-section p {
  margin-bottom: 0.8rem;
  text-indent: 2em;
  color: #444;
  font-size: 1rem;
  line-height: 1.85;
}
.case-detail .case-section p:last-child {
  margin-bottom: 0;
}

/* 表格 */
.case-detail .case-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.case-detail .case-section table th {
  background: #2a5490;
  color: #fff;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #1a3a6b;
}
.case-detail .case-section table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #444;
  line-height: 1.6;
}
.case-detail .case-section table tr:nth-child(even) td {
  background: #f9fafb;
}

/* 列表 */
.case-detail .case-section ul,
.case-detail .case-section ol {
  margin: 0.8rem 0 1.2rem;
  padding-left: 1.8rem;
  line-height: 1.85;
  color: #444;
}
.case-detail .case-section li {
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

/* 加粗 */
.case-detail .case-section strong {
  color: #1a3a6b;
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
  .case-hero img { max-height: 280px; }
  .case-detail { padding: 0 1rem; font-size: 0.95rem; }
}
