
    /* 缩略图样式 */
    .thumbnail-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* 在PC端居中显示 */
    }

    .thumbnail {
        width: 200px;
        height: 300px;
        margin: 5px;
        overflow: hidden;
        position: relative;
    }

    .thumbnail img {
        width: 100%;
        height: auto;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .thumbnail:hover img {
        transform: scale(1.1);
    }

    /* 移动设备上的样式 */
    @media only screen and (max-width: 768px) {
        .thumbnail {
            width: 50%; /* 在移动端每行显示两张缩略图 */
            height: auto;
        }
    }

    /* 放大图样式 */
    #lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        text-align: center;
    }

    #lightbox img {
        max-height: 80%;
        max-width: 80%;
        margin-top: 10%;
        cursor: pointer;
    }
