/* Frame spacing classes for tt_content.space_before_class / space_after_class.
 * Editor picks one of: extra-small | small | medium | large | extra-large.
 * Values intentionally on the generous side — sitepackages can override per
 * project by including their own spacing.css after this one. */

.frame-space-before-extra-small { margin-top: 0.5rem; }
.frame-space-before-small       { margin-top: 1.5rem; }
.frame-space-before-medium      { margin-top: 3rem; }
.frame-space-before-large       { margin-top: 5rem; }
.frame-space-before-extra-large { margin-top: 8rem; }

.frame-space-after-extra-small  { margin-bottom: 0.5rem; }
.frame-space-after-small        { margin-bottom: 1.5rem; }
.frame-space-after-medium       { margin-bottom: 3rem; }
.frame-space-after-large        { margin-bottom: 5rem; }
.frame-space-after-extra-large  { margin-bottom: 8rem; }

/* Explicit "None (0)" — force no gap (default), so bands butt flush. */
.frame-space-before-none { margin-top: 0; }
.frame-space-after-none  { margin-bottom: 0; }

/* Onepager section wrapper establishes a block formatting context so the
 * margin-based space_before/after of its first/last child does NOT collapse
 * through the section boundary (which would swallow the gap). Without this the
 * frame-space-* classes have no visible effect on a section's edge element. */
.i2t3-section { display: flow-root; }
