/**
 * BTFC block library — shared front-end primitives and layout helpers.
 */

/* —— Wide / full alignment (editorial content) —— */

.btfc-page .entry-content > .alignwide {
	width: min(100%, var(--btfc-container-wide));
	max-width: var(--btfc-container-wide);
	margin-left: auto;
	margin-right: auto;
}

.btfc-page .entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.editor-styles-wrapper .alignwide {
	max-width: var(--btfc-container-wide);
}

.editor-styles-wrapper .alignfull {
	max-width: none;
}

/* —— Shared block primitives (used by btfc/* blocks in later stages) —— */

.btfc-block {
	position: relative;
	box-sizing: border-box;
}

.btfc-block:focus-within {
	outline: none;
}

.btfc-block__focus-ring:focus-visible {
	outline: 3px solid var(--btfc-focus);
	outline-offset: 2px;
}

.btfc-block-surface {
	background: var(--btfc-surface);
	color: var(--btfc-text);
	border: 1px solid var(--btfc-border);
	border-radius: var(--btfc-radius-md);
}

.btfc-block-surface--muted {
	background: var(--btfc-surface-muted);
}

.btfc-block-display-title {
	margin: 0;
	font-family: var(--btfc-font-display);
	font-weight: 800;
	line-height: var(--btfc-lh-heading);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--btfc-navy);
}

.btfc-block-body {
	margin: 0;
	font-family: var(--btfc-font-body);
	font-size: var(--btfc-fs-md);
	line-height: var(--btfc-lh-body);
	color: var(--btfc-text);
}

.btfc-block-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--btfc-navy);
}

.btfc-block-icon .btfc-fa {
	color: inherit;
}

.btfc-block-accent--gold {
	color: var(--btfc-gold);
}

.btfc-block-on-navy {
	background: var(--btfc-navy);
	color: var(--btfc-text-on-navy);
}

.btfc-block-on-navy .btfc-block-display-title {
	color: var(--btfc-white);
}

.btfc-block-on-navy .btfc-block-body {
	color: rgb(255 255 255 / 0.92);
}