/*
 * case.css — 案例相关页面公共样式（IE10/11 兼容版）
 * 适用页面：customer.html（案例列表）、case-basic.html 及所有案例详情页
 */

/* ============================================================
   1. 滚动入场动画
   ============================================================ */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(24px);
  -ms-transform: translateY(24px);
  transform: translateY(24px);
  -webkit-transition: opacity .65s ease, -webkit-transform .65s ease;
  -ms-transition: opacity .65s ease, -ms-transform .65s ease;
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }

/* ============================================================
   2. 案例详情页 — 深色 Hero
   ============================================================ */
.page-hero {
  position: relative;
  padding: 32px 5% 28px;
  background: #1a2e4a;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(230,48,39,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80%  at 0% 100%, rgba(58,140,204,.15) 0%, transparent 60%),
    linear-gradient(135deg, #1a2e4a 0%, #253d60 100%);
}
.hero-grid {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-animation: caseGridMove 22s linear infinite;
  animation: caseGridMove 22s linear infinite;
}
@-webkit-keyframes caseGridMove {
  0%   { -webkit-transform: translate(0, 0); transform: translate(0, 0); }
  100% { -webkit-transform: translate(60px, 60px); transform: translate(60px, 60px); }
}
@keyframes caseGridMove {
  0%   { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); transform: translate(0, 0); }
  100% { -webkit-transform: translate(60px, 60px); -ms-transform: translate(60px, 60px); transform: translate(60px, 60px); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px;
  padding: 30px 0;
}
.hero-breadcrumb {
  overflow: hidden;
  font-size: 12px; color: rgba(255,255,255,.38);
  margin-bottom: 14px;
}
.hero-breadcrumb a { color: rgba(255,255,255,.38); text-decoration: none; -webkit-transition: color .2s; transition: color .2s; }
.hero-breadcrumb a:hover { color: rgba(255,255,255,.7); }
.hero-breadcrumb svg { opacity: .38; }
.hero-breadcrumb span { margin-right: 6px; }
.hero-meta { overflow: hidden; margin-bottom: 18px; }
.hero-tag {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(58,140,204,.25);
  border: 1px solid rgba(58,140,204,.45);
  color: rgba(255,255,255,.82);
  margin-right: 10px;
  margin-bottom: 6px;
}
.hero-tag.accent {
  background: rgba(230,48,39,.22);
  border-color: rgba(230,48,39,.50);
  color: #ff8a82;
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 900; color: #fff;
  line-height: 1.25; margin-bottom: 22px;
  -webkit-animation: caseFadeUp .7s ease both;
  animation: caseFadeUp .7s ease both;
}
@-webkit-keyframes caseFadeUp {
  from { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); }
  to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes caseFadeUp {
  from { opacity: 0; -webkit-transform: translateY(20px); -ms-transform: translateY(20px); transform: translateY(20px); }
  to   { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}
.hero-contact {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 10px 20px; border-radius: 12px;
  font-size: 13px; color: rgba(255,255,255,.72);
}
.hero-contact a { color: #ff8a82; }

/* ============================================================
   3. 案例详情页 — 双栏文章布局
   ============================================================ */
.article-wrap {
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
  padding: 64px 5% 100px;
}
.article-main {
  float: left;
  width: 66%;
  padding-right: 48px;
}
.article-sidebar {
  float: right;
  width: 280px;
}
/* .article      { min-width: 0; } */
.article {
  float: left;
  width: 66%;
  padding-right: 48px;
}

.article-section { margin-bottom: 52px; }

/* 章节标题 */
.section-heading {
  font-size: 20px; font-weight: 800; color: #2c2c2c;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid #e4e4e4;
  overflow: hidden;
}
.section-heading::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px; height: 21px; border-radius: 2px;
  background: linear-gradient(180deg, #e63027, #3a8ccc);
  margin-right: 10px;
}
.section-heading > span {
  vertical-align: middle;
}

/* 数据指标 */
.metrics { overflow: hidden; margin: 28px 0; }
.metric-card {
  float: left;
  width: 31.333%;
  margin-right: 3%;
  background: #f5f6f8; border-radius: 14px;
  padding: 20px; text-align: center; border: 1px solid #e4e4e4;
}
.metric-card:last-child { margin-right: 0; }
.metric-num  { font-size: 28px; font-weight: 900; color: #e63027; line-height: 1; }
.metric-unit { font-size: 14px; font-weight: 700; color: #3a8ccc; }
.metric-lbl  { font-size: 12px; color: #666; margin-top: 6px; line-height: 1.4; }

/* 正文 */
.article-body          { font-size: 15px; line-height: 1.9; color: #2c2c2c; }
.article-body p        { margin-bottom: 14px; }
.article-body strong   { color: #e63027; }

/* 图片块 */
.case-img-wrap {
  margin: 20px 0; border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  border: 1px solid #e4e4e4;
}
.case-img-wrap img           { 
  display: block; 
  -webkit-transition: -webkit-transform .5s;
  transition: transform .5s;
}
.case-img-wrap:hover img     { -webkit-transform: scale(1.015); -ms-transform: scale(1.015); transform: scale(1.015); }
.img-caption {
  font-size: 12px; color: #666; text-align: center;
  padding: 10px 16px; background: #f5f6f8;
  border-top: 1px solid #e4e4e4;
}

/* 模块列表（两列网格） */
.module-list { overflow: hidden; margin: 20px 0; }
.module-item {
  float: left;
  width: 48%;
  margin-right: 4%;
  margin-bottom: 12px;
  overflow: hidden;
  background: #f5f6f8; border-radius: 12px; padding: 16px;
}
.module-item:nth-child(2n) { margin-right: 0; }
.module-dot {
  float: left;
  width: 8px; height: 8px;
  background: #e63027; border-radius: 50%;
  margin-top: 6px;
  margin-right: 12px;
}
.module-item strong { display: block; font-size: 13px; font-weight: 700; color: #2c2c2c; margin-bottom: 4px; }
.module-item span   { font-size: 12px; color: #666; line-height: 1.5; }

/* 上下篇导航 */
.case-nav {
  overflow: hidden;
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid #e4e4e4;
}
.case-nav-btn {
  float: left;
  width: 48%;
  text-decoration: none; padding: 16px 20px;
  border: 1px solid #e4e4e4; border-radius: 14px;
  -webkit-transition: border-color .2s, box-shadow .2s;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.case-nav-btn + .case-nav-btn {
  float: right;
}
.case-nav-btn:hover {
  border-color: #e63027;
  box-shadow: 0 4px 16px rgba(230,48,39,.10);
}
.case-nav-btn.next  { text-align: right; }
.cn-label { font-size: 11px; color: #666; display: block; margin-bottom: 4px; }
.cn-title {
  font-size: 13px; font-weight: 600; color: #2c2c2c; line-height: 1.4;
}
.cn-arrow { color: #666; -webkit-transition: color .2s; transition: color .2s; }
.case-nav-btn:hover .cn-arrow { color: #e63027; }

/* ============================================================
   4. 案例详情页 — 侧边栏联系人 / 相关链接 / 标题变体
   ============================================================ */
.contact-item {
  overflow: hidden;
  font-size: 13px; color: #2c2c2c;
  padding: 8px 0;
  border-bottom: 1px solid #e4e4e4;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  float: left;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(230,48,39,.08); color: #e63027;
  text-align: center;
  line-height: 32px;
  margin-right: 10px;
}
.contact-label { font-size: 11px; color: #666; }
.contact-value { font-weight: 600; font-size: 13px; }

.related-link {
  display: block;
  text-decoration: none; color: #2c2c2c;
  font-size: 13px; line-height: 1.5;
  padding: 10px 0; border-bottom: 1px solid #e4e4e4;
  -webkit-transition: color .2s;
  transition: color .2s;
}
.related-link:last-child  { border-bottom: none; }
.related-link:hover       { color: #e63027; }
.related-link svg         { color: #666; margin-right: 8px; vertical-align: middle; }
.related-link:hover svg   { color: #e63027; }

/* 侧边栏小标题 */
.sidebar-card-header-sm {
  font-size: 12px; font-weight: 700; color: #666;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 18px 20px 12px;
}
.sidebar-card-content { padding: 0 20px 18px; }

/* ============================================================
   5. 案例列表页 — 吸顶筛选栏
   ============================================================ */
.filter-bar-wrap {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.filter-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 5%;
  overflow: hidden;
}
.industry-tabs {
  float: left;
  overflow-x: auto;
  padding: 10px 0;
  white-space: nowrap;
}
.industry-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  white-space: nowrap;
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  padding: 6px 13px; border-radius: 20px;
  border: none; background: none;
  font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
  font-size: 13px; font-weight: 500;
  color: #666; cursor: pointer;
  -webkit-transition: background .18s, color .18s;
  transition: background .18s, color .18s;
  margin-right: 2px;
}
.tab-btn:hover  { background: #f5f6f8; color: #e63027; }
.tab-btn.active { background: #e63027; color: #fff; font-weight: 700; }
.tab-btn .cnt {
  font-size: 10px; background: rgba(255,255,255,.28);
  padding: 1px 5px; border-radius: 8px;
}
.tab-btn:not(.active) .cnt { background: rgba(230,48,39,.10); color: #e63027; }

.filter-search {
  float: right;
  background: #f5f6f8; border: 1px solid #e4e4e4;
  border-radius: 20px; padding: 7px 14px;
  margin-left: 12px; width: 190px;
  overflow: hidden;
}
.filter-search svg { color: #666; vertical-align: middle; margin-right: 7px; }
.filter-search input {
  border: none; background: none;
  font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
  font-size: 13px; color: #2c2c2c;
  width: 130px; outline: none;
  vertical-align: middle;
}
.filter-search input::-webkit-input-placeholder { color: #666; }
.filter-search input:-ms-input-placeholder { color: #666; }
.filter-search input::placeholder { color: #666; }

.view-toggle { float: right; margin-left: 10px; overflow: hidden; }
.vt-btn {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  width: 30px; height: 30px;
  border: 1px solid #e4e4e4; background: none;
  border-radius: 7px; cursor: pointer;
  text-align: center;
  line-height: 30px;
  color: #666;
  -webkit-transition: all .18s;
  transition: all .18s;
  margin-right: 3px;
}
.vt-btn.active, .vt-btn:hover { background: #e63027; border-color: #e63027; color: #fff; }

/* ============================================================
   6. 案例列表页 — 新式卡片 & 列表视图
   ============================================================ */
.cases-main { max-width: 1360px; margin: 0 auto; padding: 28px 5% 80px; }
.cases-count-bar { overflow: hidden; margin-bottom: 18px; }
.cases-count-bar span  { font-size: 13px; color: #666; }
.cases-count-bar strong { color: #e63027; font-weight: 700; }

.cases-grid-c {
  overflow: hidden;
}
.case-card-c {
  float: left;
  width: 23.5%;
  margin-right: 2%;
  margin-bottom: 16px;
  background: #fff; border: 1px solid #e4e4e4;
  border-radius: 12px; padding: 20px 18px;
  text-decoration: none;
  position: relative; overflow: hidden;
  -webkit-transition: border-color .22s, box-shadow .22s;
  transition: border-color .22s, box-shadow .22s;
}
.cases-grid-c .case-card-c:nth-child(4n) { margin-right: 0; }
.case-card-c::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #e63027, #3a8ccc);
}
.case-card-c:hover {
  border-color: #e63027;
  box-shadow: 0 8px 28px rgba(230,48,39,.10);
}

.card-industry-tag {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 10px;
}
.card-title-c {
  font-size: 13.5px; font-weight: 700; color: #2c2c2c;
  line-height: 1.6; margin-bottom: 14px;
}
.card-footer-c {
  overflow: hidden;
  padding-top: 12px; border-top: 1px solid #e4e4e4;
}
.card-tag-c   { font-size: 11px; color: #666; }
.card-arrow-c {
  float: right;
  width: 26px; height: 26px; border-radius: 50%;
  background: #f5f6f8; color: #e63027;
  text-align: center;
  line-height: 26px;
  -webkit-transition: background .18s;
  transition: background .18s;
}
.case-card-c:hover .card-arrow-c { background: #e63027; color: #fff; }

/* 行业色标 */
.ind-c-manufacturing { background: rgba(26,46,74,.08);  color: #1a2e4a; }
.ind-c-finance       { background: rgba(58,140,204,.10); color: #3a8ccc; }
.ind-c-energy        { background: rgba(230,140,0,.10);  color: #a06000; }
.ind-c-it            { background: rgba(100,60,200,.10); color: #6030b0; }
.ind-c-trade         { background: rgba(230,48,39,.10);  color: #e63027; }
.ind-c-construction  { background: rgba(20,120,60,.10);  color: #156030; }
.ind-c-government    { background: rgba(10,90,200,.10);  color: #0a50c0; }
.ind-c-education     { background: rgba(100,10,220,.10); color: #6010b0; }
.ind-c-medical       { background: rgba(200,30,60,.10);  color: #b01030; }
.ind-c-logistics     { background: rgba(240,120,0,.10);  color: #906000; }

/* 列表视图 */
.cases-list-c { display: none; }
.case-row-c {
  display: block;
  background: #fff; border: 1px solid #e4e4e4;
  border-radius: 10px; padding: 13px 18px;
  text-decoration: none;
  -webkit-transition: border-color .2s, box-shadow .2s;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 8px;
  overflow: hidden;
}
.case-row-c:hover { border-color: #e63027; box-shadow: 0 2px 12px rgba(230,48,39,.08); }
.row-title-c  { font-size: 14px; font-weight: 600; color: #2c2c2c; line-height: 1.5; }
.row-arrow-c  { float: right; color: #666; -webkit-transition: color .2s; transition: color .2s; }
.case-row-c:hover .row-arrow-c { color: #e63027; }

.case-card-c.hidden, .case-row-c.hidden { display: none !important; }
.no-results-c {
  text-align: center;
  padding: 64px 0; color: #666; font-size: 15px; display: none;
}
.no-results-c svg { display: block; margin: 0 auto 16px; opacity: .3; }

/* ============================================================
   7. 案例详情页 — 侧边栏容器 & CTA
   ============================================================ */
.sidebar-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sidebar-card-header {
  background: #f5f6f8;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #2c2c2c;
  border-bottom: 1px solid #e4e4e4;
}

.sidebar-card-body { padding: 6px 0; }

.sidebar-card-body ul { list-style: none; padding: 0; margin: 0; }

.sidebar-card-body li {
  padding: 0;
  border-bottom: 1px solid #f5f6f8;
}

.sidebar-card-body li:last-child { border-bottom: none; }

.sidebar-card-body li a {
  display: block;
  padding: 10px 18px;
  color: #2c2c2c;
  font-size: 13px;
  line-height: 1.5;
  -webkit-transition: background .22s ease, color .22s ease;
  transition: background .22s ease, color .22s ease;
}

.sidebar-card-body li a:hover { background: #fff0ef; color: #e63027; }

.sidebar-cta {
  background: linear-gradient(135deg, #1a2e4a, #253d60);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.sidebar-cta h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }

.sidebar-cta p {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
  line-height: 1.65;
}

/* ============================================================
   8. 案例列表页 — 卡片（旧版）
   ============================================================ */
.case-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  -webkit-transition: box-shadow .22s ease;
  transition: box-shadow .22s ease;
  height: 100%;
}

.case-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.14); }

.case-card-stripe {
  height: 4px;
  background: linear-gradient(90deg, #e63027, #3a8ccc);
}

.case-card-body {
  padding: 18px 20px 16px;
}

.case-card-title {
  font-size: 14.5px; font-weight: 600; color: #2c2c2c;
  line-height: 1.5; margin-bottom: 8px;
}

.case-card-title a { color: inherit; }
.case-card-title a:hover { color: #e63027; }

.case-card-excerpt {
  font-size: 13px; color: #666; line-height: 1.65;
  margin-bottom: 14px;
}

.case-card-footer {
  overflow: hidden;
  padding-top: 12px; border-top: 1px solid #f5f6f8;
}

.case-read-more {
  font-size: 13px; color: #e63027; font-weight: 500;
}

.case-read-more:hover { color: #c0261e; }

/* ============================================================
   9. 案例列表页 — 筛选器 & 搜索框（旧版）
   ============================================================ */
.industry-filter { overflow: hidden; padding: 24px 0; }

.filter-btn {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  padding: 7px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  background: #fff; border: 1.5px solid #e4e4e4;
  color: #666; cursor: pointer;
  -webkit-transition: all .2s;
  transition: all .2s;
  font-family: inherit;
  margin-right: 8px;
  margin-bottom: 8px;
}

.filter-btn:hover,
.filter-btn.active { background: #e63027; border-color: #e63027; color: #fff; }

.search-bar { overflow: hidden; max-width: 380px; }

.search-bar input {
  float: left;
  width: 70%;
  padding: 9px 15px;
  border: 1.5px solid #e4e4e4; border-radius: 6px;
  font-size: 14px; outline: none; font-family: inherit;
  -webkit-transition: border-color .2s;
  transition: border-color .2s;
}

.search-bar input:focus       { border-color: #e63027; }
.search-bar input::-webkit-input-placeholder { color: #bbb; }
.search-bar input:-ms-input-placeholder { color: #bbb; }
.search-bar input::placeholder { color: #bbb; }

.search-bar button {
  float: right;
  padding: 9px 16px; background: #e63027; color: #fff;
  border: none; border-radius: 6px; font-size: 14px; cursor: pointer;
  -webkit-transition: background .2s;
  transition: background .2s;
  font-family: inherit;
}

.search-bar button:hover { background: #c0261e; }

.cases-toolbar {
  overflow: hidden;
  padding-bottom: 8px;
}

.cases-count    { font-size: 13px; color: #666; }
.cases-grid-wrap { padding: 8px 16px 40px; }

/* ============================================================
   10. 分页导航
   ============================================================ */
.cases-pagination {
  text-align: center;
  padding: 32px 0 8px;
}
.pg-btn {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  min-width: 34px; height: 34px;
  border: 1px solid #e4e4e4; border-radius: 8px;
  background: #fff; color: #2c2c2c;
  font-size: 13px; font-weight: 500;
  font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;
  cursor: pointer;
  text-align: center;
  line-height: 34px;
  padding: 0 8px;
  -webkit-transition: all .18s;
  transition: all .18s;
  margin: 2px;
}
.pg-btn:hover { border-color: #e63027; color: #e63027; }
.pg-btn.active  { background: #e63027; border-color: #e63027; color: #fff; font-weight: 700; }
.pg-btn[disabled] { filter: alpha(opacity=35); cursor: default; }
.pg-ellipsis {
  display: inline-block;
  /* *display: inline; */
  /* *zoom: 1; */
  min-width: 28px; height: 34px;
  text-align: center;
  line-height: 34px;
  color: #666; font-size: 14px;
}

/* ============================================================
   11. 响应式
   ============================================================ */
@media (max-width: 1200px) {
  .cases-grid-c .case-card-c { width: 31.333%; margin-right: 3%; }
  .cases-grid-c .case-card-c:nth-child(4n) { margin-right: 3%; }
  .cases-grid-c .case-card-c:nth-child(3n) { margin-right: 0; }
}
@media (max-width: 991px) {
  .article-main { float: none; width: 100%; padding-right: 0; }
  .article-sidebar { float: none; width: 100%; position: static !important; }
  .case-nav-btn { float: none; width: 100%; margin-bottom: 12px; }
  .case-nav-btn + .case-nav-btn { float: none; }
  .cases-grid-c .case-card-c { width: 48%; margin-right: 4%; }
  .cases-grid-c .case-card-c:nth-child(3n) { margin-right: 4%; }
  .cases-grid-c .case-card-c:nth-child(2n) { margin-right: 0; }
  #cases-grid .case-card { width: 48%; margin-right: 4%; }
  #cases-grid .case-card:nth-child(2n) { margin-right: 0; }
}
@media (max-width: 768px) {
  .cases-toolbar .search-bar { float: none; max-width: 100%; width: 100%; }
  .cases-toolbar .industry-filter { float: none; }
  .search-bar input { width: 65%; }
  .industry-filter .filter-btn { padding: 6px 13px; font-size: 12px; }
}
@media (max-width: 600px) {
  .metric-card { float: none; width: 48%; margin-right: 4%; margin-bottom: 12px; }
  .metric-card:nth-child(2n) { margin-right: 0; }
  .metric-card:nth-child(3n) { margin-right: 4%; }
  .module-item { float: none; width: 100%; margin-right: 0; }
  .cases-grid-c .case-card-c { float: none; width: 100%; margin-right: 0; }
  .cases-grid-c .case-card-c:nth-child(2n) { margin-right: 0; }
  .filter-search { width: 120px; }
  #cases-grid .case-card { float: none; width: 100%; margin-right: 0; }
}

/* ── cases-grid 自适应网格 ─────── */
#cases-grid {
  overflow: hidden;
  width: 100%;
}
#cases-grid .case-card {
  float: left;
  width: 31.333%;
  margin-right: 3%;
  margin-bottom: 16px;
}
#cases-grid .case-card:nth-child(3n) { margin-right: 0; }
@media (max-width: 991px) {
  #cases-grid .case-card { width: 48%; margin-right: 4%; }
  #cases-grid .case-card:nth-child(3n) { margin-right: 4%; }
  #cases-grid .case-card:nth-child(2n) { margin-right: 0; }
}
@media (max-width: 575px) {
  #cases-grid .case-card { float: none; width: 100%; margin-right: 0; }
}
