@charset "utf-8";
/* CSS Document */

* { margin:0; padding:0; list-style-image: none;list-style-type: none;box-sizing: border-box;}

body {
	background-color: #000;
	overflow-x:hidden;
}
img { border:none;}
.fix {clear:both;height: 1px;font-size: 0px;}
.zhezhao {width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(200%) blur(30px);
    z-index: 1;}
.pc_m_bj {width: 100%;
    height: auto;
    top: 0px;
    bottom: 0px;
    position: fixed;
    background-image: url(../../images/pc-bj1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;}
.general_list_k {padding-top: 70px;position: relative;z-index: 70;width: 90%;margin-right: auto;margin-left: auto;display: grid;padding-bottom: 90px;}


        /* 瀑布流容器 */
        .masonry-container {
			display: grid;
            grid-template-columns: repeat(6, 1fr);
            row-gap: 40px;
            column-gap: 40px; /* 列间距 */
            max-width: 100%;
            margin: 0 auto;
        }

        /* 瀑布流卡片 */
        .masonry-item {
            break-inside: avoid; /* 防止卡片跨列中断 */
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            overflow: hidden; /* 确保图片圆角生效 */
        }

        /* 图片加载状态 */
        .img-container {
            position: relative;
            overflow: hidden;
            border-radius: 8px 8px 0 0;
        }

        .masonry-item img {
            width: 100%;
            height: auto;
            display: block;
            opacity: 0; /* 默认隐藏图片 */
            transition: opacity 0.3s ease;
        }

        .masonry-item img.loaded {
            opacity: 1; /* 图片加载完成后显示 */
        }

        .loading-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #e7d0bc;
            font-size: 12px;
        }

        .item-caption {
            padding: 12px 16px;
            text-align: center;
            font-size: 14px;
            color: #e7d0bc;
        }

        /* 全屏模态框 */
        .modal {
            display: none; /* 默认隐藏 */
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.8);
			-webkit-backdrop-filter: saturate(200%) blur(30px);
            backdrop-filter: saturate(200%) blur(30px);
        }

        .modal-content {
            position: relative;
            margin: auto;
            max-width: 90%;
            max-height: 90%;
            text-align: center;
        }

        .modal-image {
            max-width: 90%;
            max-height: 90%;
            display: block;
            margin: 0 auto;
            animation: zoomIn 0.3s ease;
			padding-top: 100px;
        }

        .close-btn {
            position: absolute;
            top: 100px;
            right: 100px;
            color: white;
            font-size: 36px;
            cursor: pointer;
            transition: transform 0.2s;
			height: 50px;
    width: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
        }
.close-btn img {width: 40%;}
        .close-btn:hover {
            transform: scale(1.2);
        }

        .caption-text {
            margin-top: 10px;
            font-size: 14px;
			text-align: center;
			color: #e7d0bc;
        }

        /* 动画效果 */
        @keyframes zoomIn {
            from { transform: scale(0.9); opacity: 0.8; }
            to { transform: scale(1); opacity: 1; }
        }


/*自适应解决方案*/
@media (max-width: 1850px) {
	.masonry-container {grid-template-columns: repeat(5, 1fr);}
}
@media (max-width: 1550px) {
	.masonry-container {grid-template-columns: repeat(4, 1fr);}
}
@media (max-width: 1230px) {
	.masonry-container {grid-template-columns: repeat(3, 1fr);}
}
@media screen and (max-width: 800px) {
.general_list_k {padding-top: 30px;padding-bottom: 20px;}
.masonry-container {grid-template-columns: repeat(2, 1fr);row-gap: 20px;column-gap: 20px;}
.item-caption {font-size: 12px;}
.modal-image {padding-top: 70px;}
.close-btn {bottom: 30px;top: auto;right: 50%;margin-right: -25px;}
.caption-text {font-size: 12px;}
.pc_m_bj {background-image: url(../../images/m-bj1.jpg);}
}