/*
 * Core Property Services — margin reset for core-block sections.
 *
 * Loads BEFORE the parent's section stylesheets (inc/sections.php), so every
 * margin a section sets on purpose still wins; this only removes the ones
 * core adds that the old blocks never had.
 *
 * Scoped to Groups: fwf/trust-diagram is still a native block with a
 * .fwf-section class, and sets its paragraph margins by relying on defaults.
 */

/* ==========================================================================
   Flow spacing
   ========================================================================== */

/*
 * Every Group here is a flow layout, and core puts the global block gap above
 * each child after the first. The old blocks had no such margins; their
 * stylesheets set every margin they wanted. Matching core's own (0,1,0) and
 * loading after it removes the gap, and every section rule below this line —
 * also (0,1,0), later in the cascade — still sets its own margin.
 */
:root :where(.wp-block-group.fwf-section.is-layout-flow, .wp-block-group.fwf-section .is-layout-flow) > * {
	margin-block: 0;
}

/* What were <span>s and <li>s are now paragraphs, with a paragraph's margins. */
:root :where(.wp-block-group.fwf-section p) {
	margin-block: 0;
}
