.baihe_pic_text {
    position: relative;
    margin: var(--component-gap-sm) 0;
    padding: 130px 0;
}

.baihe_pic_text .bg_svg,
.baihe_pic_text svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

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

.baihe_pic_text h2 b {
    color: var(--color-primary);

    font-weight: 700;
}

.baihe_pic_text p {
    color: var(--text-color);
    font-size: var(--text-size);
    font-weight: 400;
    line-height: 1.625;
    margin-top: 8px;
    text-align: center;
}

.baihe_pic_text_list {
    display: flex;
    flex-direction: column;
    margin-top: var(--component-gap);
}

.baihe_pic_text_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.baihe_pic_text_item:nth-child(even) {
    flex-direction: row-reverse;
}

.baihe_pic_text_item img {
    width: 50%;
    aspect-ratio: 750/480;
    object-fit: cover;
    border-radius: 20px 100px 0px 80px;
}

.baihe_pic_text_item:nth-child(even) img {
    border-radius: 0px 80px 20px 100px;
}

.baihe_pic_text_item_content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--component-gap);
}

.baihe_pic_text_item:nth-child(even) .baihe_pic_text_item_content {
    padding-right: var(--component-gap);
    padding-left: 0;
}

.baihe_pic_text_item_title {
    position: relative;
    color: var(--color-primary);
    font-size: var(--title-size-h3);
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
}

.baihe_pic_text_item_title:hover{
    color: var(--color-second);
}

.baihe_pic_text_item_title::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    bottom: -26px;
    left: 0;
    border-radius: 10px;
    background: var(--color-second);
}

.baihe_pic_text_item_title:hover::before{
    background: var(--color-primary);
}
.baihe_pic_text_item_desc {
    color: var(--text-color);
    font-size: var(--text-size);
    font-weight: 400;
    line-height: 1.625;
    text-align: left;
    margin-top: 63px;
    max-height: calc(var(--text-size) * 1.625 * 6);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
    .baihe_pic_text_item_title::before {
        bottom: -16px;
        height: 3px;
    }

    .baihe_pic_text_item_desc {
        margin-top: 32px;
    }
}

@media screen and (max-width: 992px) {
    .baihe_pic_text_item {
        flex-direction: column;
        gap: var(--component-gap-sm);
    }

    .baihe_pic_text_item:nth-child(even) {
        flex-direction: column;
    }

    .baihe_pic_text_item img {
        width: 100%;
        border-radius: 20px;
    }

    .baihe_pic_text_item:nth-child(even) img {
        border-radius: 20px;
    }

    .baihe_pic_text_item_content {
        width: 100%;
        padding: 0;
    }

    .baihe_pic_text_item:nth-child(even) .baihe_pic_text_item_content {
        padding: 0;
    }

    .baihe_pic_text_list {
        gap: var(--component-gap-sm);
    }
}

/* 默认显示波浪形，隐藏水平形 */
.baihe_pic_text .bg_svg_flat {
    display: none;
}

@media screen and (max-width: 768px) {
    .baihe_pic_text {
        padding: var(--component-gap-sm) 0;
    }
    
    /* 移动端隐藏波浪形，显示水平形 */
    .baihe_pic_text .bg_svg_wave {
        display: none;
    }
    
    .baihe_pic_text .bg_svg_flat {
        display: block;
    }
}