.respnews {
    padding: 40px 0;
}

.respnews_t {
    text-align: center;
    margin-bottom: 40px;
}

.respnews_t h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

/* 新增居中容器样式 */
.respnews_liitem {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 内容分散对齐 */
    height: 380px;
    padding: 25px;

    background: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}



/* 文字区域优化 */
.respnews_lil {
    flex: 1;
    padding-left: 25%;
    max-width: 50%; /* 控制文字区域最大宽度 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 文字垂直居中 */
}

.respnews_lil h3 {
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 标题最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.respnews_lil p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 简介最多显示三行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.respnews_lil span {
    font-size: 12px;
    color: rgb(255, 255, 255);
}


/* 图片区域优化 */
.respnews_lir {
    width: 45%;
    max-width: 400px; /* 限制图片最大宽度 */
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 25%;
}


.respnews_lir img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例 */
}

/* 响应式调整 */
@media (max-width: 992px) {
    .respnews_liitem {
        flex-direction: column;
        height: auto;
    }

    .respnews_lil {
        padding-right: 0;
        padding-bottom: 20px;
        padding-left: 0;
        width: 100%;
    }

    .respnews_lir {
        width: 100%;
        height: 200px;
        min-width: auto;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .respnews_t h2 {
        font-size: 24px;
    }

    .respnews_lil h3 {
        font-size: 18px;
    }
}

/* Swiper箭头定制 */
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    color: #333;
}

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

.swiper-button-next {
    right: 20px;
}