/* 轮播响应式增强样式 */
.swiper {
    width: 100% !important;
    height: auto !important;
}

.swiper-container {
    width: 100% !important;
    height: 100vh !important;
    max-height: 800px !important;
    min-height: 400px !important;
    overflow: hidden !important;
}

.swiper-wrapper {
    width: 100% !important;
    height: 100% !important;
}

.swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.swiper-slide img {
    width: 100% !important;
    height: 100% !important;
}

/* 移除可能的硬编码宽度 */
.swiper-slide[style*="width"] {
    width: 100% !important;
}

/* 确保文本覆盖层正确显示 */
.swiper-slide .img-tip,
.swiper-slide .img-tip1,
.swiper-slide .img-small,
.swiper-slide .img-small_1,
.swiper-slide .img-small_11,
.swiper-slide .liaojie,
.swiper-slide .liaojie2 {
    z-index: 10 !important;
}

/* 合作伙伴logo优化 */
.liaojie2 .partner-logo {
    width: clamp(40px, 4vw, 70px) !important;
    height: clamp(40px, 4vw, 70px) !important;
    object-fit: contain !important;
    margin-right: clamp(15px, 2vw, 30px) !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

.liaojie2 .partner-logo:last-child {
    margin-right: 0 !important;
}

/* 宽屏优化 */
@media (min-width: 1920px) {
    .swiper-container {
        max-height: 1000px !important;
    }
    
    .liaojie2 .partner-logo {
        width: 80px !important;
        height: 80px !important;
        margin-right: 35px !important;
    }
}

/* 超宽屏优化 */
@media (min-width: 2560px) {
    .swiper-container {
        max-height: 1200px !important;
    }
    
    .liaojie2 .partner-logo {
        width: 90px !important;
        height: 90px !important;
        margin-right: 40px !important;
    }
}

/* 平板优化 */
@media (max-width: 1024px) {
    .swiper-container {
        height: 70vh !important;
        min-height: 350px !important;
    }
    
    .liaojie2 .partner-logo {
        width: 50px !important;
        height: 50px !important;
        margin-right: 20px !important;
    }
}

/* 手机优化 */
@media (max-width: 768px) {
    .swiper-container {
        height: 60vh !important;
        min-height: 300px !important;
    }
    
    .liaojie2 {
        display: none !important;
    }
}

/* 超小屏优化 */
@media (max-width: 480px) {
    .liaojie2 .partner-logo {
        width: 35px !important;
        height: 35px !important;
        margin-right: 10px !important;
    }
}

/* 防止轮播变形 */
.swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 20px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: rgba(255, 255, 255, 0.8) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: rgba(255, 255, 255, 1) !important;
}
