/* =========================================================
   /cases/ 页级样式 · 脱敏客户案例
   ---------------------------------------------------------
   基础排版复用 core.css / p4.css（pf-*）；本文件只写案例特有组件：
   案例卡网格、部门×模块矩阵、可引用摘要块。
   ========================================================= */

/* —— 案例卡网格 —— */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.cases-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 22px 22px 20px;
  box-shadow: var(--sh-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cases-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.cases-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .06em;
  font-weight: 650;
  color: #3f5a76;
  border: 1px solid #dbe7f5;
  background: #f7fbff;
  border-radius: 999px;
  padding: 4px 10px;
}

.cases-metrics {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.cases-metrics li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.cases-metrics li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--blue);
  font-weight: 800;
}

.cases-src {
  margin-top: auto;
  font-size: 11.5px;
  line-height: 1.6;
  color: #7c90a8;
}

/* —— 旗舰案例 · 部门×模块矩阵 —— */
.cases-matrix {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}

.cases-matrix table {
  width: 100%;
  border-collapse: collapse;
}

.cases-matrix th,
.cases-matrix td {
  text-align: left;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cases-matrix th {
  background: linear-gradient(135deg, #fbfdff, #f0f7ff);
  font-weight: 650;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: .04em;
}

.cases-matrix tr:last-child td { border-bottom: none; }

.cases-matrix td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.cases-matrix td:nth-child(2) { color: var(--blue); font-weight: 600; white-space: nowrap; }

/* —— 可引用摘要块 —— */
.cases-quote {
  margin: 20px 0 0;
  border-left: 3px solid var(--blue);
  background: #f7fbff;
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.cases-quote span {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  color: #7c90a8;
  font-weight: 650;
  margin-bottom: 6px;
}

/* —— 免责/来源小字 —— */
.cases-disc {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #7c90a8;
}

@media (max-width: 720px) {
  .cases-matrix th, .cases-matrix td { padding: 11px 12px; }
  .cases-card { padding: 18px 16px; }
}
