/* 视频模块样式 */

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.video-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.video-player {
	width: 100%;
	margin-bottom: 30px;
	border-radius: 8px;
	overflow: hidden;
}

.video-player video,
.video-player iframe {
	width: 100%;
	height: 500px;
}

/* 响应式 */
@media (max-width: 768px) {
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.video-player video,
	.video-player iframe {
		height: 300px;
	}
}

