/* ==========================================================================
3. 限制宽度的 Banner 轮播图区域 (非全屏)
========================================================================== */
.section1 {
    position: relative;
    width: 100%;
    height: 480px;
}

.Swiper1 {
    width: 100%;
    height: 100%;
}

/* 单个独立 Slide */
.Swiper1 .swiper-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    /* 删除原有背景图相关样式，避免遮挡img */
    background: transparent;
}

.hero-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border: none;
}

/* ========== 设备图片显隐控制核心 ========== */
/* PC端：强制显示PC图，隐藏手机图 */
.media_pc {
    display: block !important;
}
.media_phone {
    display: none !important;
}

/* 移动端阈值：768px 可自行修改 */
@media screen and (max-width: 768px) {
    .media_pc {
        display: none !important;
    }
    .media_phone {
        display: block !important;
    }
    /* 手机端banner高度适配 */
    .section1 {
        height: 240px;
    }
}

/* 轮播小圆点控制 */
.Swiper1 .swiper-pagination {
    position: absolute;
    bottom: 25px;
    right: 5%;
    left: auto;
    width: auto;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.Swiper1 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background-color 0.3s;
}

.Swiper1 .swiper-pagination-bullet-active {
    background-color: #ffffff;
}