.engagement-hero-section {
    background-image: none;
    height: auto;
    position: relative;
    overflow: hidden;
    display: block;
    text-align: left;
    color: #fff;
}

.engagement-hero-bg{
    display: none;
}

/* PC端图片样式 */
.banner-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

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

/* 内容包裹层 - PC端绝对定位覆盖在图片上 */
.banner-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.engagement-hero-section .layui-container{
    justify-content: flex-start;
    text-align: left;
    display: flex;
}
.engagement-hero-section-left .layui-container{
    justify-content: flex-start;
    text-align: left;
    display: flex;
}
.engagement-hero-section-center .layui-container{
    justify-content: center;
    text-align: center;
    display: flex;
}
.engagement-hero-section-right .layui-container{
    justify-content: flex-end;
    text-align: right;
    display: flex;
}

.engagement-hero-section-left .engagement-hero-buttons{
   justify-content: flex-start;
}
.engagement-hero-section-center .engagement-hero-buttons{
    justify-content: center;
}
.engagement-hero-section-right .engagement-hero-buttons{
    justify-content: flex-end;
}

.engagement-hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}
.engagement-hero-badge{
    margin-bottom: 20px;
    font-size: 14px;
}
.engagement-hero-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.engagement-hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    color: #000;
}

.engagement-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.engagement-hero-btn {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.engagement-hero-btn-primary {
    background-color: #634033;
    font-weight: 600;
    color: #fff;
}

.engagement-hero-btn-primary:hover {
    opacity: 0.8;
    color: #ffffff;
}

.engagement-hero-btn-secondary {
    background-color: transparent;
    background-color: #634033;
    font-weight: 600;
    color: #fff;
}

.engagement-hero-btn-secondary:hover {
     opacity: 0.8;
     color: #fff;
}

/* Responsive design - 移动端 */
@media (max-width: 768px) {
    .engagement-hero-section {
        height: auto;
        min-height: auto;
        display: block;
        background: none;
        text-align: center;
    }

    /* 移动端显示背景图 */
    .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 (左对齐): 文字在左，图片主要区域在右，移动端显示右边 */
    .engagement-hero-section-left .banner-bg-mobile {
        background-position: right center;
    }
    /* position=2 (右对齐): 文字在右，图片主要区域在左，移动端显示左边 */
    .engagement-hero-section-right .banner-bg-mobile {
        background-position: left center;
    }
    /* position=3 (居中): 居中显示 */
    .engagement-hero-section-center .banner-bg-mobile {
        background-position: center center;
    }

    /* 移动端隐藏PC端图片 */
    .banner-bg-image {
        display: none;
    }

    /* 移动端内容包裹层改为相对定位 */
    .banner-content-wrapper {
        position: relative;
        height: auto;
        display: block;
    }

    .engagement-hero-section .layui-container{
        position: relative;
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 20px 20px 0 20px;
        background-color: #fff;
    }

    .engagement-hero-section-left .layui-container,
    .engagement-hero-section-right .layui-container,
    .engagement-hero-section-center .layui-container{
        justify-content: center;
        text-align: center;
    }

    .engagement-hero-content {
        width: 100%;
        text-align: center;
        padding: 0;
        color: #000;
    }

    .engagement-hero-badge {
        font-size: 12px;
        margin-bottom: 15px;
        color: #000;
    }

    .engagement-hero-title {
        font-size: 28px;
        color: #000;
    }

    .engagement-hero-subtitle {
        font-size: 14px;
        color: #000;
        display: none;
    }

    .engagement-hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .engagement-hero-section-left .engagement-hero-buttons,
    .engagement-hero-section-center .engagement-hero-buttons,
    .engagement-hero-section-right .engagement-hero-buttons{
        justify-content: center;
    }

    .engagement-hero-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .engagement-hero-title {
        font-size: 24px;
    }

    .engagement-hero-subtitle {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .engagement-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .engagement-hero-btn {
        width: 100%;
        min-width: 140px;
        max-width: 180px;
        padding: 10px 20px;
        font-size: 11px;
        white-space: nowrap;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
