/* 与 index.css 统一的响应式主容器 */
body #pages-container {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 0;
    background: url(../images/i_head.jpg) no-repeat top center;
    background-size: 100% 30%;
    min-height: 100vh;
    touch-action: pan-y;
}

body .banner {
    height: 100%;
    box-sizing: border-box;
}

body .pagetitle {
    height: 5vh;
    width: 100%;
    color: #fff;
    font-size: .6rem;
    font-weight: 600;
    text-align: center;
    line-height: 15vh;
    margin-bottom: 2rem;
}

body .banner ul {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

body .banner ul li {
    float: left;
    list-style: none;
    width: 47%;
    height: auto;               /* 让高度自适应，或者设置 aspect-ratio */
    background-color: transparent;
    border: 0;
    margin-left: 0.2rem;
    margin-bottom: 0.4rem;
    border-radius: 0.3rem;
    aspect-ratio: 16 / 9;      /* 固定宽高比，防止变形，可根据图片比例调整 */
}

body .banner ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* 关键：保持比例，填满容器 */
    border-radius: 0.3rem;
}

/* 响应式微调（可选） */
@media screen and (min-width: 1024px) {
    body .banner ul {
        width: 85%;
    }
    body .banner ul li {
        width: 48%;
    }
}