/* FTF Hero Header (blocks/hero) */

/* Site custom CSS gives every WPBakery row 2em top padding (!important).
   Remove it from the row holding the hero so the hero sits directly under the breadcrumb bar. */
.wpb_row:has(.ftf-hero) {
	padding-top: 0 !important;
}
.ftf-hero {
	container-type: inline-size;
	position: relative;
	width: 100%;
	margin: 0; /* fills its column, so edges line up with other page content */
	font-family: Lato, sans-serif;
}
.ftf-hero .ftf-hero__media {
	height: 34vw;               /* fallback for older browsers */
	max-height: 409px;
	min-height: 200px;
	height: clamp(200px, 34.08cqw, 409px);
	overflow: hidden;
	background: #ddd;
}
.ftf-hero .ftf-hero__media img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}
.ftf-hero .ftf-hero__panel {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 480px;
	max-width: 65%;
	min-height: 80px;
	box-sizing: border-box;
	padding: 22px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgb(var(--ftf-rgb) / .88);
	color: #fff;
}
.ftf-hero h1.ftf-hero__title {
	margin: 0;
	padding: 0;
	font-family: Lato, sans-serif;
	font-size: 24px;
	line-height: 1.25 !important; /* site custom CSS forces h1 line-height with !important */
	font-weight: 400;
	font-style: normal;
	text-transform: none;
	color: #fff;
}
.ftf-hero p.ftf-hero__summary {
	margin: 8px 0 0;
	padding: 0;
	font-family: Lato, sans-serif;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 400;
	letter-spacing: 0;
	color: #fff;
}
.ftf-hero .ftf-hero__sep {
	display: inline-block;
	margin: 0 .1em;
	opacity: .7;
}
@container (max-width: 599px) {
	.ftf-hero .ftf-hero__panel {
		position: static;
		width: 100%;
		max-width: none;
		padding: 18px 20px;
		background: rgb(var(--ftf-rgb));
	}
	.ftf-hero h1.ftf-hero__title { font-size: 22px; }
	.ftf-hero p.ftf-hero__summary { font-size: 16px; }
}
