/**
 * BMRTN Blocks: shared styles, loaded on the site and in the editor.
 */

/* Shared layout: every BMRTN section uses the same content width, side
   padding and column gap, so 2-column content lines up from section to
   section (card grid, bio, and future blocks). */
:root {
	--bmrtn-container: 1200px; /* Content width, not counting side padding. */
	--bmrtn-gutter: 30px;      /* Side padding, matches the site header. */
	--bmrtn-grid-gap: 32px;    /* Gap between columns. */
	--bmrtn-content-width: 1080px; /* The theme's text column (.site-inner 1140px minus 30px padding each side). */
}

/* Accent text format (toolbar: More > Accent).
   Coral text color passes AA on white and light gray (5.24:1 / 4.81:1).
   Dark sections such as the hero set --bmrtn-accent to yellow. */
.has-bmrtn-accent {
	color: var(--bmrtn-accent, var(--bmrtn-coral-text, #bf4219));
}

/* Text for screen readers only (such as the ":" after a card eyebrow). */
.bmrtn-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hyphenated words in hero headlines stay on one line (see
   blocks/shared/headline.php). */
.bmrtn-nowrap {
	white-space: nowrap;
}
