/*
 * Bricks' base CSS vs the live theme's. The live wp-spinnr theme is Tailwind, so its pages were designed
 * against Tailwind's preflight, not browser defaults: no margins, media as blocks, form controls inheriting
 * the font, borders solid in currentColor. The native converter writes only what the live classes changed
 * from a bare tag, so a bare tag here must look as it did there. (The kit's browser-defaults reset is the
 * wrong base for this site.) The live bare-tag type (heading margins, p and a) is Bricks' custom CSS
 * (tools/bricks/css/site.css).
 *
 * Declared in a layer after Bricks' own, so it overrides them and still loses to unlayered site CSS.
 */
@layer tb-preflight {
	*, ::before, ::after { box-sizing: border-box; border: 0 solid currentColor; }
	body, blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
	ol, ul { list-style: none; margin: 0; padding: 0; }
	img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
	img, video { max-width: 100%; height: auto; }
	button, input, optgroup, select, textarea { font: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; }
	button { background-color: transparent; background-image: none; cursor: pointer; }

	/* Top-level nav menu items: Bricks adds margins the design does not have. */
	.bricks-nav-menu > li { margin: 0; }
}

/* Unlayered: Bricks sets this outside its layers. 1rem = 16px, as the live CSS expects. */
html { font-size: 100%; }

/* Every Bricks element is capped at its container's width. Unlayered and explicit: it stops boxes
   with negative margins overhanging their card. Do not "revert" the cap instead. */
[class*=brxe-] { max-width: 100%; }
