/* Click-to-load embeds (ark #1877): see includes/embeds.php. */
.rubin-embed-youtube, .rubin-embed-frame {
	display: block; position: relative; width: 100%; aspect-ratio: 16 / 9;
	background: #000; overflow: hidden; border: 0;
}
.rubin-embed-youtube img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0;
}
.rubin-embed-play {
	position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px;
	background: rgba(33, 33, 33, 0.85); border-radius: 12px; transition: background 0.15s;
}
.rubin-embed-play::after {
	content: ""; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -6px;
	border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff;
}
.rubin-embed-youtube:hover .rubin-embed-play, .rubin-embed-youtube:focus-visible .rubin-embed-play { background: #c00; }
.rubin-embed-generic { padding: 1.5em 1em; text-align: center; border: 1px solid currentColor; opacity: 0.85; }
.rubin-embed-load { font: inherit; cursor: pointer; padding: 0.4em 1em; }
