/* ============================================================
   案例详情页 v2 —— 全方位排版升级 (2026-11-17)
   深蓝品牌调性 / 大字号 / 横向时间轴 / 图文分栏
   ============================================================ */
.case-page{ font-family:inherit; color:#1a2b4a; }
.case-wrap{ max-width:1260px; margin:0 auto; padding:0 28px; }

/* ---------- Hero: 案例图暗化背景 ---------- */
.case-hero{
  position:relative; padding:96px 0 120px; color:#fff; overflow:hidden;
  background:#00306e;
}
.case-hero-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  filter:brightness(.35) saturate(.7); transform:scale(1.02);
}
.case-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg,rgba(0,30,80,.92) 0%,rgba(0,64,152,.78) 55%,rgba(0,48,110,.55) 100%);
}
.case-hero .case-wrap{ position:relative; z-index:2; }
.case-back{
  display:inline-flex; align-items:center; gap:7px; margin-bottom:26px;
  color:#a8c8f0; font-size:14px; font-weight:600; text-decoration:none;
  border:1px solid rgba(168,200,240,.35); padding:7px 14px; border-radius:24px;
  transition:.2s;
}
.case-back:hover{ color:#fff; border-color:#fff; background:rgba(255,255,255,.08); }
.case-kicker{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:3px;
  color:#7fb0ee; text-transform:uppercase; margin-bottom:18px;
  border-left:3px solid #e2231a; padding-left:12px;
}
.case-hero h1{
  font-size:50px; line-height:1.18; font-weight:800; margin:0 0 22px;
  max-width:880px; letter-spacing:-.5px;
}
.case-hero-lead{ font-size:19px; line-height:1.7; color:#d3e3fa; max-width:780px; margin:0; }

/* ---------- 事实条: 悬浮白卡 + 图标 ---------- */
.case-facts{
  display:grid; grid-template-columns:repeat(5,1fr); gap:0;
  background:#fff; border-radius:14px; overflow:hidden;
  margin:-64px auto 0; position:relative; z-index:3;
  box-shadow:0 18px 48px rgba(0,40,98,.16); border:1px solid #e6ecf5;
}
.case-fact{ padding:26px 22px; border-right:1px solid #eef1f6; position:relative; }
.case-fact:last-child{ border-right:0; }
.case-fact::before{
  content:""; display:block; width:26px; height:26px; margin-bottom:12px;
  background:#eef3fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004098'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15l-5-5 1.41-1.41L11 14.17l7.59-7.59L20 8l-9 9z'/%3E%3C/svg%3E") center/16px no-repeat;
  border-radius:7px;
}
.case-fact-label{ font-size:11px; font-weight:800; letter-spacing:1.2px; color:#94a5bd; text-transform:uppercase; margin-bottom:7px; }
.case-fact-value{ font-size:17px; font-weight:700; color:#1a2b4a; line-height:1.35; }

/* ---------- Section 通用 ---------- */
.case-section{ padding:80px 0; }
.case-section.alt{ background:#f6f8fc; }
.case-section h2{
  font-size:32px; color:#1a2b4a; margin:0 0 12px; font-weight:800; letter-spacing:-.3px;
  position:relative; padding-left:18px;
}
.case-section h2::before{ content:""; position:absolute; left:0; top:6px; bottom:6px; width:5px; border-radius:3px; background:#e2231a; }
.case-sub{ font-size:16px; color:#7b8ca5; margin:0 0 36px; padding-left:18px; }

/* ---------- 主图 ---------- */
.case-figure{ margin:0 auto; border-radius:16px; overflow:hidden; box-shadow:0 16px 44px rgba(0,40,98,.14); }
.case-figure img{ width:100%; height:auto; display:block; }

/* ---------- 挑战/方案/结果: 大卡片 + 顶部色条 ---------- */
.case-trio{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.case-trio-card{
  background:#fff; border:1px solid #e6ecf5; border-radius:14px; padding:0 0 26px;
  box-shadow:0 6px 22px rgba(0,40,98,.06); overflow:hidden; position:relative;
  transition:transform .25s,box-shadow .25s;
}
.case-trio-card:hover{ transform:translateY(-5px); box-shadow:0 16px 36px rgba(0,64,152,.13); }
.case-trio-card::before{ content:""; display:block; height:5px; background:#004098; }
.case-trio-card:nth-child(1)::before{ background:#e2231a; }
.case-trio-card:nth-child(2)::before{ background:#004098; }
.case-trio-card:nth-child(3)::before{ background:#1a8a5a; }
.case-trio-num{
  position:absolute; right:20px; top:20px; font-size:44px; font-weight:800;
  color:#f0f4fa; line-height:1;
}
.case-trio-card h3{
  font-size:20px; color:#1a2b4a; margin:24px 24px 14px; font-weight:800;
  display:flex; align-items:center; gap:10px;
}
.case-trio-card h3::before{ content:""; width:9px; height:9px; border-radius:50%; background:#e2231a; }
.case-trio-card:nth-child(2) h3::before{ background:#004098; }
.case-trio-card:nth-child(3) h3::before{ background:#1a8a5a; }
.case-trio-card p{ font-size:15.5px; line-height:1.85; color:#556; margin:0 24px; }

/* ---------- 数据高亮: 深色条 + 大数字 ---------- */
.case-metrics-bar{
  background:linear-gradient(120deg,#00306e,#004098);
  border-radius:16px; padding:38px 24px; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:20px;
  box-shadow:0 14px 38px rgba(0,48,110,.2);
}
.case-metric{ text-align:center; position:relative; }
.case-metric:not(:last-child)::after{
  content:""; position:absolute; right:0; top:10%; height:80%; width:1px; background:rgba(255,255,255,.18);
}
.case-metric-num{ font-size:44px; font-weight:800; color:#fff; line-height:1; letter-spacing:-1.5px; }
.case-metric-label{ font-size:14px; color:#9fc4f5; margin-top:12px; font-weight:600; }

/* ---------- 时间线: 横向节点卡片 (重做) ---------- */
.case-timeline-h{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:0; position:relative; padding:20px 0;
}
.case-timeline-h::before{
  content:""; position:absolute; left:6%; right:6%; top:52px; height:3px;
  background:linear-gradient(90deg,#004098,#5a9ae0); z-index:0;
}
.case-tl-item{ position:relative; padding:0 16px; text-align:center; z-index:1; }
.case-tl-dot{
  width:18px; height:18px; border-radius:50%; background:#fff;
  border:4px solid #004098; margin:0 auto 22px; position:relative; z-index:2;
  box-shadow:0 0 0 5px #f6f8fc;
}
.case-tl-item:last-child .case-tl-dot{ background:#e2231a; border-color:#e2231a; box-shadow:0 0 0 5px #fdecea; }
.case-tl-time{
  display:inline-block; font-size:12px; font-weight:800; color:#004098;
  background:#eaf2fd; padding:5px 12px; border-radius:20px; margin-bottom:12px;
}
.case-tl-item:last-child .case-tl-time{ color:#e2231a; background:#fdecea; }
.case-tl-text{ font-size:14.5px; color:#445; line-height:1.6; }

/* ---------- 正文 ---------- */
.case-lead-p{
  background:#fff; border:1px solid #e6ecf5; border-radius:14px;
  padding:36px 40px; font-size:17px; line-height:1.9; color:#445;
  box-shadow:0 4px 18px rgba(0,40,98,.05);
}
.case-lead-p p{ margin:0 0 18px; }
.case-lead-p p:last-child{ margin-bottom:0; }

/* ---------- 相关案例 ---------- */
.case-related-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.case-related-card{
  background:#fff; border:1px solid #e6ecf5; border-radius:14px; overflow:hidden;
  transition:transform .25s,box-shadow .25s;
}
.case-related-card:hover{ transform:translateY(-5px); box-shadow:0 14px 34px rgba(0,64,152,.14); }
.case-related-img{ height:175px; overflow:hidden; background:#eef3fb; }
.case-related-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.case-related-card:hover img{ transform:scale(1.05); }
.case-related-body{ padding:20px 22px; }
.case-related-body h4{ font-size:16px; color:#1a2b4a; margin:0 0 12px; line-height:1.5; }
.case-related-body h4 a{ color:inherit; text-decoration:none; }
.case-related-body h4 a:hover{ color:#004098; }
.case-related-body .case-rel-link{ font-size:13px; color:#004098; text-decoration:none; font-weight:700; }

/* ---------- CTA ---------- */
.case-cta{
  background:linear-gradient(120deg,#002a66,#004098 60%,#0a52b8);
  color:#fff; padding:76px 0; text-align:center; position:relative; overflow:hidden;
}
.case-cta::before{
  content:""; position:absolute; inset:0; opacity:.08;
  background-image:radial-gradient(circle at 70% 30%,#fff 1px,transparent 1px); background-size:22px 22px;
}
.case-cta .case-wrap{ position:relative; z-index:1; }
.case-cta h2{ font-size:36px; margin:0 0 16px; font-weight:800; }
.case-cta p{ font-size:17px; color:#cddff7; max-width:660px; margin:0 auto 30px; line-height:1.75; }
.case-cta-btn{
  display:inline-block; background:#e2231a; color:#fff; padding:16px 36px;
  border-radius:9px; font-weight:800; font-size:16px; text-decoration:none; transition:.2s;
}
.case-cta-btn:hover{ background:#c81e16; transform:translateY(-2px); }

/* ---------- 聚合页 ---------- */
.cases-index-hero{ background:linear-gradient(120deg,#002a66,#004098 60%,#0a52b8); color:#fff; padding:76px 0 64px; }
.cases-index-hero h1{ font-size:46px; margin:0 0 18px; font-weight:800; letter-spacing:-.5px; }
.cases-index-hero p{ font-size:18px; color:#cddff7; max-width:760px; line-height:1.75; margin:0; }
.cases-filter{ display:flex; flex-wrap:wrap; gap:12px; padding:38px 0 12px; }
.cases-filter a{
  display:inline-block; padding:10px 22px; border-radius:26px; font-size:14px; font-weight:700;
  color:#556; background:#fff; border:1px solid #e0e7f2; text-decoration:none; transition:.2s;
}
.cases-filter a:hover{ border-color:#004098; color:#004098; transform:translateY(-2px); }
.cases-filter a.active{ background:#004098; color:#fff; border-color:#004098; box-shadow:0 6px 16px rgba(0,64,152,.2); }
.cases-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding:32px 0 20px; }
.cases-card{
  background:#fff; border:1px solid #e6ecf5; border-radius:14px; overflow:hidden;
  transition:transform .25s,box-shadow .25s;
}
.cases-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,64,152,.16); }
.cases-card-img{ height:195px; overflow:hidden; background:#eef3fb; display:block; }
.cases-card-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.cases-card:hover .cases-card-img img{ transform:scale(1.06); }
.cases-card-body{ padding:22px 24px 26px; }
.cases-card-tag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.6px; color:#004098;
  background:#eaf2fd; padding:5px 12px; border-radius:20px; margin-bottom:14px; text-transform:uppercase;
}
.cases-card-body h3{ font-size:18px; color:#1a2b4a; line-height:1.45; margin:0 0 12px; }
.cases-card-body h3 a{ color:inherit; text-decoration:none; }
.cases-card-body h3 a:hover{ color:#004098; }
.cases-card-body p{ font-size:14.5px; color:#6a7a90; line-height:1.65; margin:0 0 16px; }
.cases-card-meta{ font-size:13px; color:#8a99ad; border-top:1px solid #eef1f6; padding-top:14px; }
.cases-card-meta b{ color:#004098; }

/* ---------- Widget ---------- */
.wb-cases-widget ul{ list-style:none; margin:0; padding:0; }
.wb-cases-widget li{ display:flex; gap:12px; padding:11px 0; border-bottom:1px solid #eef1f6; }
.wb-cases-widget li:last-child{ border-bottom:0; }
.wb-cases-widget img{ width:68px; height:54px; object-fit:cover; border-radius:6px; flex:0 0 68px; }
.wb-cases-widget a{ font-size:13.5px; color:#1a2b4a; font-weight:600; line-height:1.4; text-decoration:none; }
.wb-cases-widget a:hover{ color:#004098; }
.wb-cases-widget .wb-cases-sub{ display:block; font-size:11.5px; color:#889; font-weight:400; margin-top:3px; }

/* ---------- 响应式 ---------- */
@media (max-width:980px){
  .case-hero{ padding:72px 0 100px; }
  .case-hero h1{ font-size:36px; }
  .case-facts{ grid-template-columns:repeat(3,1fr); }
  .case-fact:nth-child(3){ border-right:0; }
  .case-trio,.case-related-grid,.cases-grid{ grid-template-columns:repeat(2,1fr); }
  .case-timeline-h{ grid-template-columns:repeat(2,1fr); gap:30px 0; }
  .case-timeline-h::before{ display:none; }
}
@media (max-width:600px){
  .case-hero{ padding:56px 0 88px; }
  .case-hero h1{ font-size:28px; }
  .case-hero-lead{ font-size:16px; }
  .case-facts{ grid-template-columns:repeat(2,1fr); }
  .case-fact{ padding:18px 14px; }
  .case-section{ padding:52px 0; }
  .case-section h2{ font-size:25px; }
  .case-trio,.case-related-grid,.cases-grid,.case-timeline-h{ grid-template-columns:1fr; }
  .case-lead-p{ padding:24px 22px; font-size:15.5px; }
  .case-metrics-bar{ padding:28px 16px; }
  .case-metric-num{ font-size:34px; }
}

/* ---------- 卡片meta两栏对齐 v2 (2026-11-17) ---------- */
.cases-card-meta{ display:grid; gap:7px; }
.ccm-row{ display:grid; grid-template-columns:52px 1fr; align-items:baseline; gap:8px; font-size:13px; line-height:1.45; }
.ccm-k{ color:#94a5bd; font-weight:700; font-size:11px; letter-spacing:.5px; text-transform:uppercase; flex:0 0 auto; }
.ccm-v{ color:#004098; font-weight:700; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:600px){ .ccm-row{ grid-template-columns:46px 1fr; gap:6px; } }

/* ---------- 聚合页精选/全部标题 v3 ---------- */
.cases-featured{ padding-top:16px; }
.cases-featured-title,.cases-all-title{
  font-size:24px; color:#1a2b4a; margin:28px 0 0; padding-left:16px; position:relative; font-weight:800;
}
.cases-featured-title::before,.cases-all-title::before{
  content:""; position:absolute; left:0; top:4px; bottom:4px; width:5px; border-radius:3px; background:#e2231a;
}
.cases-all-title::before{ background:#004098; }
.cases-featured + .cases-all-title{ margin-top:44px; }
