.baihe_customer {
    position: relative;
    overflow: hidden;
    padding: var(--component-gap-sm) 0;
    background: linear-gradient(180deg, rgba(234, 171, 73,0.1) 0%, rgba(234, 171, 73,0) 100%);
}

.baihe_customer_title {
    font-size: var(--title-size-h2);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    color: var(--title-text-color);
    text-transform: uppercase;
}

.baihe_customer_title b {
    color: var(--color-primary);
}

.baihe_customer {
    position: relative;
}


.baihe_customer_list {
    margin-top: var(--component-gap);
    position: relative;
}


.baihe_customer_item {
    text-align: center;
    box-sizing: border-box;
    /* Swiper spaceBetween=0，用内边距控制左右留白 */
    padding: 0 10px;
}

.baihe_customer_item img {
    width: 120px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(242, 177, 75, 0.5);
}

.baihe_customer_list .swiper-slide-prev img,
.baihe_customer_list .swiper-slide-next img {
    width: 100px;
}

.baihe_customer_item_desc {
    font-size: var(--text-title-size);
    color: var(--text-color);
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
    margin: 34px 0 0;
    opacity: 0;
    height: 0;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    touch-action: pan-y;
}
.baihe_customer_item_desc::-webkit-scrollbar {
  display: none;
}
.baihe_customer_list .swiper-slide-active .baihe_customer_item_desc {
    height: calc(var(--text-title-size) * 5 * 1.5);
    overflow-y: auto;
    opacity: 1;
}

.baihe_customer_list .swiper-slide-prev,
.baihe_customer_list .swiper-slide-next {
    margin-top: 50px !important;
}

.baihe_customer_item_name {
    position: relative;
    font-size: var(--text-title-size);
    color: var(--title-text-color);
    text-align: center;
    font-weight: 400;
    line-height: 1.625;
    margin-top: 46px;
    transition: color 0.3s ease-in-out;
}

/* 中间slide的名字颜色 */
.baihe_customer_list .swiper-slide-active .baihe_customer_item_name {
    color: var(--color-second);
}

.baihe_customer_item_name::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 15px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    background: var(--color-primary);
}

.baihe_customer .swiper-button-prev,
.baihe_customer .swiper-button-next {
    top: 59% !important;
    color: var(--color-primary);
}

.baihe_customer .swiper-button-next {
    right: 100px !important;
}

.baihe_customer .swiper-button-prev {
    left: 100px !important;
}

.baihe_customer .swiper-button-next,
.baihe_customer .swiper-button-prev {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    background: rgba(242, 177, 75, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: var(--color-second) !important;
}

.baihe_customer .swiper-button-next:after,
.baihe_customer .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.baihe_customer .swiper-button-next:hover,
.baihe_customer .swiper-button-prev:hover {
    background: var(--color-second) !important;
    color: #fff !important;
}

.baihe_customer .swiper-button-next:hover:after,
.baihe_customer .swiper-button-prev:hover:after {
    color: #fff !important;
}

@media screen and (max-width: 1700px) {
    .baihe_customer .swiper-button-next {
        right: 20px !important;
    }

    .baihe_customer .swiper-button-prev {
        left: 20px !important;
    }
}

@media screen and (max-width: 992px) {
    .baihe_customer_item {
        padding: 0 30px;
    }

    .baihe_customer_item img {
        width: 100px;
    }
}

@media screen and (max-width: 576px) {

    .baihe_customer .swiper-button-next,
    .baihe_customer .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
    }

    .baihe_customer .swiper-button-next:after,
    .baihe_customer .swiper-button-prev:after {
        font-size: 12px !important;
    }
}