/* FTF Hero Split (blocks/hero-split)
   400px tall at full width. Text column: heading band 100px over a white summary area 300px,
   each vertically centred in its area. Photo on the right, 400 x 400px. */

/* Site custom CSS gives every WPBakery row 2em top padding (!important).
   Remove it from the row holding this hero so it sits directly under the breadcrumb bar. */
.wpb_row:has(.ftf-hero-split) {
	padding-top: 0 !important;
}

.ftf-hero-split {
	container-type: inline-size;
	width: 100%;
	margin: 0; /* fills its column, so edges line up with other page content */
	box-sizing: border-box;
	background: #fff;
	font-family: Lato, sans-serif;
}
.ftf-hero-split .ftf-hero-split__inner {
	display: flex;
	min-height: 400px;
}

.ftf-hero-split .ftf-hero-split__text {
	flex: 1 1 auto; /* the rest of the width: about 800px at full width */
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* Heading band: tinted by default, white if chosen. Heading vertically centred. */
.ftf-hero-split .ftf-hero-split__head {
	flex: 0 0 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 16px 56px;
	background: #F3E7DF;
}
.ftf-hero-split--white .ftf-hero-split__head { background: #fff; }
.ftf-hero-split h1.ftf-hero-split__title {
	margin: 0;
	padding: 0;
	font-family: Lato, sans-serif;
	font-size: 30px;
	line-height: 1.15 !important; /* site CSS forces 100% on h1 */
	font-weight: 300;
	color: #8A5614; /* as Range Card titles; the site's gold is too faint on the tint */
}

/* Summary area: always white, text vertically centred. */
.ftf-hero-split .ftf-hero-split__summary {
	flex: 1 0 300px; /* grows if the summary is longer than the space allows */
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px 56px;
	background: #fff;
}
/* Summary matches the site's standard paragraphs. */
.ftf-hero-split .ftf-hero-split__summary p {
	margin: 0 0 16.5px;
	padding: 0;
	max-width: 40em;
	font-family: Lato, sans-serif;
	font-size: 15px;
	line-height: 25px;
	font-weight: 300;
	color: #333;
}
.ftf-hero-split .ftf-hero-split__summary p:last-child { margin-bottom: 0; }

.ftf-hero-split .ftf-hero-split__media {
	flex: 0 0 min(400px, 33.333%); /* 400px at full width */
	position: relative;
	min-height: 400px;
	overflow: hidden;
}
.ftf-hero-split .ftf-hero-split__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

/* Narrow screens: photo on top, then heading band and summary. */
@container (max-width: 699px) {
	.ftf-hero-split .ftf-hero-split__inner { flex-direction: column; min-height: 0; }
	.ftf-hero-split .ftf-hero-split__media { order: -1; flex: none; min-height: 0; aspect-ratio: 4 / 3; }
	.ftf-hero-split .ftf-hero-split__head { flex: none; padding: 20px 20px 14px; }
	.ftf-hero-split h1.ftf-hero-split__title { font-size: 26px; }
	.ftf-hero-split .ftf-hero-split__summary { flex: none; padding: 18px 20px 28px; }
}
