/*
 * Small, native CSS Grid layout for this page.
 * Familiar column spans and breakpoints, without a framework dependency.
 * This is the set used by this page, not the complete Bootstrap utility API.
 */

.container
{
	width: 100%;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.grid
{
	--grid-x: 1.5rem;
	--grid-y: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: min(var(--grid-x), 8%);
	row-gap: var(--grid-y);
}

.grid > *
{
	min-width: 0;
	grid-column: 1 / -1;
}

.g-4 { --grid-x: 1.5rem; --grid-y: 1.5rem; }
.gy-3 { --grid-y: 1rem; }
.gy-4 { --grid-y: 1.5rem; }
.gy-5 { --grid-y: 3rem; }
.align-items-center { align-items: center; }
.align-items-end { align-items: end; }
.mb-5 { margin-bottom: 3rem; }

/* Containers keep the same widths as the approved design. */
@media (min-width: 576px)
{
	.container { max-width: 540px; }
}

@media (min-width: 768px)
{
	.container { max-width: 720px; }
	.grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.grid > * { grid-column: span 12; }
	.col-md-4 { grid-column: span 4; }
	.col-md-6 { grid-column: span 6; }
}

@media (min-width: 992px)
{
	.container { max-width: 960px; }
	.gx-lg-5 { --grid-x: 3rem; }
	.col-lg-3 { grid-column: span 3; }
	.col-lg-5 { grid-column: span 5; }
	.col-lg-7 { grid-column: span 7; }
	.col-lg-9 { grid-column: span 9; }
}

@media (min-width: 1200px)
{
	.container { max-width: 1140px; }
}

@media (min-width: 1400px)
{
	.container { max-width: 1232px; }
}
