/**
 * X Team page-specific layout corrections.
 *
 * The team directory and page-banner integrations both target this page.
 * Keep only the page-banner caption and restore a readable content measure.
 */

body.otm-x-team-page .custom-header-media .otm-hero-caption {
	display: none !important;
}

body.otm-x-team-page .custom-header-media .sln-page-banner__caption {
	align-items: center !important;
	justify-content: center !important;
	padding: 2rem 1rem !important;
}

body.otm-x-team-page #content {
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1140px !important;
	padding-left: clamp(1rem, 3vw, 2rem) !important;
	padding-right: clamp(1rem, 3vw, 2rem) !important;
	width: 100%;
}

body.otm-x-team-page #content > .row,
body.otm-x-team-page #content #primary {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

body.otm-x-team-page .entry-content {
	margin-left: auto;
	margin-right: auto;
	max-width: 950px;
}

body.otm-x-team-page .entry-content img {
	height: auto;
	max-width: 100%;
}

@media (max-width: 991px) {
	body.otm-x-team-page .custom-header-media .sln-page-banner__caption {
		padding: 1.5rem 1rem !important;
	}
}

@media (max-width: 767px) {
	body.otm-x-team-page .custom-header-media .sln-page-banner__caption {
		padding: 1rem 0.85rem !important;
	}
}
