/**
 * Utilitaires — classes d'aide utilisables dans les contenus et le
 * champ « Classe CSS » des modules Divi.
 */

/* Espacement */
.bt-theme .bt-mt-0 { margin-top: 0 !important; }
.bt-theme .bt-mb-0 { margin-bottom: 0 !important; }
.bt-theme .bt-mt-md { margin-top: var(--bt-spacing-md) !important; }
.bt-theme .bt-mb-md { margin-bottom: var(--bt-spacing-md) !important; }
.bt-theme .bt-mt-lg { margin-top: var(--bt-spacing-lg) !important; }
.bt-theme .bt-mb-lg { margin-bottom: var(--bt-spacing-lg) !important; }
.bt-theme .bt-py-lg { padding-top: var(--bt-spacing-lg) !important; padding-bottom: var(--bt-spacing-lg) !important; }

/* Texte */
.bt-theme .bt-text-center { text-align: center !important; }
.bt-theme .bt-text-muted { color: var(--bt-color-text-muted) !important; }
.bt-theme .bt-text-accent { color: var(--bt-color-accent) !important; }
.bt-theme .bt-text-sm { font-size: var(--bt-font-size-sm) !important; }

/* Surfaces */
.bt-theme .bt-surface {
	background: var(--bt-color-surface);
	border: 1px solid var(--bt-color-border);
	border-radius: var(--bt-radius-lg);
	box-shadow: var(--bt-shadow-sm);
	padding: var(--bt-spacing-lg);
}

.bt-theme .bt-surface-alt {
	background: var(--bt-color-surface-alt);
	border-radius: var(--bt-radius-lg);
	padding: var(--bt-spacing-lg);
}

/* Rayons */
.bt-theme .bt-rounded { border-radius: var(--bt-radius-lg) !important; overflow: hidden; }
.bt-theme .bt-rounded-pill { border-radius: var(--bt-radius-pill) !important; }

/* Ombres */
.bt-theme .bt-shadow { box-shadow: var(--bt-shadow-md) !important; }
.bt-theme .bt-shadow-none { box-shadow: none !important; }

/* Flex */
.bt-theme .bt-flex { display: flex; gap: var(--bt-spacing-md); }
.bt-theme .bt-flex-center { display: flex; align-items: center; justify-content: center; gap: var(--bt-spacing-md); }

/* Accessibilité */
.bt-theme .bt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
