/* =========================================================
   大连咏创科技 · 维修案例库专用样式
   仅被 case-library.html 与 cases/*.html 引用
   配色沿用 style.css 变量；不改 style.css 任何字节
   ========================================================= */

/* ===== 面包屑 ===== */
.cl-breadcrumb{
  font-size:13px;color:#cfe0f0;margin-bottom:14px;
}
.cl-breadcrumb a{color:#cfe0f0;text-decoration:underline;text-underline-offset:3px;}
.cl-breadcrumb a:hover{color:#fff;}
.cl-breadcrumb .sep{margin:0 7px;opacity:.6;}
.page-head .cl-breadcrumb{text-align:center;}

/* ===== 品牌筛选栏（案例库栏目页） ===== */
.cl-tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;
}
.cl-tab{
  padding:8px 15px;border-radius:20px;background:#fff;
  border:1px solid var(--line);font-size:13.5px;cursor:pointer;
  color:var(--muted);transition:all .15s ease;
}
.cl-tab:hover{border-color:var(--navy);color:var(--navy);}
.cl-tab.active{
  background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700;
}

/* ===== 卡片网格 ===== */
.cl-grid{
  display:grid;grid-template-columns:1fr;gap:16px;
}
@media(min-width:680px){
  .cl-grid{grid-template-columns:repeat(2,1fr);gap:18px;}
}
@media(min-width:1024px){
  .cl-grid{grid-template-columns:repeat(3,1fr);gap:20px;}
}

.cl-card{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cl-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 26px rgba(14,42,71,.10);
  border-color:#cdd6df;
}
.cl-cover{
  position:relative;width:100%;aspect-ratio:4/3;
  background:linear-gradient(135deg,#0E2A47 0%,#1E6FCF 100%);
  overflow:hidden;
}
.cl-cover img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.cl-cover .cl-cover-ph{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.92);
}
.cl-cover .cl-cover-ph svg{width:64px;height:64px;opacity:.85;}
.cl-brand{
  position:absolute;left:10px;top:10px;
  background:var(--orange);color:#fff;font-size:12px;font-weight:700;
  padding:4px 10px;border-radius:6px;letter-spacing:.5px;
}
.cl-body{
  padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;gap:8px;
}
.cl-title{
  font-size:15.5px;font-weight:700;line-height:1.45;color:var(--text);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:44px;
}
.cl-summary{
  font-size:13.5px;color:var(--muted);line-height:1.6;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  flex:1;
}
.cl-meta{
  display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);
  padding-top:8px;border-top:1px dashed var(--line);margin-top:4px;
}
.cl-meta .dot::before{content:"·";margin-right:12px;}
.cl-more{
  font-size:13.5px;color:var(--blue);font-weight:600;margin-top:2px;
}
.cl-card:hover .cl-more{color:var(--orange);}

/* ===== 分页 ===== */
.cl-pager{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:8px;margin:30px 0 10px;
}
.cl-page{
  min-width:38px;height:38px;padding:0 12px;border-radius:8px;
  background:#fff;border:1px solid var(--line);color:var(--muted);
  font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  transition:all .15s ease;
}
.cl-page:hover{border-color:var(--navy);color:var(--navy);}
.cl-page.active{
  background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700;
}
.cl-page:disabled{opacity:.45;cursor:not-allowed;}
.cl-page.prev,.cl-page.next{padding:0 16px;}
.cl-empty{
  text-align:center;color:var(--muted);padding:40px 10px;font-size:14px;display:none;
}

/* ===== CTA 区块（栏目页底部） ===== */
.cl-cta{
  margin:40px 0 10px;
  background:linear-gradient(120deg,#0E2A47,#16375F);
  color:#fff;border-radius:14px;padding:28px 26px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;
}
.cl-cta h3{font-size:19px;margin-bottom:6px;}
.cl-cta p{font-size:14px;color:#cfe0f0;line-height:1.6;}
.cl-cta .cl-cta-actions{display:flex;flex-wrap:wrap;gap:10px;}
.cl-cta .btn-orange{
  background:var(--orange);color:#fff;font-weight:700;
  padding:11px 20px;border-radius:22px;font-size:14.5px;display:inline-flex;align-items:center;gap:7px;
}
.cl-cta .btn-orange:hover{background:var(--orange-h);}
.cl-cta .btn-ghost{
  background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45);
  padding:10px 18px;border-radius:22px;font-size:14px;
}

/* ===== 详情页排版 ===== */
.cl-article{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:28px 26px;margin:26px 0;
}
@media(max-width:560px){
  .cl-article{padding:20px 16px;}
}
.cl-article h1{
  font-size:24px;line-height:1.4;font-weight:800;color:var(--text);
  margin:0 0 10px;
}
@media(max-width:560px){
  .cl-article h1{font-size:20px;}
}
.cl-article-meta{
  font-size:13px;color:var(--muted);padding-bottom:16px;
  border-bottom:1px solid var(--line);margin-bottom:22px;
  display:flex;flex-wrap:wrap;gap:6px 14px;
}
.cl-article-meta b{color:var(--text);font-weight:600;}
.cl-article-meta .brand-tag{color:var(--orange);font-weight:700;}

.cl-sec{margin-bottom:26px;}
.cl-sec:last-child{margin-bottom:0;}
.cl-sec h2{
  font-size:17px;font-weight:800;color:var(--navy);
  padding-left:11px;border-left:4px solid var(--orange);
  margin-bottom:12px;line-height:1.3;
}
.cl-sec ul{padding-left:20px;}
.cl-sec ul li{
  font-size:14.5px;line-height:1.8;margin-bottom:6px;color:var(--text);
}

.cl-fig{
  margin:14px 0 4px;max-width:420px;
}
.cl-fig img{
  width:100%;border-radius:10px;border:1px solid var(--line);
}
.cl-fig figcaption{
  font-size:12.5px;color:var(--muted);text-align:center;margin-top:6px;
}

.cl-cause{
  background:var(--bg);border-radius:10px;padding:13px 15px;margin-bottom:10px;
}
.cl-cause h4{font-size:14.5px;color:var(--navy);margin-bottom:4px;font-weight:700;}
.cl-cause p{font-size:13.5px;line-height:1.7;color:var(--text);}

.cl-step{
  display:flex;gap:14px;margin-bottom:12px;
  background:var(--bg);border-radius:10px;padding:14px 16px;
}
.cl-step-num{
  flex:none;width:30px;height:30px;border-radius:50%;
  background:var(--navy);color:#fff;font-weight:700;font-size:14.5px;
  display:flex;align-items:center;justify-content:center;
}
.cl-step-body h4{font-size:14.5px;color:var(--navy);margin-bottom:4px;font-weight:700;}
.cl-step-body p{font-size:13.5px;line-height:1.75;color:var(--text);}

.cl-advice{
  background:#FFF7F2;border:1px solid #FFD9C2;border-radius:10px;padding:14px 16px;
}
.cl-advice ul{margin:0;}

/* 相关案例 */
.cl-related{
  margin-top:30px;padding-top:22px;border-top:1px dashed var(--line);
}
.cl-related h2{
  font-size:16px;font-weight:800;color:var(--navy);margin-bottom:12px;
}
.cl-related-list{display:grid;grid-template-columns:1fr;gap:10px;}
@media(min-width:680px){
  .cl-related-list{grid-template-columns:repeat(2,1fr);}
}
.cl-related a{
  display:block;background:var(--bg);border-radius:10px;padding:12px 14px;
  font-size:13.5px;color:var(--text);line-height:1.5;
  border:1px solid transparent;transition:all .15s ease;
}
.cl-related a:hover{border-color:var(--blue);background:#fff;color:var(--blue);}
.cl-related a .rel-brand{
  display:inline-block;background:var(--orange);color:#fff;
  font-size:11px;padding:1px 7px;border-radius:4px;margin-right:7px;
}

/* 详情页底部 CTA */
.cl-detail-cta{
  margin:0 0 40px;
  background:linear-gradient(120deg,#0E2A47,#16375F);
  color:#fff;border-radius:14px;padding:24px 26px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
}
.cl-detail-cta h3{font-size:18px;margin-bottom:5px;}
.cl-detail-cta p{font-size:13.5px;color:#cfe0f0;line-height:1.7;}
.cl-detail-cta a.phone{
  background:var(--orange);color:#fff;font-weight:800;font-size:18px;
  padding:11px 22px;border-radius:24px;white-space:nowrap;
}
.cl-detail-cta a.phone:hover{background:var(--orange-h);}

/* ===== cases.html 页头下入口条 ===== */
.cl-entry-banner{
  background:linear-gradient(120deg,#0E2A47,#16375F);
  color:#fff;padding:18px 0;
}
.cl-entry-banner .wrap{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
}
.cl-entry-banner h3{font-size:16px;margin-bottom:3px;}
.cl-entry-banner p{font-size:13px;color:#cfe0f0;margin:0;}
.cl-entry-banner a.btn{
  background:var(--orange);color:#fff;font-weight:700;font-size:14px;
  padding:10px 20px;border-radius:22px;display:inline-flex;align-items:center;gap:6px;
}
.cl-entry-banner a.btn:hover{background:var(--orange-h);}
