/* liujiaoxing 移动端首页增量样式 — 本地预览/待部署 mobile_home.css */

/* 实力/业务：每屏 4 个（2x2） */
.m-business-wrap {
    padding-bottom: 0.6rem;
}

.m-business-wrap .i_index_title {
    /* 原标题下 ::before 蓝线（50×3px）需留出空间，原 service_list 有 margin-top:1rem */
    padding-bottom: 0.5rem;
}

.m-business-swiper {
    margin-top: 0.85rem;
    padding: 0 0.5rem 1.2rem;
    overflow: hidden;
}

.m-biz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: stretch;
}

.m-biz-card {
    background: #fff;
    border-radius: 0.25rem;
    padding: 0.5rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    /* 图标2.2 + 标题1.35 + 简介最多4行3.0 + 内边距1.0 ≈ 7.9rem */
    min-height: 8.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.m-biz-icon {
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    margin: 0 auto 0.35rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f8ff;
}

.m-biz-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-biz-card b {
    display: block;
    font-size: 0.62rem;
    color: #008cdc;
    text-align: center;
    line-height: 1.2rem;
    margin-bottom: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-biz-card p {
    font-size: 0.48rem;
    color: #666;
    line-height: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

.m-business-pagination {
    bottom: 0 !important;
}

.m-business-pagination .swiper-pagination-bullet-active {
    background: #008cdc;
}

/* 鲲穹AI 工具箱区块背景（同步 PC b_l/b_r） */
.m-kunqiong-wrap {
    background: #f3f9fe url(https://www.liujiaoxingjituan.com/template/fr/images/b_l.jpg) no-repeat left top;
    background-size: 28% auto;
    position: relative;
}

.m-kunqiong-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 28%;
    height: 100%;
    background: url(https://www.liujiaoxingjituan.com/template/fr/images/b_r.jpg) no-repeat right top;
    background-size: 100% auto;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}

.m-kunqiong-wrap > .i_index_title,
.m-kunqiong-wrap > .container {
    position: relative;
    z-index: 1;
}

/* KQBOT / CodePus / 工厂：上下结构 */
.m-section {
    width: 100%;
    padding: 0.5rem 0 0.8rem;
    box-sizing: border-box;
}

.m-section-kqbot {
    background: #fff;
}

.m-section-codepus {
    background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 55%, #f5fbff 100%);
}

.m-section-factory {
    background: #fff;
}

.m-section-main-img {
    display: block;
    width: calc(100% - 1rem);
    max-height: 7rem;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0.4rem auto 0.6rem;
}

/* CodePus 长方形 logo：宽度与下方 .m-feature-list 一致（左右各 0.5rem） */
.m-section-codepus .m-section-main-img {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    max-height: none;
    height: auto;
    margin: 0.4rem 0.5rem 0.6rem;
    object-fit: contain;
}

.m-feature-list {
    list-style: none;
    margin: 0 0.5rem;
    padding: 0;
}

.m-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    background: #fff;
    border-radius: 0.3rem;
    padding: 0.55rem;
    margin-bottom: 0.45rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.m-section-codepus .m-feature-list li {
    background: rgba(255, 255, 255, 0.92);
}

.m-sub-icon {
    flex: 0 0 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f6ff;
}

.m-sub-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-feature-body b {
    display: block;
    font-size: 0.65rem;
    color: #008cdc;
    margin-bottom: 0.2rem;
}

.m-feature-body p {
    font-size: 0.5rem;
    color: #555;
    line-height: 0.78rem;
}

.m-factory-desc {
    margin: 0 0.5rem 0.5rem;
    padding: 0.55rem;
    background: #f8fcff;
    border-radius: 0.3rem;
    text-align: center;
    font-size: 0.52rem;
    color: #444;
    line-height: 0.85rem;
}

.m-section-factory .m-section-main-img {
    margin-bottom: 0.35rem;
}

.m-factory-desc .hl {
    color: #008cdc;
    font-weight: bold;
    margin: 0.15rem 0;
}
