/**
 * @file honor.css
 * @purpose 医院荣誉
 * @author 重庆嘉华医院
 * @datetime 2026-11-09 10:27:00
 * @description 医院荣誉样式。
 */

/* 荣誉证书网格 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.honor-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.honor-card__img {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #00B4D8 0%, #0077A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.honor-card__img i {
    font-size: 52px;
    color: rgba(255, 255, 255, 0.75);
}

.honor-card__body {
    padding: 16px 20px;
    text-align: center;
}

.honor-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.honor-card__date {
    font-size: 13px;
    color: #00B4D8;
}

/* 荣誉列表 */
.honor-list {
    max-width: 860px;
    margin: 0 auto;
}

.honor-item {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.honor-item:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.honor-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00B4D8 0%, #0096C7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.honor-item__content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.honor-item__content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 4px;
}

.honor-item__content .honor-item__date {
    font-size: 13px;
    color: #00B4D8;
}

@media (max-width: 992px) {
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner__title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .honor-grid {
        grid-template-columns: 1fr;
    }
}
