/* ==========================================
   资质荣誉页面样式
   ========================================== */

/* 荣誉展示区域 */
.honor-section {
    padding: 20px 0;
}

/* 荣誉网格布局 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* 荣誉卡片 */
.honor-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.honor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(30, 136, 229, 0.15);
}

/* 荣誉图片容器 */
.honor-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
}

.honor-image::before {
    content: '??';
    font-size: 60px;
    opacity: 0.1;
    position: absolute;
    z-index: 0;
}

.honor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    display: block;
}

/* 图片加载失败时显示占位符 */
.honor-image img[src]:not([src=""]) {
    background: transparent;
}

.honor-card:hover .honor-image img {
    transform: scale(1.08);
}

/* 荣誉标题 */
.honor-title {
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.honor-card:hover .honor-title {
    color: #1e88e5;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

/* 标题底部装饰线 */
.honor-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #42a5f5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.honor-card:hover .honor-title::after {
    width: 80%;
}

/* 响应式布局 - 平板 */
@media screen and (max-width: 1024px) {
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .honor-image {
        height: 200px;
    }

    .honor-title {
        font-size: 15px;
        padding: 18px;
    }
}

/* 响应式布局 - 手机 */
@media screen and (max-width: 768px) {
    .honor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .honor-image {
        height: 240px;
    }

    .honor-title {
        font-size: 16px;
        padding: 20px;
    }

    .honor-card:hover {
        transform: translateY(-4px);
    }
    
    .honor-card:hover .honor-image img {
        transform: scale(1.05);
    }
}

/* 小屏手机优化 */
@media screen and (max-width: 480px) {
    .honor-section {
        padding: 15px 0;
    }

    .honor-grid {
        gap: 15px;
    }

    .honor-image {
        height: 200px;
    }

    .honor-title {
        font-size: 15px;
        padding: 15px;
    }
}

/* 内容标题样式优化 */
.content-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
}

.content-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
 
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 移动端标题优化 */
@media screen and (max-width: 768px) {
    .content-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .content-title {
        font-size: 20px;
    }

    .title-icon img {
        width: 18px !important;
        height: 18px !important;
    }
}