/*
 * Wide alignment. The design's wide rows (Etusivu arrow-link cards,
 * Näytöt työmailta cards) are 1336px at 1440: 52px from the page edge
 * while text keeps the 80px root padding. Inside a padded section the
 * content box is only 1280px, so a wide block reaches into the padding by
 * up to 28px on each side, keeping at least 16px from the page edge on
 * narrow screens.
 */
.has-global-padding > .alignwide {

	/* Root padding variables are set on body, so this is resolved here. */
	--kt-wide-bleed: min(28px, max(0px, var(--wp--style--root--padding-left, 16px) - 16px));
	--kt-wide-width: min(var(--wp--style--global--wide-size), 100% + 2 * var(--kt-wide-bleed));
	width: var(--kt-wide-width);
	max-width: none;
	margin-inline: calc((100% - var(--kt-wide-width)) / 2) !important;
}
