/* ============================================================
   大同和平 · 私人定制页 增强样式
   位置：usertpl/cl_st15578_m189_customize/css/custom-ext.css
   说明：思途升级不覆盖 usertpl 目录；如需还原，删掉本文件与模板即可。
   作用域全部限定在 .custom-content / .custom-case 内，不影响其他页面。
   ============================================================ */

/* ---------- 白卡叠在 banner 下沿（原厂设计：margin-top:-80px） ----------
   原厂只给了负边距，没有背景和层级，导致标题压在 banner 图上；
   这里补上不透明白底 + 层级，让卡片真正“浮”在 banner 上方。 */
.custom-content{
    position:relative;
    z-index:2;
    background:#fff;
}

/* ---------- 表单区块清浮动 ----------
   原厂 .block-content ul 里的 li 是浮动的，父级没清浮动，
   导致 step2 的蓝色标题带压进 step1 的字段中间。 */
.custom-content .block-content{position:relative;}
.custom-content .block-content ul::after{content:"";display:block;clear:both;}

/* ---------- 4 张特色卡（原厂模板缺样式，这里补齐） ---------- */
.custom-content .custom-super{padding:26px 0 6px;}
.custom-content .custom-super ul{display:flex;gap:18px;margin:0;padding:0;list-style:none;}
.custom-content .custom-super li{
    flex:1;list-style:none;background:#f6fafd;border:1px solid #e1edf7;
    border-radius:10px;padding:18px 14px;text-align:center;
    box-shadow:0 1px 4px rgba(20,90,150,.04);
}
.custom-content .custom-super li strong{
    display:block;font-size:19px;font-weight:700;color:#0d6fbd;
    margin:0 0 8px;line-height:1.2;
}
.custom-content .custom-super li span{font-size:13px;color:#7b8794;line-height:1.75;}

/* ---------- 优秀定制方案 ---------- */
.custom-case{padding:56px 0 48px;background:#f4f8fc;}
.custom-case .case-tit{
    text-align:center;font-size:32px;font-weight:700;color:#16324a;
    margin:0;line-height:1.3;
}
.custom-case .case-tit:after{
    content:"";display:block;width:48px;height:3px;background:#0d6fbd;
    border-radius:2px;margin:14px auto 0;
}
.custom-case .slide-case{padding-top:34px;}
.custom-case .slide-bd{height:auto;overflow:visible;}
.custom-case .slide-bd ul{
    display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
    width:1200px;max-width:100%;margin:0 auto;padding:0;list-style:none;
}
/* clearfix 的 ::before / ::after 在 grid 里会变成两个隐形格子，
   导致第一格空掉、最后一格多出来 —— 必须去掉。 */
.custom-case .slide-bd ul::before,
.custom-case .slide-bd ul::after{content:none;display:none;}
.custom-case .slide-bd li{
    float:none;width:auto;height:auto;margin:0;background:#fff;
    border-radius:10px;overflow:hidden;
    box-shadow:0 2px 10px rgba(20,70,120,.08);
    transition:transform .22s ease,box-shadow .22s ease;
}
.custom-case .slide-bd li:hover{
    transform:translateY(-4px);box-shadow:0 12px 28px rgba(20,70,120,.16);
}
.custom-case .slide-bd li .con{display:block;height:auto;text-decoration:none;}
.custom-case .slide-bd .con .pic{display:block;width:100%;height:196px;background:#eaf1f7;}
.custom-case .slide-bd .con .pic img{display:block;width:100%;height:196px;object-fit:cover;}
.custom-case .slide-bd .con .bt{
    height:auto;margin:0;padding:16px 18px 6px;font-size:16px;
    font-weight:600;color:#1b2b3a;line-height:1.5;
}
.custom-case .slide-bd .con .info{padding:0 18px 4px;line-height:1.7;}
.custom-case .slide-bd .con .info span{font-size:13px;color:#8894a2;}
.custom-case .slide-bd .con .info.clearfix{padding-bottom:18px;}
.custom-case .slide-bd li a:hover .bt{color:#0d6fbd;}

/* ---------- 响应式 ---------- */
@media (max-width:1240px){
    .custom-case .slide-bd ul{width:auto;padding:0 18px;}
}
@media (max-width:900px){
    .custom-case .slide-bd ul{grid-template-columns:repeat(2,1fr);}
    .custom-content .custom-super ul{flex-wrap:wrap;}
    .custom-content .custom-super li{flex:none;width:calc(50% - 9px);}
}
@media (max-width:600px){
    .custom-case .slide-bd ul{grid-template-columns:1fr;}
    .custom-content .custom-super li{width:100%;}
}
