/* ==========================================================================
   bricks.css — undo Bricks 2.x element defaults that fight the reset.

   Bricks ships `:where(p) { margin-block: 0 1.2em }` (plus a heading top
   margin after a paragraph) inside `@layer bricks`. That layer is declared
   after `@layer reset`, so it beats the reset's `* { margin: 0 }`.
   Unlayered rules win over every layer; :where() keeps them at zero
   specificity so component classes and Bricks settings still override.
   ========================================================================== */

:where(p, h1, h2, h3, h4, h5, h6) {
  margin-block: 0;
}

/* Rich text from the WordPress editor (legal pages, posts) has no component
   classes, so give it the same stack spacing as .u-flow. */
:where(.brxe-post-content, .brxe-text) > * + * {
  margin-block-start: var(--flow-space);
}
