/* ============================================================
   Facilities section (layout "facilities")
   Design ref: grounds.png y1380-1850. Cream band, centred intro,
   checklist flowing into columns (3 desktop / 2 tablet / 1 mobile)
   with caramel ticks.
   ============================================================ */

.facilities {
	background: var(--color-cream-light);
	padding-block: var(--section-padding);
}

.facilities__intro {
	margin-bottom: var(--space-xl);
	text-align: center;
}

.facilities__heading {
	margin-bottom: 0;
}

/* Optional single line under the heading (Funding & Fees "What your fee
   covers"). The Hall & Grounds leaves this field empty and renders nothing.
   NOTE the name: `.facilities__text` is ALREADY taken by the item label span
   inside each list row, and that row is a flex container - so styling
   `.facilities__text` here (a `margin: ... auto` in particular) silently
   pushes every tick label across its column. Keep this class distinct. */
.facilities__intro-text {
	max-width: 42rem;
	margin: var(--space-sm) auto 0;
	color: var(--color-text);
}

.facilities__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* gap 0.375rem: 18px glyph + 6px puts the label at +24px, matching the
   measured +23px on both the grounds and Funding & Fees designs. */
.facilities__item {
	display: flex;
	gap: 0.375rem;
	align-items: flex-start;
	margin-bottom: 0.875rem;
	break-inside: avoid;
	line-height: 1.4;
}

.facilities__check {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--color-accent);
}

.facilities__check svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (min-width: 640px) {
	.facilities__list {
		column-count: 2;
		column-gap: 3rem;
	}
}

@media (min-width: 1024px) {
	.facilities__list {
		column-count: 3;
		column-gap: 3rem;
	}
}
