
/* 字体导入已移除，统一使用 Arial */
body {
    /* 字体统一为 Arial, "Helvetica Neue", Helvetica, sans-serif; */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
/* 外部背景色，与定制版块的白色背景区分开 */
}

/* 整个定制版块的背景色设置成白色 */
.custom-section {
    background-color: #ffffff;
padding: 30px 30px; /* 增加上下内边距 */
}

/* 标题样式 */
.section-title {
    text-align: center;
font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0f403f;
}

/* 内容容器 */
.content-grid {
    max-width: 1200px;
margin: 0 auto;
    display: grid;
    /* PC端的时候一排展示2个定制内容 */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
/* 卡片之间的间距 */
}

/* 单个定制内容卡片 */
.custom-item {
    display: flex;
background-color: #f5f5f5; /* 4个内容的背景色设置成【#f5f5f5】 */
    border-radius: 8px;
    overflow: hidden;
/* 确保内容在圆角内部 */
    /* box-shadow 投影效果已移除 */
    transition: none;
/* 移除过渡效果，确保没有动态变化 */
}

/* 鼠标悬停时的动态效果已移除 */
.custom-item:hover {
    /* transform 和 box-shadow 效果已移除，保持静态 */
}

/* 图片容器 */
.item-image {
    flex-shrink: 0;
/* 防止图片被压缩 */
    width: 50%;
/* 图片占据卡片的一半宽度 */
}

.item-image img {
    display: block;
width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个区域 */
    border-radius: 8px 0 0 8px;
/* 只有左侧有圆角 */
}

/* 文本内容区域 */
.item-text {
    flex-grow: 1;
padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-title {
    font-size: 18px;
font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.item-description {
    font-size: 14px;
line-height: 1.6;
    color: #7f8c8d;
}

/* 移动端适配：移动端的时候一排只展示一个定制内容 (堆叠布局) */
@media (max-width: 768px) {
    .custom-section {
        padding: 30px 15px;
}
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
}

    .content-grid {
        /* 移动端一排只展示一个 */
        grid-template-columns: 1fr;
gap: 20px;
    }

    .custom-item {
        /* 切换为图片在上，文字在下 */
        flex-direction: column;
}

    .item-image {
        width: 100%;
/* 图片占据整个宽度 */
        /* 移除 height: 200px;
*/
        /* 设置 1:1 比例 */
        aspect-ratio: 1 / 1;
/* 兼容性替代方案（可选，但在现代浏览器中推荐 aspect-ratio）：
                 * padding-top: 100%;
* height: 0;
                 * position: relative;
                 * img 需绝对定位 */
    }

    .item-image img {
        border-radius: 8px 8px 0 0;
/* 顶部圆角 */
    }

    .item-text {
        padding: 20px;
text-align: center;
    }

    .item-title {
        font-size: 20px;
}

    .item-description {
        font-size: 14px;
}
}
