.case-page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(700px 320px at 8% -20%, rgba(0,115,188,.1), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.case-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.case-breadcrumb a:hover { color: var(--blue); }
.case-breadcrumb .sep { opacity: .5; }

.case-page-hero .section-desc { margin-bottom: 0; }

.case-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 8px;
}
.case-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.case-filter-label {
  flex: 0 0 auto;
  min-width: 2.5em;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}
.case-filter {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.case-filter:hover {
  border-color: #c5d8e8;
  color: var(--blue);
}
.case-filter.is-active {
  background: var(--mist);
  border-color: #b7d4ea;
  color: var(--blue);
  font-weight: 560;
}

/* 案例标签：行业分色 / 场景中性 */
.scene-tags .tag-industry {
  font-weight: 560;
}
.scene-tags .tag-industry.ind-xborder {
  background: #e7f2fa;
  border-color: #b7d4ea;
  color: var(--blue);
}
.scene-tags .tag-industry.ind-mfg {
  background: #ffefe8;
  border-color: #f8c9b3;
  color: var(--orange);
}
.scene-tags .tag-industry.ind-general {
  background: #fff8e6;
  border-color: #f5d98a;
  color: #a67c00;
}
.scene-tags .tag-scene {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  font-weight: 500;
}

.case-list-section {
  padding-top: 28px;
  padding-bottom: 64px;
}
.case-grid {
  margin-top: 0;
}
@media (min-width: 721px) and (max-width: 960px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.case-card {
  display: flex;
  flex-direction: column;
  height: 268px;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  background: var(--white);
}
.case-card h3 {
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.case-card .case-summary {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.case-card .case-more {
  font-size: 14px;
  font-weight: 560;
  color: var(--blue);
  margin-top: auto;
}
.case-card:hover .case-more {
  text-decoration: underline;
}
.case-card .scene-tags {
  flex-shrink: 0;
  min-height: 28px;
  margin-bottom: 14px;
}
@media (max-width: 720px) {
  .case-card { height: 248px; }
}

.case-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.case-pagination[hidden] { display: none; }
.case-page-btn,
.case-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.case-page-num { padding: 0 12px; }
.case-page-btn:hover:not(:disabled),
.case-page-num:hover:not(.is-active) {
  border-color: #c5d8e8;
  color: var(--blue);
}
.case-page-num.is-active {
  background: var(--mist);
  border-color: #b7d4ea;
  color: var(--blue);
  font-weight: 560;
}
.case-page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.case-page-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-empty {
  display: none;
  margin-top: 28px;
  padding: 28px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.case-empty.is-visible { display: block; }

/* 案例详情：去掉口号式 h2 后，kicker 升为区块主标题 */
.section-kicker.case-section-heading {
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: .06em;
  font-weight: 560;
  margin-bottom: 18px;
}

/* 痛点 / 产物同一白底，与 hero 连成一片 */
.case-detail-body {
  padding: 28px 0 48px;
  border-top: none;
}
.case-detail-body .case-detail-block + .case-detail-block {
  margin-top: 44px;
}
.case-detail-body .section-cta {
  margin-top: 24px;
}

.case-detail-hero {
  padding: 40px 0 8px;
  background: var(--white);
  border-bottom: none;
}
.case-detail-hero .case-breadcrumb {
  margin-bottom: 16px;
}
.case-detail-hero .scene-tags {
  margin-top: 0;
  margin-bottom: 0;
}
.case-detail-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 560;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 14px 0 12px;
}
.case-detail-lead {
  max-width: 40em;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: #555553;
  margin-bottom: 0;
}
.case-detail-lead em {
  font-style: normal;
  font-weight: 650;
  color: var(--blue);
}
.case-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.case-highlights li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 14px;
}

.case-prose {
  max-width: 720px;
}
.case-prose p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}
.case-prose p:last-child { margin-bottom: 0; }

.pain-solve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.pain-solve-col {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.pain-solve-col.pain {
  border-left: 3px solid var(--orange);
}
.pain-solve-col.solve {
  border-left: 3px solid var(--blue);
}
.pain-solve-col h3 {
  font-size: 18px;
  font-weight: 560;
  margin-bottom: 16px;
}
.pain-solve-col.pain h3 { color: var(--orange); }
.pain-solve-col.solve h3 { color: var(--blue); }
.pain-solve-col ol {
  list-style: none;
  display: grid;
  gap: 14px;
}
.pain-solve-col li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 28px;
  position: relative;
}
.pain-solve-col li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.pain-solve-col.pain li::before {
  background: #ffefe8;
  border-color: #f8c9b3;
  color: var(--orange);
}
.pain-solve-col.solve li::before {
  background: var(--mist);
  border-color: #b7d4ea;
  color: var(--blue);
}
.pain-solve-col li strong {
  display: block;
  color: var(--ink);
  font-weight: 560;
  margin-bottom: 2px;
}

@media (max-width: 720px) {
  .case-page-hero {
    padding: 40px 0 32px;
  }
  .case-detail-hero {
    padding: 32px 0 4px;
  }
  .case-detail-body {
    padding: 24px 0 40px;
  }
  .case-detail-body .case-detail-block + .case-detail-block {
    margin-top: 36px;
  }
  .pain-solve {
    grid-template-columns: 1fr;
  }
}
