
@charset "utf-8";

/* 资质证书轮播样式 */
.about_renzhenglb {
    position: relative;
    margin-top: 30px;
}

.about_renzhenglb .swiper-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px 50px 60px;
}

.about_renzhenglb .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.about_renzhenglb .swiper-slide {
    flex-shrink: 0;
    height: auto;
    position: relative;
}

.about_renzhenglb .about_renzhengpic {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.about_renzhenglb .about_renzhengpic:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about_renzhenglb .about_renzhengpic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about_renzhenglb .about_renzhengpic:hover img {
    transform: scale(1.05);
}

/* 导航按钮样式 */
.about_renzhenglb .swiper-button-next,
.about_renzhenglb .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_renzhenglb .swiper-button-next:hover,
.about_renzhenglb .swiper-button-prev:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.about_renzhenglb .swiper-button-next {
    right: 10px;
}

.about_renzhenglb .swiper-button-next:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid #0d045d;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

.about_renzhenglb .swiper-button-prev {
    left: 10px;
}

.about_renzhenglb .swiper-button-prev:after {
    content: '';
    width: 0;
    height: 0;
    border-right: 8px solid #0d045d;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-right: 2px;
}

/* 分页器样式 */
.about_renzhenglb .swiper-pagination {
    position: absolute;
    text-align: center;
    bottom: 10px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.about_renzhenglb .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about_renzhenglb .swiper-pagination-bullet-active {
    background: #007aff;
    transform: scale(1.2);
}

/* 响应式设计 */
/* 电脑大屏 (>1200px) - 显示5个 */
@media (min-width: 1200px) {
    .about_renzhenglb .swiper-slide {
        width: calc(20% - 16px);
        margin-right: 20px;
    }
}

/* 电脑小屏 (992px-1199px) - 显示4个 */
@media (min-width: 992px) and (max-width: 1199px) {
    .about_renzhenglb .swiper-slide {
        width: calc(25% - 15px);
        margin-right: 20px;
    }
}

/* PAD (768px-991px) - 显示3个 */
@media (min-width: 768px) and (max-width: 991px) {
    .about_renzhenglb .swiper-container {
        padding: 0 50px 40px 50px;
    }

    .about_renzhenglb .about_renzhengpic {
        height: 250px;
    }
}

/* 手机 (<768px) - 显示1.2个 */
@media (max-width: 767px) {
    .about_renzhenglb .swiper-container {
        padding: 0 40px 30px 40px;
    }

    .about_renzhenglb .about_renzhengpic {
        height: 200px;
    }

    .about_renzhenglb .swiper-button-next,
    .about_renzhenglb .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .about_renzhenglb .swiper-button-next {
        right: 5px;
    }

    .about_renzhenglb .swiper-button-prev {
        left: 5px;
    }

    .about_renzhenglb .swiper-button-next:after {
        border-left: 6px solid #007aff;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
    }

    .about_renzhenglb .swiper-button-prev:after {
        border-right: 6px solid #007aff;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
    }
}

/* 小手机 (<480px) */
@media (max-width: 479px) {
    .about_renzhenglb .swiper-container {
        padding: 0 30px 20px 30px;
    }

    .about_renzhenglb .about_renzhengpic {
        height: 180px;
    }
}
