.how-to-play-video-block {
	width: 100%;
	max-width: unset !important;
	background-color: #336699;
	padding: 5vw 20px 5vw 20px;
	box-sizing: border-box;
	background-image: url(../how_to_play_bg.webp);
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
}

.how-to-play-video-link {
	position: relative;
	display: block;
	cursor: pointer;
	overflow: hidden;
	border-radius: 8px;
	max-width: 1200px;
	margin: 0 auto;
}

.how-to-play-poster {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.how-to-play-video-link:hover .how-to-play-poster {
	transform: scale(1.02);
}

.how-to-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.3);
	transition: background-color 0.3s ease;
}

.how-to-play-video-link:hover .how-to-play-overlay {
	background-color: rgba(0, 0, 0, 0.4);
}

.how-to-play-icon {
	width: 80px;
	height: 80px;
	fill: #ffffff;
	transition: transform 0.3s ease;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.how-to-play-video-link:hover .how-to-play-icon {
	transform: scale(1.1);
}

/* Placeholder styling for editor */
.how-to-play-placeholder {
	padding: 40px 20px;
	background-color: #f5f5f5;
	border: 1px dashed #ccc;
	border-radius: 8px;
	text-align: center;
}

.how-to-play-placeholder p {
	margin: 0 0 10px 0;
	color: #666;
}

.how-to-play-placeholder p:last-child {
	margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.how-to-play-icon {
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 480px) {
	.how-to-play-icon {
		width: 48px;
		height: 48px;
	}
}
