/* ============================================================
   合作案例新版样式 · 方案 D：案例 + 行业应用 + 实拍相册 · 2026-10-14
   深蓝 Banner + 精选案例（一排三个） + 六大行业应用 + 生产实拍 + 收尾横幅
   仅作用于 .ca-page 容器，不影响站内其他页面
   ============================================================ */

.ca-page,
.ca-page *,
.ca-page *:before,
.ca-page *:after { -webkit-box-sizing: border-box; box-sizing: border-box; }

/* 头部滚动压缩时左浮动 logo/标语会溢出压到下一个 block 上，clear 免疫 */
.ca-page { clear: both; background: #f4f6fa; }

.ca-wrap { width: 1430px; max-width: 100%; margin: 0 auto; padding: 0 15px; }
.ca-page a { text-decoration: none; }
.ca-page ul, .ca-page li { list-style: none; margin: 0; padding: 0; }
.ca-page img { max-width: 100%; border: 0; }
.ca-page h1, .ca-page h3, .ca-page h4 { font-weight: 600; }

/* ---------------- Banner ---------------- */
.ca-banner {
    position: relative;
    overflow: hidden;
    padding: 56px 0 52px;
    background: #021a40;
    background-image: -webkit-linear-gradient(300deg, #021a40 0%, #022a6e 70%, #023793 135%);
    background-image: linear-gradient(160deg, #021a40 0%, #022a6e 70%, #023793 135%);
}
.ca-banner .glow {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background:
        -webkit-radial-gradient(ellipse 55% 80% at 88% 0%, rgba(4, 80, 194, .45), transparent 60%),
        -webkit-radial-gradient(ellipse 40% 70% at 4% 100%, rgba(247, 196, 51, .10), transparent 55%);
    background:
        radial-gradient(ellipse 55% 80% at 88% 0%, rgba(4, 80, 194, .45), transparent 60%),
        radial-gradient(ellipse 40% 70% at 4% 100%, rgba(247, 196, 51, .10), transparent 55%);
    z-index: 2;
}
.ca-banner .ca-wrap { position: relative; z-index: 3; }
.ca-banner em {
    display: block;
    font-style: normal;
    color: #f7c433;
    font-size: 11px;
    letter-spacing: 5px;
    line-height: 1.4;
}
.ca-banner h1 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 33px;
    font-weight: 600;
    letter-spacing: 9px;
    line-height: 1.3;
}
.ca-banner .sell {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13.5px;
    letter-spacing: 1px;
    line-height: 1.8;
}
.ca-banner .sell b { color: #f7c433; font-weight: 600; }

/* 面包屑：标题右侧，与标题文字底部（基线）对齐 */
.ca-crumbs {
    display: inline-block;
    margin-left: 22px;
    vertical-align: baseline;
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, .62);
    letter-spacing: .5px;
    line-height: 1;
    white-space: nowrap;
}
.ca-crumbs a { color: rgba(255, 255, 255, .62); -webkit-transition: color .2s; transition: color .2s; }
.ca-crumbs a:hover { color: #f7c433; }
.ca-crumbs i { font-style: normal; margin: 0 7px; color: rgba(255, 255, 255, .38); }
.ca-crumbs em { display: inline; font-style: normal; font-weight: 400; color: #fff; }

/* ---------------- 主体 ---------------- */
.ca-body { padding: 52px 0 56px; }

/* 小节标题 */
.ca-sec-h {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6ebf3;
}
.ca-sec-h b {
    font-size: 21px;
    font-weight: 600;
    color: #17243c;
    letter-spacing: 2px;
}
.ca-sec-h b i {
    font-style: normal;
    color: #f0a800;
    margin-right: 9px;
}
.ca-sec-h .sub {
    font-size: 12.5px;
    color: #98a4b6;
    letter-spacing: .5px;
}
.ca-sec-h .sub a { color: #023793; }

.ca-block { margin-bottom: 48px; }

/* ---------------- 精选案例（一排三个 · 上图下文卡片） ---------------- */
.ca-cases {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 22px;
}
.ca-case {
    display: block;
    background: #fff;
    border: 1px solid #d8e1f0;
    border-radius: 12px;
    overflow: hidden;
    -webkit-transition: all .24s;
    transition: all .24s;
}
.ca-case:hover {
    border-color: #b9cdf2;
    -webkit-box-shadow: 0 10px 24px rgba(2, 55, 147, .10);
    box-shadow: 0 10px 24px rgba(2, 55, 147, .10);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}
/* 3 列下末尾落单（第 1、4、7……张）占满整行（图左文右横卡），避免右侧留白 */
.ca-case:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.ca-case:last-child:nth-child(3n+1) .img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    padding-top: 0;
    min-height: 248px;
}
.ca-case:last-child:nth-child(3n+1) .txt {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 26px 30px 28px;
}
.ca-case:last-child:nth-child(3n+1) h3 { font-size: 20px; height: auto; }
.ca-case .img {
    display: block;
    position: relative;
    /* 案例封面原图均为 640×480（4:3），图区按 4:3 出 → 原比例零裁切、零留白 */
    aspect-ratio: 4 / 3;
    padding-top: 75%;
    background: no-repeat center / cover #eef1f7;
}
@supports (aspect-ratio: 4 / 3) {
    .ca-case .img { padding-top: 0; }
}
.ca-case .img .badge {
    position: absolute;
    left: 0; top: 0;
    background: #f7c433;
    color: #4a3700;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 26px;
    padding: 0 13px;
    border-radius: 0 0 8px 0;
}
.ca-case .img .logo-mask {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 46%;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .34));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .34));
}
.ca-case .txt {
    padding: 22px 24px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.ca-case .tag {
    -ms-flex-item-align: start;
    align-self: flex-start;
    display: inline-block;
    font-size: 12px;
    line-height: 22px;
    color: #023793;
    background: #e8f0ff;
    padding: 0 10px;
    border-radius: 3px;
}
.ca-case h3 {
    margin: 11px 0 0;
    font-size: 17.5px;
    line-height: 1.45;
    color: #17243c;
    letter-spacing: .3px;
    height: 51px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ca-case h3 a { color: #17243c; }
.ca-case h3 a:hover { color: #023793; }
.ca-case .rows { margin: 18px 0 0; display: grid; gap: 11px; }
.ca-case .rows .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #4c5b73;
}
.ca-case .rows .row em {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 74px;
    flex: 0 0 74px;
    width: 74px;
    font-style: normal;
    color: #98a4b6;
}
.ca-case .rows .row span { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.ca-case .ops { margin-top: auto; padding-top: 22px; }
.ca-case .ops a {
    display: inline-block;
    min-width: 132px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 40px;
    border-radius: 4px;
    background: #023793;
    color: #fff;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ca-case .ops a:hover { background: #0246b8; }

/* ---------------- 六大行业应用 ---------------- */
.ca-inds {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.ca-ind {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    padding: 26px 18px 24px;
    text-align: center;
    -webkit-transition: all .24s;
    transition: all .24s;
}
.ca-ind:hover {
    border-color: #c9d9f2;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 20px rgba(2, 55, 147, .09);
    box-shadow: 0 8px 20px rgba(2, 55, 147, .09);
}
.ca-ind .ic {
    width: 52px; height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #eaf1fc;
    color: #023793;
    font-size: 23px;
    line-height: 52px;
    -webkit-transition: all .24s;
    transition: all .24s;
}
.ca-ind:hover .ic { background: #023793; color: #f7c433; }
.ca-ind p { margin: 0; font-size: 13.5px; color: #3d4c64; letter-spacing: .5px; }
.ca-ind em {
    display: block;
    margin-top: 5px;
    font-style: normal;
    font-size: 11.5px;
    color: #a3aebd;
    line-height: 1.5;
}

/* ---------------- 生产实拍 ---------------- */
.ca-album {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.ca-pic {
    display: block;
    position: relative;
    padding-top: 75%;
    border-radius: 8px;
    overflow: hidden;
    background: no-repeat center / cover #eef1f7;
    border: 1px solid #e3e9f1;
}
.ca-pic::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 58%;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
    -webkit-transition: all .3s;
    transition: all .3s;
}
.ca-pic span {
    position: absolute;
    left: 14px; right: 14px; bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 13.5px;
    letter-spacing: .5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ca-pic:hover::after { background: -webkit-linear-gradient(top, rgba(2, 55, 147, .05), rgba(2, 55, 147, .72)); background: linear-gradient(180deg, rgba(2, 55, 147, .05), rgba(2, 55, 147, .72)); }

/* ---------------- 收尾横幅 ---------------- */
.ca-close {
    background: #021a40;
    background-image: -webkit-linear-gradient(160deg, #021a40 0%, #022a6e 70%, #023793 135%);
    background-image: linear-gradient(160deg, #021a40 0%, #022a6e 70%, #023793 135%);
    border-radius: 10px;
    padding: 62px 56px;
    margin-top: 40px;
}
.ca-close .in {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 36px;
}
.ca-close h3 {
    margin: 0;
    font-size: 25px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.4;
}
.ca-close h3 span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, .72);
    letter-spacing: .5px;
}
.ca-close .btns {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
}
.ca-close .btns a {
    display: inline-block;
    min-width: 148px;
    text-align: center;
    font-size: 15.5px;
    letter-spacing: 1px;
    line-height: 50px;
    border-radius: 5px;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ca-close .btns .ask { background: #f7c433; color: #3a2c00; font-weight: 700; }
.ca-close .btns .ask:hover { background: #ffd35e; }
.ca-close .btns .tel { border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.ca-close .btns .tel:hover { border-color: #f7c433; color: #f7c433; }

/* ---------------- 响应式 ---------------- */
@media screen and (max-width: 1024px) {
    .ca-banner h1 { font-size: 28px; letter-spacing: 6px; }
    .ca-cases { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    /* 2 列布局：先撤销 3 列落单样式（3n+1） */
    .ca-case:last-child:nth-child(3n+1) { grid-column: auto; display: block; }
    .ca-case:last-child:nth-child(3n+1) .img { -ms-flex-preferred-size: auto; flex-basis: auto; min-height: 0; padding-top: 75%; }
    .ca-case:last-child:nth-child(3n+1) .txt { padding: 16px 18px 18px; }
    .ca-case:last-child:nth-child(3n+1) h3 { font-size: 17.5px; height: 51px; }
    /* 2 列下末尾落单（奇数张的最后一张）占满整行 */
    .ca-case:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .ca-case:last-child:nth-child(odd) .img { -webkit-box-flex: 0; -ms-flex: 0 0 42%; flex: 0 0 42%; padding-top: 0; min-height: 230px; }
    .ca-case:last-child:nth-child(odd) .txt { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; padding: 18px 20px; }
    .ca-case:last-child:nth-child(odd) h3 { font-size: 18.5px; height: auto; }
    .ca-case .txt { padding: 16px 18px 18px; }
    .ca-case h3 { font-size: 17.5px; height: 51px; }
    .ca-inds { grid-template-columns: repeat(3, 1fr); }
    .ca-album { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 767px) {
    .ca-banner { padding: 26px 0 24px; }
    .ca-banner em { font-size: 10px; letter-spacing: 3px; }
    .ca-banner h1 { font-size: 22px; letter-spacing: 4px; }
    .ca-banner .sell { font-size: 12px; margin-top: 10px; }
    .ca-crumbs { display: none; }
    .ca-body { padding: 20px 0 28px; }
    .ca-block { margin-bottom: 28px; }
    .ca-sec-h { margin-bottom: 14px; padding-bottom: 10px; }
    .ca-sec-h b { font-size: 17px; letter-spacing: 1px; }
    .ca-sec-h .sub { display: none; }

    /* 手机两列：一排两个（2026-10-24） */
    .ca-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
    /* 卡片撑满整行高度，操作按钮统一贴底 */
    .ca-case { border-radius: 8px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    /* 桌面的 3 列落单规则在手机端作废 */
    .ca-case:last-child:nth-child(3n+1) { grid-column: auto; display: -ms-flexbox; display: flex; }
    .ca-case:last-child:nth-child(3n+1) .img { -ms-flex-preferred-size: auto; flex-basis: auto; padding-top: 75%; min-height: 0; }
    /* 奇数张时最后一张通栏（上图下文，保持 4:3 不裁图），右侧不留大空洞 */
    .ca-case:last-child:nth-child(odd) { grid-column: 1 / -1; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .ca-case:last-child:nth-child(odd) .img { -ms-flex: 0 0 auto; flex: 0 0 auto; aspect-ratio: 4 / 3; padding-top: 75%; min-height: 0; }
    .ca-case:last-child:nth-child(odd) .txt { -ms-flex-preferred-size: auto; flex: 1 1 auto; min-width: 0; padding: 12px 12px 14px; }
    .ca-case:last-child:nth-child(odd) h3 { font-size: 15px; height: 42px; }
    .ca-case:last-child:nth-child(odd) .tag { font-size: 11px; line-height: 20px; }
    .ca-case:last-child:nth-child(odd) .rows .row { font-size: 12.5px; min-height: 0; }
    .ca-case:last-child:nth-child(odd) .rows .row em { -ms-flex-preferred-size: 52px; flex-basis: 52px; width: 52px; font-size: 12px; }
    .ca-case:last-child:nth-child(odd) .ops a { line-height: 34px; font-size: 13px; }
    .ca-case .img { padding-top: 75%; }
    /* 两列封面只有 130 高，左上角徽标会压住封面顶部的品牌字（PHILIPS / HUAWEI…）
       → 挪到左下角，压在渐隐区上，品牌字完整可读 */
    .ca-case .img .badge { top: auto; bottom: 0; left: 0; font-size: 9.5px; line-height: 19px; padding: 0 7px; letter-spacing: .8px; border-radius: 0 6px 0 6px; }
    .ca-case .txt { padding: 10px 10px 12px; -ms-flex-preferred-size: auto; flex: 1 1 auto; }
    .ca-case .tag { font-size: 10.5px; line-height: 18px; padding: 0 6px; }
    .ca-case h3 { font-size: 13px; height: 37px; line-height: 1.42; margin-top: 7px; letter-spacing: 0; }
    .ca-case .rows { margin-top: 8px; gap: 4px; }
    /* 每行统一按「两行文字」高度，三行标签横向对齐、卡片高度一致 */
    .ca-case .rows .row { font-size: 11px; line-height: 1.55; gap: 5px; min-height: 36px; }
    .ca-case .rows .row em { -ms-flex-preferred-size: 46px; flex-basis: 46px; width: 46px; font-size: 11px; white-space: nowrap; }
    .ca-case .ops { padding-top: 9px; margin-top: auto; }
    .ca-case .ops a { display: block; width: 100%; min-width: 0; line-height: 30px; font-size: 12px; letter-spacing: 0; border-radius: 4px; }

    .ca-inds { gap: 9px; }
    .ca-ind { padding: 13px 6px 12px; border-radius: 7px; }
    .ca-ind .ic { width: 40px; height: 40px; font-size: 18px; line-height: 40px; margin-bottom: 8px; }
    .ca-ind p { font-size: 12px; }
    .ca-ind em { font-size: 10.5px; }

    .ca-album { gap: 9px; }
    .ca-pic { border-radius: 7px; }
    .ca-pic span { left: 10px; right: 10px; bottom: 9px; font-size: 12px; }

    .ca-close { padding: 30px 20px; border-radius: 8px; }
    .ca-close .in { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; gap: 16px; }
    .ca-close h3 { font-size: 18.5px; }
    .ca-close h3 span { font-size: 12.5px; margin-top: 6px; }
    .ca-close .btns { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 10px; }
    .ca-close .btns a { width: 100%; min-width: 0; line-height: 42px; font-size: 14px; }
}

/* 超窄屏（≤359，320/360 老机型）：两列再紧一档，防止 4 字标签与文案挤压 */
@media screen and (max-width: 359px) {
    .ca-cases { gap: 8px; }
    .ca-case .txt,
    .ca-case:last-child:nth-child(3n+1) .txt,
    .ca-case:last-child:nth-child(odd) .txt { padding: 9px 8px 10px; }
    .ca-case h3,
    .ca-case:last-child:nth-child(3n+1) h3,
    .ca-case:last-child:nth-child(odd) h3 { font-size: 12px; height: 34px; }
    .ca-case .tag { font-size: 10px; line-height: 17px; padding: 0 5px; }
    .ca-case .rows .row { font-size: 11px; gap: 4px; min-height: 34px; }
    .ca-case .rows .row em { -ms-flex-preferred-size: 42px; flex-basis: 42px; width: 42px; font-size: 10.5px; }
    .ca-case .ops a { line-height: 28px; font-size: 11.5px; }
}
