.streamline-legacy-services-page {
	background: #ffffff;
	color: #0f0f10;
}

@media (min-width: 946px) {
	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header],
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background,
	html.streamline-home-header-ready body .streamline-nav[data-streamline-home-header],
	body.streamline-home-header-overlay .streamline-nav[data-streamline-home-header] {
		color: #ffffff !important;
	}

	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .streamline-core-header__nav .wp-block-navigation-item__content,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .streamline-core-header__nav .wp-block-navigation-item__content,
	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .streamline-core-header__nav .wp-block-navigation-submenu__toggle,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .streamline-core-header__nav .wp-block-navigation-submenu__toggle,
	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .wp-block-site-title a,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .wp-block-site-title a {
		color: #ffffff !important;
	}

	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .streamline-core-header__nav .wp-block-navigation__submenu-icon,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .streamline-core-header__nav .wp-block-navigation__submenu-icon,
	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .streamline-core-header__nav .wp-block-navigation__responsive-container-open,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .streamline-core-header__nav .wp-block-navigation__responsive-container-open,
	html.streamline-home-header-ready body .wp-block-group.streamline-core-header.has-background[data-streamline-home-header] .streamline-core-header__nav .wp-block-navigation__responsive-container-close,
	body.streamline-home-header-overlay .wp-block-group.streamline-core-header.has-background .streamline-core-header__nav .wp-block-navigation__responsive-container-close {
		color: #ffffff !important;
		fill: #ffffff !important;
		stroke: #ffffff !important;
	}
}

.streamline-legacy-services-banner {
	align-items: center;
	background-color: #111111;
	background-image: var(--streamline-legacy-banner-image);
	background-position: center;
	background-size: cover;
	color: #ffffff;
	display: flex;
	isolation: isolate;
	min-height: clamp(360px, var(--streamline-legacy-banner-height, 58vh), 680px);
	position: relative;
}

.streamline-legacy-services-banner__overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.5) 100%);
	inset: 0;
	position: absolute;
	z-index: -1;
}

.streamline-legacy-services-banner__content {
	margin: 0 auto;
	max-width: 1280px;
	padding: clamp(56px, 8vw, 118px) 24px;
	width: 100%;
}

.streamline-legacy-services-banner h1 {
	color: inherit;
	font-family: var(--wp--preset--font-family--streamline-serif);
	font-size: clamp(2.6rem, 5.4vw, 5.2rem);
	font-weight: 400;
	line-height: 0.95;
	margin: 0;
	max-width: 760px;
}

.streamline-legacy-services-banner p {
	color: #f7f3ec;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	margin: 18px 0 0;
	max-width: 680px;
}

.streamline-legacy-services {
	padding: clamp(36px, 5vw, 74px) 0;
}

.streamline-legacy-services__inner {
	margin: 0 auto;
	max-width: 1320px;
	padding: 0 24px;
}

.streamline-legacy-services__heading {
	font-family: var(--wp--preset--font-family--streamline-serif);
	font-size: clamp(2rem, 3.5vw, 3.35rem);
	font-weight: 400;
	line-height: 1.05;
	margin: 0 0 clamp(28px, 3vw, 46px);
	text-align: center;
}

.streamline-legacy-services__tile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: 0;
}

.streamline-legacy-services__tile + .streamline-legacy-services__tile {
	margin-top: 0;
}

.streamline-legacy-services__tile--reversed .streamline-legacy-services__media {
	order: 2;
}

.streamline-legacy-services__tile--reversed .streamline-legacy-services__content {
	background: var(--streamline-legacy-secondary-bg, #9b9b9b);
	order: 1;
}

.streamline-legacy-services__media {
	background: #ebe6dc;
	min-height: clamp(320px, 27vw, 430px);
	overflow: hidden;
}

.streamline-legacy-services__media img {
	display: block;
	height: 100%;
	min-height: clamp(320px, 27vw, 430px);
	object-fit: cover;
	width: 100%;
}

.streamline-legacy-services__content {
	background: var(--streamline-legacy-primary-bg, #000000);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: clamp(320px, 27vw, 430px);
	padding: clamp(28px, 3vw, 48px);
}

.streamline-legacy-services__copy {
	max-width: 620px;
}

.streamline-legacy-services__content h2 {
	color: inherit;
	font-family: var(--wp--preset--font-family--streamline-serif);
	font-size: clamp(1.75rem, 2.8vw, 3rem);
	font-weight: 400;
	line-height: 1.05;
	margin: 0;
}

.streamline-legacy-services__desc {
	color: inherit;
	font-size: clamp(0.95rem, 1.1vw, 1.08rem);
	line-height: 1.62;
	margin-top: clamp(18px, 2vw, 30px);
}

.streamline-legacy-services__desc p {
	margin: 0 0 1em;
}

.streamline-legacy-services__desc p:last-child {
	margin-bottom: 0;
}

.streamline-legacy-services__actions {
	margin-top: 28px;
	text-align: right;
}

.streamline-legacy-services-button {
	background: var(--streamline-legacy-button-bg, #ffffff);
	border: 1px solid var(--streamline-legacy-button-bg, #ffffff);
	color: var(--streamline-legacy-button-text, #4f4f4f);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 13px 18px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.streamline-legacy-services-button:hover,
.streamline-legacy-services-button:focus {
	background: transparent;
	border-color: currentColor;
	color: #ffffff;
}

.streamline-legacy-services-banner .streamline-legacy-services-button {
	--streamline-legacy-button-bg: #ffffff;
	--streamline-legacy-button-text: #221d1d;
	margin-top: 28px;
}

@media (max-width: 760px) {
	.streamline-legacy-services-banner {
		min-height: 420px;
	}

	.streamline-legacy-services__tile {
		grid-template-columns: 1fr;
	}

	.streamline-legacy-services__tile--reversed .streamline-legacy-services__media,
	.streamline-legacy-services__tile--reversed .streamline-legacy-services__content {
		order: initial;
	}

	.streamline-legacy-services__content,
	.streamline-legacy-services__media,
	.streamline-legacy-services__media img {
		min-height: 0;
	}

	.streamline-legacy-services__media img {
		aspect-ratio: 4 / 3;
	}

	.streamline-legacy-services__actions {
		text-align: left;
	}
}

/* Visual parity correction: old image-banner title scale and centered services title. */
.streamline-legacy-services-banner {
	min-height: clamp(520px, var(--streamline-legacy-banner-height, 84vh), 820px);
}

.streamline-legacy-services-banner__content {
	max-width: 1274px;
	padding-top: 158px;
	text-align: center;
}

.streamline-legacy-services-banner h1 {
	color: #ffffff;
	font-family: "Marcellus", serif;
	font-size: clamp(32px, 2.7vw, 52px);
	font-weight: 500;
	line-height: 1;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	text-align: center;
}

.streamline-legacy-services-banner p {
	font-family: "Montserrat", sans-serif;
	font-size: 16.932px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.streamline-legacy-services {
	padding-top: 60px;
}

.streamline-legacy-services__content h2,
.streamline-legacy-services__heading {
	font-family: "Marcellus", serif;
	font-weight: 500;
	line-height: 1;
}

.streamline-legacy-services__desc,
.streamline-legacy-services__desc p {
	font-family: "Montserrat", sans-serif;
	font-size: 16.932px;
	line-height: 1.65;
}

@media (max-width: 945px) {
	.streamline-legacy-services-banner {
		min-height: 420px;
	}

	.streamline-legacy-services-banner__content {
		padding-top: 80px;
	}

	.streamline-legacy-services-banner p,
	.streamline-legacy-services__desc,
	.streamline-legacy-services__desc p {
		font-size: 14px;
	}
}
