/* Default layout CSS for the Block Editor — applied to all design systems.
   Makes top-level custom DS blocks go full-width in the editor and on the
   front end without using WordPress's alignment API. */

/* Editor: top-level custom DS blocks break out of the content column. */
.is-root-container > .wp-block[data-type="fl-ds/custom"] {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Front end: top-level custom DS blocks go full-width.
   max-width: none handles block themes (removes constrained layout).
   Negative margins handle classic themes (breaks out of content container).
   Overflow responsibility stays with the theme, same as core alignfull. */
[class*="fl-ds-custom-"]:not(.fl-ds-block [class*="fl-ds-custom-"]) {
	max-width: none;
	width: auto;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
