/* 2026-11-19: facilities cards + spec-bar icons (inc/facilities.php). */

/* Card grid: flex so wide/narrow cards share rows without gaps. */
#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
}
#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) > .brxe-shortcode {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
}
#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) > .brxe-shortcode:has(> .mcl-fac--wide) { flex: 2 1 560px; }
#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) > .brxe-shortcode:has(> .mcl-fac--narrow) { flex: 1 1 260px; }
#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) > .brxe-shortcode:not(:has(> .mcl-fac)) { display: none; }

.mcl-fac {
	flex: 1;
	background: var(--mcl-white, #fff);
	border: 1px solid #DCE4E8;
	border-radius: var(--mcl-r, 16px);
	padding: 22px 24px 24px;
	box-shadow: 0 1px 2px rgba(11, 42, 60, .04), 0 6px 18px -10px rgba(11, 42, 60, .18);
}
.mcl-fac__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid #E6ECEF;
}
.mcl-fac__icon {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #E8F2F6;
	color: var(--mcl-dn, #0B4F6C);
}
.mcl-fac__icon svg { width: 22px; height: 22px; }
#brx-content .mcl-fac__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--mcl-navy, #0B2A3C);
	flex: 1;
}
#brx-content .mcl-fac__title::before,
#brx-content .mcl-fac__title::after { content: none; display: none; }
.mcl-fac__count {
	flex: none;
	font-family: var(--mcl-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--mcl-dn, #0B4F6C);
	background: #F2F7F9;
	border-radius: 999px;
	padding: 3px 11px;
	line-height: 1.4;
}
.mcl-fac__count small { font-family: var(--mcl-body); font-size: 11px; font-weight: 500; margin-left: 2px; color: #3D5866; }

.mcl-fac .mcl-checklist {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px 18px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mcl-navy, #0B2A3C);
}
.mcl-fac .mcl-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.mcl-fac .mcl-checklist li::before { content: none; display: none; }
.mcl-fac .mcl-checklist li svg {
	flex: none;
	width: 18px;
	height: 18px;
	padding: 3px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--mcl-dn, #0B4F6C);
	color: #fff;
	stroke-width: 3;
}

@media (max-width: 767px) {
	.mcl-fac { padding: 18px 16px 20px; }
	.mcl-fac .mcl-checklist { grid-template-columns: 1fr 1fr; gap: 9px 10px; font-size: 13px; }
	.mcl-fac .mcl-checklist li { gap: 6px; }
	.mcl-fac .mcl-checklist li svg { width: 16px; height: 16px; }
	#brx-content .brxe-container:has(> .brxe-shortcode > .mcl-fac) > .brxe-shortcode { flex-basis: 100%; }
}

/* Spec bar icons. */
.mcl-spec__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: #E8F2F6;
	color: var(--mcl-dn, #0B4F6C);
}
.mcl-spec__icon svg { width: 19px; height: 19px; }
@media (max-width: 767px) {
	.mcl-spec__icon { width: 30px; height: 30px; margin-bottom: 6px; }
	.mcl-spec__icon svg { width: 17px; height: 17px; }
}