/* Illustrations in articles (inc/svg-figure.php): the whole content width, in their own proportions. */
.is-article .refresh-svgfig {
	margin: 2rem 0;
}

.is-article .refresh-svgfig__link {
	display: block;
	text-decoration: none;
	border: 0;
}

.is-article .refresh-svgfig svg {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.is-article .refresh-svgfig figcaption {
	margin-top: 0.6rem;
}

/* A pair of panels (gör / undvik): stacked, each at the full width, until the figure is 560px wide; then two equal columns.
   16px between them, square corners, no shadow. The container query is the figure's own width, not the screen's. */
.is-article .refresh-svgfig--pair {
	container-type: inline-size;
}

.is-article .refresh-svgfig__pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.is-article .refresh-svgfig--pair .refresh-svgfig__link {
	border-radius: 0;
	box-shadow: none;
}

@container (min-width: 560px) {
	.is-article .refresh-svgfig__pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
