/**
 * Case study pages only (single case-studies). Loaded after the main theme CSS.
 *
 * Cards block (services_mini_selection) in two columns instead of three: add
 * <span class="cs-cards-2"></span> to the block's title area. Used where a section has
 * four cards, so they sit as an even 2 × 2 grid rather than 3 + 1.
 * (Matched via the section, as the block's template glues its "mini-services" class onto
 * the previous one without a space, so that class can't be relied on.)
 */
@media (min-width: 768px) {
	section:has(.cs-cards-2) .container > .row:not(.mb-5) > [class*="col-"] {
		flex: 0 0 50%;
		max-width: 50%;
	}
	/* The block staggers its card margins for three columns; even them out for two. */
	section:has(.cs-cards-2) .container > .row:not(.mb-5) > [class*="col-"] > div {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	section:has(.cs-cards-2) .container > .row:not(.mb-5) > [class*="col-"]:nth-child(odd) > div {
		margin-right: 2.5rem !important;
	}
	section:has(.cs-cards-2) .container > .row:not(.mb-5) > [class*="col-"]:nth-child(even) > div {
		margin-left: 2.5rem !important;
	}
}
