/* 自定义css样式 */

.indexMainChild1{
    display:flex;
    margin: 0 auto;
    min-width: 1280px;
    max-width: 1440px;
}


/* 轮播图容器样式 */
.DivSwiper .comBox {
    width: 100%; /* 根据需要调整宽度 */
    max-width: 800px; /* 可设置最大宽度 */
    margin: 0 auto; /* 居中 */
    overflow: hidden;
}

/* Swiper滑块 */
.DivSwiper .swiper-container {
    width: 100%;
    height: 400px; /* 设置轮播图高度 */
}

.DivSwiper .swiper-slide {
    position: relative; 
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* 图片自动缩放适配 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.DivSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片按比例填充 */
}

/* 可选：自定义分页器样式 */
.DivSwiper .swiper-pagination-bullet {
    background: #999;
    opacity: 0.7;
}

.DivSwiper .swiper-pagination-bullet-active {
    background: #333;
}

/* 图片标题样式 */
.DivSwiper .slide-title {
    position: absolute; /* 保持绝对定位 */
    bottom: 0; /* 修改为紧贴图片底部 */
    left: 0; /* 修改为左对齐 */
    width: 100%; /* 修改为标题宽度与图片一致 */
    color: white; /* 保留白色文字 */
    font-size: 16px; /* 保留字体大小 */
    font-weight: bold; /* 保留加粗文字 */
    text-align: center; /* 保留文字居中 */
    background-color: rgba(0, 0, 0, 0.5); /* 保留半透明黑色背景 */
    padding: 10px 0; /* 保留上下内边距 */
    box-sizing: border-box; /* 确保内边距不影响宽度 */
}

/* 底部二维码图片补充样式 */
.box.boxs.fl.fc13.txr img {
    width: 96px; /* 例如：调整宽度 */
    height: auto; /* 让高度自动适配 */
}
