/* S10 media, photo variant: a theme photo in a core Image block, 16:9, never wider than the picture itself (width auto: a small photo keeps its natural width inside the 52rem frame). */

.nbt-media-figure {
	max-width: 52rem;
}

.nbt-media-figure img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: var(--border);
	border-radius: var(--radius-sm);
}

.nbt-media-figure figcaption {
	margin-block-start: var(--space-2);
	color: var(--c-ink-3);
	font: 500 var(--text-xs) / 1.3 var(--font-mono);
}
