/* 轮播图样式优化 - 确保完美展示1300*520图片 */
.banner-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.banner-container .flexslider {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.banner-container .flexslider .slides {
    width: 100%;
}

.banner-container .flexslider .slides li {
    width: 100%;
    position: relative;
    line-height: 0;
}

.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 1300 / 520;
}

/* 覆盖原有的flexslider样式限制 */
.banner-container .flexslider .slides img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 确保flexslider容器宽度100% */
.banner-container .flex-viewport {
    width: 100% !important;
}

/* 响应式调整 */
@media screen and (max-width: 1300px) {
    .banner-image {
        aspect-ratio: auto;
        min-height: auto;
    }
}

@media screen and (max-width: 768px) {
    .banner-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}