/*
Theme Name: Beast Bricks Kit
Theme URI: https://beastcreativeagency.com
Description: Beast child theme for Bricks. Carries the design system, templates and the bricks-sync CLI so the work lives in git rather than only in a database.
Author: Beast Creative
Template: bricks
Version: 1.6.6-beast.5
*/

/*
 * Font families only. Body color, background and container width/gutter are the Bricks Theme
 * Style (tokens.json themeStyle), editable in the builder. Font family stays here because Bricks
 * quotes that field, which turns var(--font-display) into an invalid font name.
 */
body {
	font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
	font-family: var(--font-heading);
}

h1,
.u-display,
.chg-display {
	font-family: var(--font-display);
}

.chg-accent {
	font-family: var(--font-accent);
}

.brxe-container {
	margin-inline: auto;
}

/*
 * Step marker: a numbered circle.
 *
 * Bricks can express this in element settings. Elementor cannot reliably: its
 * widget wrapper stretches to the row and the self-align control is not
 * reachable from the data layer, so the shape has to be asserted in CSS.
 *
 * Which is the better answer anyway. One class, driven by the same tokens,
 * renders identically in both builders, and a designer changing --size-marker
 * changes it everywhere.
 */
.beast-step-marker {
	align-self: flex-start;
}

.beast-step-marker .elementor-heading-title,
.beast-step-marker {
	flex: 0 0 auto;
}

.beast-step-marker .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--size-marker);
	height: var(--size-marker);
	border-radius: var(--radius-pill);
	background-color: var(--brand-accent);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--text-body);
	line-height: 1;
}
