/**** Image / Video ****/
.image-item {
	position: relative;
}
.image-item img {
	width: 100%;
	height: auto;
}
.image-item .imageItemCaption {
	margin: 0.5rem;
}

/* A video: its poster (or a dark 16:9 panel when none could be found) under
   a play button; the link opens the video in the lightbox. */
.image-item.is-video .video-item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--landing-text);

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.playButton {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 40px;
		color: var(--white);
		background: rgba(0, 0, 0, 0.25);
		transition: background 0.3s ease;
	}

	&:hover .playButton,
	&:focus-visible .playButton {
		background: rgba(0, 0, 0, 0.45);
	}
}
