/* Case page shell: vancheer first screen + symansbon grid */
body{background:#fff}

.vc .caseBanner .bg img{display:block}
.vc .caseBanner .info .inner{width:100%}

/* vancheer header logo keeps its own ratio */
.vc .headDiv .logo img{width:200px;height:auto}

/* symansbon grid spacing under the banner */
.sm-case{padding:76px 0 96px}
@media (max-width:1024px){.sm-case{padding:56px 0 72px}}
@media (max-width:768px){.sm-case{padding:40px 0 56px}}

/* keep the lower site sections clear of the removed header */
.inner-page main > .inner-section:first-of-type{margin-top:0}

/* site reset max-width collapses absolutely positioned header logo */
.vc .headDiv .logo{width:200px;height:50px}
.vc .headDiv .logo img{max-width:none}
.vc .caseBanner .cn b{color:#fff}

/* symansbon reveals cards through JS; keep the markup, reveal with CSS */
.sm .case-item .item[show-textd]{opacity:1;transform:none}

/* symansbon grid container is .inner width:92% */
/* 1204 按需求：两侧留白收窄，卡片放大。92% -> 96%，
   1600 屏左右各 64px -> 32px，单卡 481 -> 约 505 */
.sm-case .inner1600{width:96%}

/* 卡片封面换成实拍图后，默认态常显案例名；hover 时让位给原有分类标签层 */
.sm .case-item .item::before{
  content:attr(data-name);
  position:absolute;
  left:0;right:0;bottom:0;
  padding:calc(var(--s)*5.6) calc(var(--s)*1.8) calc(var(--s)*1.4);
  background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.44) 40%,rgba(0,0,0,.86));
  color:#fff;
  font-size:calc(var(--s)*1.8);
  font-weight:600;
  letter-spacing:.02em;
  line-height:1.4;
  text-shadow:0 1px 8px rgba(0,0,0,.65),0 1px 2px rgba(0,0,0,.5);
  z-index:2;
  pointer-events:none;
  transition:opacity .3s ease;
}
.sm .case-item .item1::before{font-size:calc(var(--s)*2.6);font-weight:600}
.sm .case-item .item:hover::before{opacity:0}
@media (max-width:1181px){
  .sm .case-item .item::before{padding:calc(var(--s)*2.6) calc(var(--s)*1.2) calc(var(--s)*1);font-size:calc(var(--s)*1.3)}
  .sm .case-item .item1::before{font-size:calc(var(--s)*1.8)}
}

/* 1204：案例列表卡片容器原为 1160:924（1.26），而封面图多为 3:2 / 8:5。
   cover 会把左右各裁 17%~21%，落在侧边的客户 logo 直接被切掉。
   改成 3:2 与封面图同比例，图完整、logo 不再丢。 */
.sm .case-item .item{aspect-ratio:3 / 2}
