/* Stable design repairs. Elementor keeps ownership of content and layout. */

/* Keep the complete training catalogue on one calm, continuous surface. */
body.home .elementor-element-6c0d53f,
body.home .elementor-element-d2ddf69 {
	background: transparent !important;
}

@media (max-width: 767px) {
	body.home .elementor-element-8bbf387,
	body.home .elementor-element-6a17a83,
	body.home .elementor-element-3ad1f05,
	body.home .elementor-element-4fc7d49,
	body.home .elementor-element-247b85e,
	body.home .elementor-element-edba041,
	html body.home .elementor-element-6a17a83.dua-blue-surface,
	html body.home .elementor-element-4fc7d49.dua-blue-surface,
	html body.home .elementor-element-edba041.dua-blue-surface {
		background: transparent !important;
	}
}

/* Six local-centre cards: a stable three-by-two grid on desktop. */
body.page-id-4566150 .dua-local-centres-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	align-items: stretch;
	gap: 26px !important;
}

body.page-id-4566150 .dua-local-centre-card {
	position: relative;
	width: 100% !important;
	min-width: 0;
	overflow: hidden;
}

body.page-id-4566150 .dua-local-centre-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #365c9e 0%, #2a4981 62%, #ea5356 100%);
}

@media (max-width: 980px) {
	body.page-id-4566150 .dua-local-centres-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	body.page-id-4566150 .dua-local-centres-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}
}

/* Keep the information section visually connected to the local-centre grid. */
body.page-id-4566150 .elementor-element-7mpf012 > .e-con-inner {
	padding-top: 80px !important;
	padding-bottom: 100px !important;
}

@media (max-width: 767px) {
	body.page-id-4566150 .elementor-element-7mpf012 > .e-con-inner {
		padding-top: 56px !important;
		padding-bottom: 72px !important;
	}
}

/* Local-page introductions sit on a photograph and must stay readable. */
body:is(.page-id-4572575, .page-id-4572576, .page-id-4572577, .page-id-3845, .page-id-4572585)
	.page-content > .elementor > .e-con:first-child .elementor-widget-text-editor,
body:is(.page-id-4572575, .page-id-4572576, .page-id-4572577, .page-id-3845, .page-id-4572585)
	.page-content > .elementor > .e-con:first-child .elementor-widget-text-editor p {
	color: rgba(255, 255, 255, .94) !important;
	text-shadow: 0 1px 3px rgba(8, 18, 36, .5);
}

@media (max-width: 767px) {
	body:is(.page-id-4572575, .page-id-4572576, .page-id-4572577, .page-id-3845, .page-id-4572585)
		.page-content > .elementor > .e-con:first-child .elementor-widget-text-editor p {
		font-size: 16px !important;
		line-height: 1.55 !important;
	}
}
