/**
 * Bootstrap 5.3 utilities (subset) — text, flex, spacing, gutters.
 */

/* Text */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

.text-white { color: #fff !important; }

/* Brand dark green — wrap a section so text inside uses this color */
.text-brand {
	--text-brand-color: #032f26;
	color: var(--text-brand-color);
}

.text-brand :where(
	p,
	li,
	span,
	label,
	small,
	strong,
	em,
	blockquote,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	a:not(.btn):not(.btn-primary)
) {
	color: var(--text-brand-color);
}

/* Display & flex */
.d-inline-flex { display: inline-flex !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }

/* Sizing */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }

/* Margin */
.m-0 { margin: 0 !important; }
.mt-auto { margin-top: auto !important; }
.mt-3 { margin-top: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

@media (min-width: 992px) {
	.ms-lg-3 { margin-left: 1rem !important; }
	.mt-lg-0 { margin-top: 0 !important; }
	.mb-lg-0 { margin-bottom: 0 !important; }
}

/* Padding */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* Background */
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #212529 !important; }

/* Row gutters (use on .row) */
.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }

.gy-4 { --bs-gutter-y: 1.5rem; }
.gy-5 { --bs-gutter-y: 3rem; }

@media (min-width: 768px) {
	.g-md-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
}
