
.banner{
    width: 100%;
    overflow: hidden;
}
.banner .swiper-container {
    height: auto;
}
.banner .swiper-slide {
    height: auto;
    overflow: hidden;
}
.banner .swiper-button-prev, .banner .swiper-button-next{
    color: #ffffff;
    z-index: 99999999;
}
.banner-section-bg{
    height: 600px;
    width:100%;
    background-position:center center;
    background-size: 100% 100%;
    filter: blur(50px);
    position: absolute;
    z-index: -1;
    left:0;
    top:0;
}
.banner-section {
    height: auto;
    position: relative;
    overflow: hidden;
    display: block;
}

.banner-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

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

.banner-bg-mobile {
    display: none;
}

.banner-section .layui-container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.banner-section-left .layui-container{
    justify-content: flex-end;
    text-align: right;
}
.banner-section-right .layui-container{
    justify-content: flex-end;
    text-align: right;
}
.banner-section-center .layui-container{
    justify-content: center;
    text-align: center;
}

.banner-section .banner-content {
    max-width: 500px;
    color: #000;
}

.banner-section .banner-badge {
    margin-bottom: 20px;
    font-size: 14px;
}

.banner-section .banner-title {
    font-size: 36px;
    font-weight: 200;
    margin-bottom: 20px;
    white-space: nowrap
}

.banner-section .banner-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner-section .banner-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.banner-section-left .banner-btns{
    justify-content: flex-start;
}
.banner-section-center .banner-btns{
    justify-content: center;
}
.banner-section-right .banner-btns{
    justify-content: flex-end;
}

.banner-section .banner-btns .layui-btn{
    border-radius: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .banner .swiper-container {
        height: auto;
    }
    .banner .swiper-slide {
        height: auto;
    }
    .banner-section {
        height: auto;
        min-height: auto;
        display: block;
        background: none;
    }
    .banner-bg-mobile {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 56%;  /* 16:9 比例 */
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
    }
    /* position=1: 图片主要区域在右边，移动端显示右边 */
    .banner-section-left .banner-bg-mobile {
        background-position: right center;
    }
    /* position=2: 图片主要区域在左边，移动端显示左边 */
    .banner-section-right .banner-bg-mobile {
        background-position: left center;
    }
    /* position=3: 居中显示 */
    .banner-section-center .banner-bg-mobile {
        background-position: center center;
    }
    /* position=0或空: 使用img标签显示，去掉下方空白 */
    .banner-section-default .banner-bg-mobile {
        display: none;
    }
    .banner-section-default .banner-bg-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .banner-bg-image {
        display: none;
    }
    .banner-section-default .layui-container{ 
        padding: 0!important;
    }
    .banner-content-wrapper {
        position: relative;
        height: auto;
        display: block;
    }
    .banner-section .layui-container{
        position: relative;
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 20px 20px 0 20px;
        background-color: #fff;
    }
    .banner-section-left .layui-container,
    .banner-section-right .layui-container,
    .banner-section-center .layui-container{
        justify-content: center;
        text-align: center;
    }
    .banner-section .banner-content{
        width: 100%;
        text-align: center;
        padding: 0;
        color: #000;
    }
    .banner-section .banner-badge{
        font-size: 12px;
        margin-bottom: 15px;
        color: #000;
    }
    .banner-section .banner-title{
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
        white-space: normal;
        color: #000;
    }
    .banner-section .banner-description{
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
        color: #000;
        display: none;
    }
    .banner-section .banner-btns{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    .banner-section-left .banner-btns,
    .banner-section-right .banner-btns,
    .banner-section-center .banner-btns{
        justify-content: center;
    }
    .banner-section .banner-btns{
        width: 100%;
        max-width: 18.75rem;
        margin: 0 auto;
    }
    .banner-section .banner-btns .layui-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0;
        background-color: #634033;
        color: #fff;
        border: none;
        font-size: 0.75rem;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .banner-section .banner-btns .layui-btn:active{
        background-color: #4a332b;
    }
}

@media (max-width: 480px) {
    .banner-section .banner-btns{
        max-width: 16.25rem;
    }
    .banner-section .banner-btns .layui-btn{
        width: 100%;
        padding: 0.625rem 0.875rem;
        font-size: 0.6875rem;
    }
}

/* 移动端轮播指示点定位 */
@media (max-width: 768px) {
    .banner .swiper-container .swiper-pagination {
        position: absolute !important;
        bottom: auto !important;
        top: calc(56.25vw - 30px) !important;
        left: 0;
        right: 0;
        z-index: 100 !important;
    }
    .banner .swiper-container .swiper-pagination-bullet {
        background-color: #fff !important;
        opacity: 0.7 !important;
        width: 8px;
        height: 8px;
    }
    .banner .swiper-container .swiper-pagination-bullet-active {
        background-color: #634033 !important;
        opacity: 1 !important;
    }
}