.banner {
    width: 100%;
    position: relative;
}

.focus {
    width: 100%;
    height: 500px;  /* 新增：设置明确高度 */
    position: relative;
    zoom: 1;
    overflow: hidden;
    z-index: 99;
}

.f426x240, .f160x160 {
    width: 100%;
    height: 100%;  /* 新增：继承父元素高度 */
    overflow: hidden;
    z-index: 99;
}

.rslides li {
    width: 100%;
    height: 100%;  /* 新增：继承父元素高度 */
    float: left;
    /* display: none;  ← 注释掉这行，让JS控制显示 */
    z-index: 1;  /* 修改：降低z-index */
    position: relative;  /* 新增：相对定位 */
}

/* 新增：确保第一个幻灯片默认显示 */
.rslides li:first-child {
    display: block !important;
}

.rslides li img {
    z-index: 9999;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 新增：保持比例填充 */
}

.rslides {
    width: 100%;
    height: 100%;  /* 新增：继承父元素高度 */
    position: relative;
    z-index: 99;
    margin: 0 auto;
}

/* ========== 以下保持原样，不修改 ========== */
.rslides_nav {
    height: 51px;
    width: 31px;
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    top: 50%;
    left: 0;
    opacity: 0.5;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    display: none;
}

.rslides_nav:active {
    opacity: 1.0;
}

.rslides_nav.next {
    left: auto;
    right: 0;
}

.rslides_tabs {
    text-align: center;
    position: absolute;
    bottom: 30px;
    z-index: 99;
    left: 0%;
    width: 100%;
}

.rslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin: 0 5px;
}

.rslides_tabs a {
    margin-top: 0px;
    text-indent: 9999px;
    overflow: hidden;
    background: #fffbf3;
    display: inline-block;
    _display: block;
    *display: block;
    width: 16px;
    height: 16px;
    z-index: 999;
    *z-index: 999;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.rslides_tabs .rslides_here a {
    background-color: #271f6a;
}

.banner .prev {
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: -42px;
    background: url(../images/nimg84_left.png) center no-repeat;
    z-index: 222;
    width: 84px;
    height: 84px;
    display: block;
}

.banner .next {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -42px;
    background: url(../images/nimg84_right.png) center no-repeat;
    z-index: 222;
    width: 84px;
    height: 84px;
    display: block;
}

.banner .txt1 {
    position: absolute;
    left: 50%;
    margin-left: -700px;
    top: 20%;
    font-size: 72px;
    color: #000;
}

.banner .txt2 {
    position: absolute;
    left: 50%;
    margin-left: -700px;
    top: 30%;
    font-size: 48px;
    color: #000;
}

.banner .txt3 {
    position: absolute;
    left: 50%;
    margin-left: -363px;
    top: 30%;
    font-size: 72px;
    color: #fff;
}

.banner .txt4 {
    position: absolute;
    left: 50%;
    margin-left: -216px;
    top: 40%;
    font-size: 48px;
    color: #fff;
}

.banner .txt5 {
    position: absolute;
    right: 50%;
    margin-right: -700px;
    top: 20%;
    font-size: 72px;
    color: #fff;
}

.banner .txt6 {
    position: absolute;
    right: 50%;
    margin-right: -700px;
    top: 30%;
    font-size: 48px;
    color: #fff;
}

.banner .txt7 {
    position: absolute;
    left: 50%;
    margin-left: -340px;
    top: 20%;
    font-size: 72px;
    color: #000;
}

/* ========== 视频容器样式（新增）========== */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
}

.video-container img.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ba_div {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    z-index: 10;
    pointer-events: none;
}

.ba_div * {
    pointer-events: auto;
}

.ba_div h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ba_div p {
    font-size: 18px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .focus {
        height: 250px;
    }
    
    .ba_div {
        padding: 15px 20px;
    }
    
    .ba_div h3 {
        font-size: 20px !important;
    }
    
    .ba_div p {
        font-size: 14px !important;
    }
}