/* Videos (inc/video.php): a still with a Play button; the YouTube player loads only on Play. */
.pei-video { margin: 0; }
.pei-video__start, .pei-video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-card); overflow: hidden; background: var(--charcoal); color: var(--white); text-decoration: none; }
.pei-video__poster, .pei-video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pei-video__start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 50%); pointer-events: none; }
.pei-video__btn { position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: var(--charcoal); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.pei-video__btn svg { margin-left: 4px; fill: currentColor; }
.pei-video__label { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-size: 15px; font-weight: 700; color: var(--white); }
.pei-video__note, .pei-video__cap { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pei-video__cap { margin-top: 4px; }
:is(.sec--dark, .sec--deep, .on-dark) :is(.pei-video__note, .pei-video__cap) { color: var(--soft); }
.pei-video__start:focus-visible { outline-offset: 4px; }
@media (max-width: 600px) {
	.pei-video__btn { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
	.pei-video__btn { transition: scale .35s var(--ease), background-color .2s ease; }
	@media (hover: hover) { .pei-video__start:hover .pei-video__btn { scale: 1.08; background: var(--green-hi); } }
	.pei-video__start:active .pei-video__btn { scale: .95; }
}
