.banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* 移动端：较小高度 */
@media (max-width: 767px) {
    .banner-container {
        height: 250px;
    }
}

/* 平板端：中等高度 */
@media (min-width: 768px) and (max-width: 1023px) {
    .banner-container {
        height: 400px;
    }
}

/* 桌面端：保持500px高度 */
@media (min-width: 1024px) {
    .banner-container {
        height: 500px;
    }
}

.banner-image-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 移动端：按视口高度调整 */
@media (max-width: 767px) {
    .banner-image-wrapper {
        height: 250px;
    }
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 平板端：中等高度 */
@media (min-width: 768px) and (max-width: 1023px) {
    .banner-image-wrapper {
        height: 400px;
    }
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 桌面端：保持500px高度 */
@media (min-width: 1024px) {
    .banner-image-wrapper {
        height: 500px;
    }
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 桌面端背景图 - 默认显示 */
.banner-bg-desktop {
    display: block;
}

/* 移动端背景图 - 默认隐藏 */
.banner-bg-mobile {
    display: none;
}

/* 移动端显示移动端背景图，隐藏桌面端背景图 */
@media (max-width: 767px) {
    .banner-bg-desktop {
        display: none;
    }
    
    .banner-bg-mobile {
        display: block;
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(18, 50, 113, 0.7);
}