/* 通知图片模态框样式 */
.news-modal-content {
    max-width: 1000px;
    max-height: 85vh;
}

.news-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.news-image-item {
    text-align: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news-image-item:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-image-item h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.news-image-item p {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* 图片查看模态框样式 */
.image-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
}

.full-size-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#imageTitle {
    color: #1a3a6c;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

/* 响应式设计 - 通知图片模态框 */
@media (max-width: 768px) {
    .news-modal-content {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
    }
    
    .news-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-image-item {
        padding: 15px;
    }
    
    .news-image {
        max-width: 100%;
    }
    
    .image-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .full-size-image {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .news-modal-content {
        padding: 15px;
    }
    
    .news-image-item h3 {
        font-size: 1.1rem;
    }
    
    .news-image-item p {
        font-size: 0.8rem;
    }
    
    #imageTitle {
        font-size: 1.1rem;
    }
} 