/* Label: Scroll */
/*
 * A row that scrolls sideways once it gets narrower than 1100px (prototype about.html "about-timeline":
 * .scroller-bleed overflow-x-auto > min-w-[1100px]). The scroller bleeds to the screen edges and puts the content
 * inset back as padding, so the first item still lines up with the heading and the rest leave through the screen
 * edge. Above 1100px of content (about 1250px wide) nothing scrolls.
 *
 * Recipe: core/group {"className":"is-style-scroll","layout":{"type":"default"}} holding ONE Group (the row, e.g. a
 * 4-column grid), anywhere inside a section's constrained surface.
 *
 * calc(50% - 50vw) = minus the distance from the containing block's edge to the screen edge, whatever the nesting;
 * the !important beats the constrained layout's margin-inline: auto !important.
 */
.wp-block-group.is-style-scroll {
	max-width: none;
	margin-inline: calc(50% - 50vw) !important;
	padding-inline: var(--wp--custom--content-inset);
	overflow-x: auto;
}

.wp-block-group.is-style-scroll > * {
	min-width: 1100px;
}
