/* WashCommand 2.0.0 — layout fixes found on the live site, 18 Nov 2026.
 *
 * Loaded last (after site.css, c3-ui.css and c3-refresh.css) because each of
 * those already carries an !important rule on the same elements.
 */

/* ------------------------------------------------------------------ *
 * 1. THE MENU ON LAPTOPS
 *
 * site.css hid the whole menu behind a "Menu" button at 1400px and below.
 * That is every laptop: 1280, 1366 and 1440-with-a-sidebar all got a phone
 * menu on a desktop page. The breakpoint in site.css is now 1240px. Between
 * 1241 and 1400 the one long label is shortened so the row fits with the
 * logo: measured on the live page at 1241, 1280, 1366 and 1400.
 *
 * The long and short labels are two spans in the markup (consolidated.php).
 * display:none hides the unused one from screen readers as well.
 * ------------------------------------------------------------------ */

.c3-mainnav .c3-nav-short {
	display: none;
}

@media (min-width: 1241px) and (max-width: 1400px) {
	.c3-mainnav .c3-nav-long {
		display: none;
	}

	.c3-mainnav .c3-nav-short {
		display: inline;
	}

	html body .c3-mainnav nav {
		gap: 13px !important;
	}
}

/* ------------------------------------------------------------------ *
 * 2. NINE SERVICE CARDS, THREE BY THREE
 *
 * RC51.15 meant to lay the homepage services out three to a row. The rule
 * lost to an older four-column rule in c3-ui.css
 *     html body .c3-home-services .c3-home-service-grid.c3-home-service-grid
 * which is more specific, so the live page kept two rows of four with one
 * card left over on a row by itself. Same intent, enough specificity to win.
 * Scoped to the refresh so its off switch still returns the old layout.
 * ------------------------------------------------------------------ */

@media (min-width: 701px) {
	html body.c3-refresh .c3-home-services .c3-home-service-grid.c3-home-service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
