/* 图片展示区 */
.gallery {
    padding: 60px 5%;
    background: #fff;
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #0170C0;
}

.gallery-grid {
    width: 1200px;
    display: grid;
    /**grid-template-columns: repeat(3, 1fr);**/
grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.gallery-item {
    /**height: 250px;**/
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移动端图片适配 */
@media screen and (max-width: 768px) {
    .gallery {
        padding: 40px 5%;
    }
     
    .gallery-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 15px;
    }
     
    .gallery-item {
        height: auto;
        min-height: 200px;
        aspect-ratio: 4/3;
    }
     
    .gallery-item img {
        object-fit: cover;
        object-position: center;
    }
     
    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

.gallery-item .title {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .72);
    padding: 10px;
    text-align: center;
    color: #fff;
}

.section-title {
    font-size: 32px;
    color: #005AAB;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 9;
}

.section-title::after {
    content: '';
    display: block;
    position: absolute;
    width: 250px;
    height: 15px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E0EBF5;
    z-index: -1;
}