﻿/* 主容器 */
.container {
    width: 70%;
}

/* 主标题 */
.title {
    text-align: center;
    margin-bottom: 50px;
}

    .title h3 {
        font-size: 28px;
        color: #005ea8;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .title p {
        color: #666;
        font-size: 15px;
    }

/* 图片布局 */
.gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 60px;
}

.item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

    .item:hover {
        transform: scale(1.02);
    }

    .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .item.big {
        grid-row: span 2;
    }

    .item.normal {
        height: 200px;
    }

/* ====================== */
/* 全新最终版板块标题     */
/* ====================== */
.section {
    margin-bottom: 50px;
}

    .section h4 {
        font-size: 22px;
        color: #004b8c;
        font-weight: 500;
        text-align: left;
        border-left: 4px solid #f6951e;
        padding-left: 16px;
        margin-bottom: 24px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

/* 图片放大弹窗 */
.img-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s;
}

    .img-popup.show {
        display: flex;
        opacity: 1;
    }

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

    .popup-content img {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 8px;
        display: block;
    }

.popup-title {
    color: #fff;
    text-align: center;
    margin-top: 12px;
    font-size: 16px;
}

.popup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    z-index: 2;
}

    .popup-arrow:hover {
        background: rgba(255,255,255,0.3);
    }

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

/* 响应式 */
@media (max-width:992px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:576px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .banner h2 {
        font-size: 30px;
    }

    .nav ul {
        justify-content: center;
    }
}
