/* 全屏轮播 */
.news-swiper {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

.news-swiper .swiper-wrapper,
.news-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.news-swiper .swiper-slide {
    position: relative;
}

.news-swiper .swiper-slide a,
.news-swiper .activy-left {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

/* 图片铺满，超出部分裁剪 */
.news-swiper .swiper-slide .bj-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* 左右切换按钮 */
.news-swiper .swiper-button-prev,
.news-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
}

.news-swiper .swiper-button-prev::after,
.news-swiper .swiper-button-next::after {
    display: none;
}

.news-swiper .swiper-button-prev img,
.news-swiper .swiper-button-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-swiper .swiper-button-next img {
    transform: rotate(180deg);
}

/* 标题背景 */
.news-banner-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 45px 6% 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.22) 55%,
            rgba(0, 0, 0, 0) 100%
    );
    box-sizing: border-box;
    z-index: 2;
}

.news-banner-caption .activy-title {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.news-banner-caption .activy-title1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* 手机端 */
@media (max-width: 768px) {
    .news-banner-caption {
        padding: 25px 20px 20px;
        gap: 5px;
    }

    .news-banner-caption .activy-title {
        font-size: 20px;
    }

    .news-banner-caption .activy-title1 {
        font-size: 13px;
    }

    .news-swiper .swiper-button-prev,
    .news-swiper .swiper-button-next {
        width: 32px;
        height: 32px;
    }
}