/* Figure styles: pages that received an injected figure via the sync's
   nwjp_ensure_figure() render it centred and framed. */
.nwj-figure {
	width: 100%;
	max-width: 100%;
	margin: 24px 0;
	text-align: center;
}
.nwj-figure img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
	border: 1px solid var(--nwj-rule);
	border-radius: var(--nwj-radius);
}
.nwj-figure figcaption {
	font-size: 0.85rem;
	color: var(--nwj-graphite-soft);
	margin-top: 8px;
}