/* 案例展示 - 信创生态案例卡片列表页（卡片样式参照益泰平台官网案例展示页） */
/* 页面框架（banner/左侧菜单/分页）沿用 product-service.css，本文件只定义案例卡片 */

.product-service .body .right .case-body {
    display: flex;
    flex-direction: column;
}

/* 单条案例卡片：左图右文，整卡可点 */
.product-service .body .right .case-body .case-card {
    display: flex;
    background: #F8FAFD;
    margin-bottom: 46px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow .3s, background .3s;
}

.product-service .body .right .case-body .case-card:hover {
    box-shadow: 0px 0px 10px 1px #999999;
    background: #DEEDF8;
}

/* 左侧封面图（悬停时图片右侧圆角，与平台官网一致） */
/* 宽度按卡片 52.9% 比例（1200 设计稿下 420px），显示比例 420×256（约1.64:1，介于3:2与16:9的折中比例，与益泰官网案例图框一致） */
.product-service .body .right .case-body .case-card .case-left {
    width: 52.9%;
    height: 256px;
    flex-shrink: 0;
    overflow: hidden;
}

/* fill 拉伸铺满：任意比例图片都完整显示；比例不一致时轻微拉伸变形（最大约9%，与益泰官网相同观感） */
.product-service .body .right .case-body .case-card .case-left img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: border-radius .3s;
}

.product-service .body .right .case-body .case-card:hover .case-left img {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

.product-service .body .right .case-body .case-card .case-left .case-image-empty {
    width: 100%;
    height: 100%;
    background: #E9EEF5;
}

/* 右侧文字区 */
.product-service .body .right .case-body .case-card .case-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.product-service .body .right .case-body .case-card .case-right .case-right-cent {
    position: relative;
    z-index: 1;
    padding: 36px 34px 36px 40px;
}

/* 案例标题 */
.product-service .body .right .case-body .case-card .case-title {
    font-size: 20px;
    line-height: 28px;
    color: #333333;
    font-family: MicrosoftYaHei;
    font-weight: bold;
}

/* 案例摘要：最多 3 行省略 */
.product-service .body .right .case-body .case-card .case-info {
    margin-top: 16px;
    font-size: 14px;
    color: #4E555F;
    font-family: MicrosoftYaHei;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    overflow: hidden;
    word-break: break-all;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* 了解更多 + 箭头装饰线 */
.product-service .body .right .case-body .case-card .case-more {
    display: flex;
    align-items: center;
}

.product-service .body .right .case-body .case-card .case-more .case-some {
    font-size: 16px;
    color: #1AA2EC;
}

.product-service .body .right .case-body .case-card .case-more img {
    width: 64px;
    height: 8px;
    margin-left: 7px;
}

/* 右下角大号渐隐编号（01/02…，作为卡片水印） */
.product-service .body .right .case-body .case-card .case-num {
    width: 100%;
    height: 230px;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    color: rgba(202, 218, 238, 0);
    font-family: MicrosoftYaHei;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    font-size: 180px;
    background: linear-gradient(to bottom, rgba(202, 218, 238, 0.48), rgba(202, 218, 238, 0.08));
    background-clip: text;
    -webkit-background-clip: text;
}

/* 窄屏：切换为上图下文（900px 即切换，避免右侧文字被挤成单字换行） */
@media (max-width: 900px) {
    .product-service .body .right .case-body .case-card {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .product-service .body .right .case-body .case-card .case-left {
        width: 100%;
        height: 180px;
    }

    /* 窄屏整幅宽图 fill 会严重拉伸变形，恢复 cover 裁剪 */
    .product-service .body .right .case-body .case-card .case-left img {
        object-fit: cover;
    }

    .product-service .body .right .case-body .case-card .case-right .case-right-cent {
        padding: 16px;
    }

    .product-service .body .right .case-body .case-card .case-title {
        font-size: 16px;
        line-height: 22px;
    }

    .product-service .body .right .case-body .case-card .case-info {
        margin-top: 10px;
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 20px;
        -webkit-line-clamp: 3;
    }

    .product-service .body .right .case-body .case-card .case-num {
        height: 110px;
        font-size: 90px;
    }
}
