/* 新闻荣誉页面样式 - 遵循项目设计规范 */
.honors-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.honor-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    min-height: 60vh;
    align-items: center;
}

@media (max-width: 992px) {
    .honor-card {
        flex-direction: column;
    }
}

.honor-image {
    flex: 1;
    min-width: 300px;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

@media (max-width: 768px) {
    .honor-image {
        height: 300px;
    }
}

.honor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certificate-img {
    transition: all 0.5s ease;
}

.honor-image:hover .certificate-img {
    transform: scale(1.03);
}

.honor-content {
    flex: 1;
    min-width: 300px;
}

.honor-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .honor-title {
        font-size: 1.8rem;
    }
}

.honor-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.honor-description {
    color: #555;
    line-height: 1.8;
}

.honor-description p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* 装饰元素 */
.honor-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 50px 50px 0;
    border-style: solid;
    border-color: #2c6ecb transparent;
    opacity: 0.9;
}

/* 动画效果 */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.honor-card {
    animation: zoomIn 0.6s ease-out forwards;
}

.animate-on-scroll {
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
