.videos{
	display: grid;
	row-gap:25px;
	column-gap:15px;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin: 0 auto;
}
.videos .items{
	position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: white;
	text-decoration: none
}
.videos .play{
	display: block; position: absolute; top:30%; left:50%; margin-left:-25px; width:50px; height:50px; z-index:100; 
    background:url("/template/image/play.png") no-repeat center #fff; border-radius: 50%
}

.videos .items .name{
	padding:5px 15px;
	margin-bottom: 10px;
}

.videos .items:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.videos .items .prview {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.videos .items:hover .prview {
    transform: scale(1.05);
}

/* 平板设备：4列 */
@media (max-width: 1024px) {
    .videos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos .items .prview {
        height: auto;
    }
}

/* 手机设备：2列 */
@media (max-width: 768px) {
	.videos {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
    
    .videos .items .prview{
        height: auto;
    }
}



 .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            backdrop-filter: blur(5px);
        }
        
        .video-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 900px;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        
        .video-player {
            width: 100%;
            height: auto;
            max-height: 80vh;
            background: black;
        }
        
 .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.7);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .video-items:hover .play-overlay {
            opacity: 1;
        }
        
        
 @media (max-width: 768px) {
            .video-content {
                width: 95%;
                border-radius: 8px;
            }
            
            .play-overlay {
                width: 50px;
                height: 50px;
            }
        }
