/* YouTube-style play button overlay on any featured image that links to a video
   (see retronaut_video_posts_link_featured_image() in the PHP file for the class hook).
   Drawn as an inline SVG data URI - no separate image asset needed. */
.retronaut-video-thumb {
	position: relative;
	display: block;
	border-radius: 40px;
	overflow: hidden;
}

/* CRT-style rounded corners on the thumbnail itself, dimmed slightly at rest */
.retronaut-video-thumb img {
	border-radius: 40px;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.retronaut-video-thumb:hover img {
	opacity: 1;
}

.retronaut-video-thumb::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 109.48px; /* 68px * 1.4 * 1.15 */
	height: 77.28px; /* 48px * 1.4 * 1.15 */
	max-width: 32.2%; /* 20% * 1.4 * 1.15 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.64 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z' fill='%23d0021b'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.retronaut-video-thumb:hover::after {
	opacity: 1;
}
