/**
 * BuildPress — Frontend Styles
 *
 * Minimal base: box-sizing reset, system font stack, section-widget helper.
 */

/* ─── Reset ─────────────────────────────────────────────────── */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* ─── Base ──────────────────────────────────────────────────── */

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
	background: #ffffff;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

/* ─── Section Widgets ──────────────────────────────────────── */

.buildpress-section-widget {
	width: 100% !important;
}

/* ─── Block-builder section spacing ────────────────────────────
   BuildPress widget sections own their own vertical rhythm, so the
   block theme's global blockGap (a margin-block-start on every flow
   child — e.g. 1.2rem on the bundled themes) must not stack an extra
   default gap between stacked widgets. Zero it for every stamped
   widget; editor parity is handled in BuildPress_Page_Templates. */
[data-bp-widget] {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}
