/* 案例详情 页面样式（由原型导出） */
/* ============================================================
   案例详情页
   ============================================================ */
.cd-page { padding: 56px 0 100px; }

.cd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* 主内容 */
.cd-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 14px;
}
.cd-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.cd-meta span { display: flex; align-items: center; gap: 6px; }
.cd-meta svg { color: var(--brand-red); }

.cd-hero-img {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.12);
}
.cd-hero-img img { width: 100%; height: auto; }

.cd-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-red);
  line-height: 1.4;
}
.cd-body h3:first-child { margin-top: 0; }
.cd-body p { font-size: 14px; color: var(--steel); line-height: 1.9; margin-bottom: 12px; }
.cd-body ul li {
  font-size: 14px;
  color: var(--steel);
  padding: 6px 0 6px 22px;
  position: relative;
}
.cd-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 6px; height: 6px;
  background: var(--brand-red);
  transform: rotate(45deg);
}

/* 效果数据条 */
.cd-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin: 28px 0;
}
.cd-result {
  background: #fff;
  padding: 24px 16px;
  text-align: center;
}
.cd-result .num { font-size: 30px; font-weight: 900; color: var(--brand-red); line-height: 1; }
.cd-result .num .unit { font-size: 14px; font-weight: 600; margin-left: 2px; }
.cd-result .lbl { font-size: 12px; color: var(--gray); margin-top: 8px; }

/* 侧栏 */
.cd-side { position: sticky; top: 128px; }

.cd-side-block {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  margin-bottom: 20px;
  overflow: hidden;
}
.cd-side-title {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd-side-title::before { content: ""; width: 4px; height: 14px; background: var(--brand-red); }
.cd-side-body { padding: 18px; }

.cd-info-row {
  display: flex;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.cd-info-row:last-child { border-bottom: none; }
.cd-info-row .k { width: 76px; color: var(--gray); flex-shrink: 0; }
.cd-info-row .v { color: var(--ink); font-weight: 600; }

/* 使用产品 */
.cd-prod {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.cd-prod:last-child { border-bottom: none; }
.cd-prod-img {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 6px;
}
.cd-prod-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cd-prod h5 { font-size: 13px; font-weight: 700; }
.cd-prod span { font-size: 11px; color: var(--brand-red); font-weight: 600; }

/* 相关案例 */
.cd-rel a {
  display: block;
  font-size: 13px;
  color: var(--steel);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s;
  line-height: 1.6;
}
.cd-rel a:last-child { border-bottom: none; }
.cd-rel a:hover { color: var(--brand-red); }

@media (max-width: 1024px) {
  .cd-layout { grid-template-columns: 1fr; }
  .cd-side { position: static; }
  .cd-results { grid-template-columns: repeat(2, 1fr); }
}
