/* 荣誉资质轮播图样式 */
.eygyhonor_main {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.honor-swiper-container {
    width: 100%;
    height: 600px;
    padding: 20px 0 40px;
    position: relative;
}

.honor-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 550px;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.honor-img {
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.honor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-img img {
    transform: scale(1.05);
}

.honor-info {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    min-height: 80px;
}

.honor-title {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 44px;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.honor-title:hover {
    color: #007bff;
}

/* 轮播图导航按钮样式 */
.honor-swiper-container .swiper-button-next,
.honor-swiper-container .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: -20px;
}

.honor-swiper-container .swiper-button-next {
    right: -50px;
}

.honor-swiper-container .swiper-button-prev {
    left: -50px;
}

.honor-swiper-container .swiper-button-next:after,
.honor-swiper-container .swiper-button-prev:after {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.honor-swiper-container .swiper-button-next:hover,
.honor-swiper-container .swiper-button-prev:hover {
    background: #007bff;
}

.honor-swiper-container .swiper-button-next:hover:after,
.honor-swiper-container .swiper-button-prev:hover:after {
    color: #fff;
}

/* 分页器样式 */
.honor-swiper-container .swiper-pagination {
    bottom: 10px;
}

.honor-swiper-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    margin: 0 5px;
}

.honor-swiper-container .swiper-pagination-bullet-active {
    background: #007bff;
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .eygyhonor_main {
        max-width: 100%;
        padding: 0 60px;
    }
    
    .honor-swiper-container .swiper-button-next {
        right: -40px;
    }
    
    .honor-swiper-container .swiper-button-prev {
        left: -40px;
    }
}

@media (max-width: 992px) {
    .eygyhonor_main {
        padding: 0 50px;
    }
    
    .honor-swiper-container {
        height: 380px;
    }
    
    .honor-card {
        height: 330px;
        margin: 0 8px;
    }
    
    .honor-img {
        height: 230px;
    }
    
    .honor-swiper-container .swiper-button-next,
    .honor-swiper-container .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .honor-swiper-container .swiper-button-next:after,
    .honor-swiper-container .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .eygyhonor_main {
        padding: 0 40px;
    }
    
    .honor-swiper-container {
        height: 350px;
        padding: 15px 0 30px;
    }
    
    .honor-card {
        height: 300px;
        margin: 0 5px;
    }
    
    .honor-img {
        height: 200px;
    }
    
    .honor-info {
        padding: 15px 10px;
        min-height: 70px;
    }
    
    .honor-title {
        font-size: 14px;
        max-height: 40px;
    }
    
    .honor-swiper-container .swiper-button-next,
    .honor-swiper-container .swiper-button-prev {
        width: 32px;
        height: 32px;
        margin-top: -16px;
    }
    
    .honor-swiper-container .swiper-button-next {
        right: -30px;
    }
    
    .honor-swiper-container .swiper-button-prev {
        left: -30px;
    }
    
    .honor-swiper-container .swiper-button-next:after,
    .honor-swiper-container .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .eygyhonor_main {
        padding: 0 20px;
    }
    
    .honor-swiper-container {
        height: 320px;
        padding: 10px 0 25px;
    }
    
    .honor-card {
        height: 280px;
        margin: 0;
    }
    
    .honor-img {
        height: 180px;
    }
    
    .honor-info {
        padding: 12px 8px;
        min-height: 60px;
    }
    
    .honor-title {
        font-size: 13px;
        max-height: 36px;
    }
    
    /* 在手机上隐藏导航按钮，只显示分页器 */
    .honor-swiper-container .swiper-button-next,
    .honor-swiper-container .swiper-button-prev {
        display: none;
    }
}