/* =============================================================================
   ECR — committee and delegation pages: role sections
   (client feedback, 29 September 2026)

   The Members of a committee or delegation are grouped as ecrgroup.eu groups
   them — Coordinator, Deputy Coordinator, Chair, Vice Chairs, Members,
   Substitutes. Markup: ecr_mep_body_sections() in inc/mep/render.php.
   The heading reuses the look of the profile's "Parliament roles" headings
   (.ecr-mep-roles__title in mep.css), one step smaller, so a section reads as
   a subdivision of the page and not as a new page.
   ========================================================================== */

.ecr-mep .ecr-mep-bodyrole {
	margin-top: 40px;
}

.ecr-mep .ecr-mep-bodyrole:first-of-type {
	margin-top: 8px;
}

.ecr-mep .ecr-mep-bodyrole__title {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--mep-primary, #1866A5);
	font-size: clamp(1.25rem, 1.9vw, 1.6rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--mep-text, #444);
}

@media only screen and (max-width: 690px) {
	.ecr-mep .ecr-mep-bodyrole {
		margin-top: 28px;
	}

	.ecr-mep .ecr-mep-bodyrole__title {
		margin-bottom: 14px;
		padding-bottom: 10px;
	}
}
