/* ===== 通用图片灯箱 Lightbox ===== */

/* 带 data-full 的图片：提示可点击放大 */
img[data-full] {
    cursor: zoom-in;
}

/* 荣誉列表：标题/摘要跳转详情页 */
.honours-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.honours-link:hover p {
    color: #258FFC;
    background: linear-gradient(0deg, #318FF6, #2CBFD9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxFade 0.25s ease;
}

.lightbox-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-img {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    animation: lightboxZoom 0.3s ease;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    user-select: none;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

@keyframes lightboxFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lightboxZoom {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 32px;
        width: 40px;
        height: 40px;
    }
}
