/* Keep focused node-card captures centered at their natural size. */
.fc-node-card-shot img {
	display: block;
	margin-inline: auto;
}

/* Compare two settings modes without stretching their screenshots. */
.fc-screenshot-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
	margin-block: 1rem;
}

.fc-screenshot-pair > figure {
	min-width: 0;
	margin: 0;
}

.fc-screenshot-pair > figure > p {
	margin: 0;
}

.fc-screenshot-pair img {
	display: block;
	width: 100%;
	height: auto;
}

.fc-screenshot-pair figcaption {
	margin-block-start: 0.5rem;
	font-size: var(--sl-text-sm);
	line-height: 1.5;
}

@media (max-width: 40rem) {
	.fc-screenshot-pair {
		grid-template-columns: minmax(0, 1fr);
	}
}
