/* Family Experience landing — scoped to this template */

body.page-template-family-experience #top-area,
body.page-template-family-experience #site-header,
body.page-template-family-experience .page-title-block,
body.page-template-family-experience #footer-nav,
body.page-template-family-experience #colophon,
body.page-template-family-experience .scroll-top-button {
	display: none !important;
}

body.page-template-family-experience #page,
body.page-template-family-experience #main-content {
	padding: 0;
	margin: 0;
	background: #fff;
}

body.page-template-family-experience {
	background: #fff;
}

.fx-landing {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #1a1a1a;
	line-height: 1.45;
}

.fx-landing * {
	box-sizing: border-box;
}

.fx-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 32px;
}

.fx-hero {
	padding: 36px 0 0;
	background: #fff;
	overflow: hidden;
	position: relative;
}

.fx-landing .fx-hero > .wpb_column {
	position: relative;
	z-index: 2;
}

.fx-landing .fx-hero > .wpb_column:has(.fx-hero-photo) {
	z-index: 1;
}

.fx-logo {
	display: block;
	width: 220px;
	max-width: 50%;
	height: auto;
	margin-bottom: 48px;
}

.fx-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.fx-hero h1 {
	margin: 0 0 24px;
	color: #D06F18 !important;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.fx-hero p {
	margin: 0;
	font-size: 20px;
	color: #222;
}

.fx-landing .fx-hero-lead {
	color: #65656a;
	font-size: 32px;
	line-height: 1.3;
	margin: 28px 0 48px;
	position: relative;
	z-index: 2;
	white-space: nowrap;
}

.fx-landing .fx-hero-lead span {
	display: block;
	width: max-content;
	white-space: nowrap;
}

.fx-hero-photo {
	width: 100%;
	height: auto;
	display: block;
}

/* Pull the photo under the copy so “forms” / “way” sit on the fade */
.fx-landing .fx-hero-photo {
	margin-left: -32vw;
	width: calc(100% + 32vw);
}

.fx-landing .fx-hero-photo .vc_figure,
.fx-landing .fx-hero-photo .vc_single_image-wrapper,
.fx-landing .fx-hero-photo img {
	width: 100% !important;
	max-width: none !important;
}

/* Fade the left ~25% into the white column — img only, not wrapper */
.fx-landing .fx-hero-photo img {
	width: 100%;
	height: 1000px;
	min-height: 1000px;
	object-fit: cover;
	object-position: 72% 22%;
	transform: translateX(250px);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
	mask-image: linear-gradient(to right, transparent 0%, #000 22%);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.fx-insights {
	background: #f6efe6;
	padding: 72px 0 80px;
}

.fx-insights h2 {
	margin: 0 0 16px;
	color: #D06F18 !important;
	font-size: 40px;
	font-weight: 700;
	text-align: center;
}

.fx-insights .fx-lead {
	margin: 0 auto 36px;
	max-width: 36em;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
}

.fx-insights .wpcf7 {
	max-width: none;
	width: 100%;
	margin: 0;
	padding-left: 20px;
	padding-right: 20px;
}

.fx-insights textarea,
.fx-insights input[type="text"],
.fx-insights input[type="email"],
.fx-form-share textarea,
.fx-form-share input[type="text"],
.fx-form-share input[type="email"] {
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: #fff;
	padding: 16px 18px;
	font-size: 16px;
	box-shadow: none;
}

.fx-insights textarea,
.fx-form-share textarea {
	min-height: 240px;
	resize: vertical;
	margin-bottom: 20px;
}

.fx-insights input[type="text"],
.fx-form-share input[type="email"] {
	min-height: 56px;
	padding: 18px 18px;
}

.fx-form-row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.fx-form-row p {
	margin: 0;
}

.fx-name-field {
	flex: 1;
	min-width: 0;
}

.fx-form-row .wpcf7-form-control-wrap {
	flex: 1;
}

.fx-name-hint {
	display: block;
	margin: 8px 0 0;
	font-size: 14px;
	color: #555;
	font-style: italic;
	font-weight: bolder;
}

.fx-form-insights .wpcf7-submit,
.fx-form-share .wpcf7-submit {
	flex-shrink: 0;
	min-height: 56px;
	align-self: flex-start;
	margin: 0 !important;
}

.fx-form-row > p:last-child {
	position: relative;
	flex-shrink: 0;
	align-self: flex-start;
	margin: 0 !important;
	padding: 0;
}

.fx-form-insights .wpcf7-spinner,
.fx-form-share .wpcf7-spinner {
	position: absolute;
	right: 8px;
	top: 50%;
	margin-top: -8px;
}

.fx-landing .wpcf7-submit,
.fx-landing .fx-paper-btn,
.fx-landing .vc_btn3,
.fx-landing .vc_btn3.vc_btn3-style-custom {
	background: #254058 !important;
	background-color: #254058 !important;
	border-color: #254058 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 14px 36px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	cursor: pointer;
	white-space: nowrap;
}

.fx-paper {
	padding: 80px 0;
	background: #fff;
}

.fx-paper-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.fx-paper-cover {
	width: 100%;
	max-width: 420px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.fx-paper h2 {
	margin: 0 0 28px;
	color: #D06F18 !important;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
}

.fx-paper-btn {
	display: inline-block;
	text-decoration: none !important;
	margin-bottom: 12px;
}

.fx-landing .fx-paper .vc_btn3-container.fx-paper-btn {
	width: fit-content !important;
	display: block;
}

.fx-landing .fx-paper .fx-paper-btn .vc_btn3,
.fx-landing .fx-paper .fx-paper-btn .vc_btn3.vc_btn3-style-custom {
	width: auto !important;
	display: inline-block !important;
}

.fx-paper-note {
	margin: 0 0 36px;
	font-size: 14px;
	color: #555;
}

.fx-share h3 {
	margin: 0 0 8px;
	color: #D06F18 !important;
	font-size: 22px;
	font-weight: 700;
}

.fx-share p {
	margin: 0 0 16px;
	font-size: 16px;
}

.fx-share-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	font-size: 16px;
	color: #333;
	line-height: 1.4;
}

.fx-share-toggle {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: #254058;
}

.fx-paper .wpcf7 {
	display: none;
	margin-top: 16px;
	max-width: 640px;
}

.fx-paper:has(.fx-share-toggle:checked) .wpcf7 {
	display: block;
}

.fx-form-share {
	background: #fff;
	padding: 0;
	max-width: 640px;
}

.fx-form-share textarea,
.fx-form-share input[type="email"] {
	background: #fff;
	border: 1px solid #d5d5d5;
}

.fx-foot {
	background: #636366;
	color: #fff;
	text-align: right;
	padding: 22px 32px !important;
	font-size: 14px;
	margin: 0 !important;
}

.fx-landing .fx-foot > .wpb_column,
.fx-landing .fx-foot .vc_column-inner,
.fx-landing .fx-foot .wpb_wrapper,
.fx-landing .fx-foot .wpb_text_column,
.fx-landing .fx-foot .title-h5 {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

.fx-landing .wpcf7-not-valid-tip,
.fx-landing .wpcf7-response-output {
	font-size: 14px;
}

.fx-landing .vc_row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.fx-landing .wpb_content_element {
	margin-bottom: 0.6em;
}

.fx-landing .fx-logo img,
.fx-landing .fx-paper-cover img {
	width: 105%;
	height: auto;
	transform: scale(1.2);
}

.fx-landing .fx-logo {
	max-width: 220px;
	margin-bottom: 36px;
}

.fx-landing .fx-paper-cover {
	margin: 0;
}

.fx-landing .fx-foot .wpb_text_column,
.fx-landing .fx-foot .wpb_wrapper,
.fx-landing .fx-foot p,
.fx-landing .fx-foot .wpb_content_element {
	color: #fff;
	text-align: right !important;
	margin: 0 !important;
}

@media (max-width: 1359px) {
	.fx-landing .fx-hero {
		padding-left: 40px !important;
	}

	.fx-landing .fx-hero-photo {
		margin-left: -16vw;
		width: calc(100% + 16vw);
	}

	.fx-landing .fx-hero-photo img {
		height: 720px;
		min-height: 720px;
		transform: translateX(80px);
	}

	.fx-landing .fx-hero h1,
	.fx-landing .fx-hero h1.title-h1 {
		font-size: 48px !important;
	}

	.fx-landing .fx-hero-lead {
		font-size: 24px;
	}

	.fx-landing .fx-insights,
	.fx-landing .fx-paper {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}

	.fx-landing .fx-insights > .wpb_column,
	.fx-landing .fx-paper > .wpb_column {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
	}

	.fx-landing .fx-insights > .wpb_column.vc_col-sm-2 {
		display: none;
	}

	.fx-landing .fx-insights .wpcf7 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.fx-landing .fx-insights .wpb_text_column,
	.fx-landing .fx-paper .wpb_text_column {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-right: 0 !important;
	}

	.fx-landing .fx-paper h2 {
		font-size: 32px !important;
		line-height: 1.2 !important;
	}

	.fx-landing .fx-paper .fx-paper-cover {
		margin-top: 0 !important;
		margin-bottom: 50px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-top: 0 !important;
		max-width: 320px;
	}

	.fx-landing .fx-paper .fx-paper-cover img {
		width: 100% !important;
		max-width: 100% !important;
		transform: none;
	}

	.fx-landing .fx-paper .vc_btn3 {
		white-space: normal;
	}
}

@media (max-width: 767px) {
	.fx-hero-grid,
	.fx-paper-grid,
	.fx-form-row {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
	}

	.fx-landing .fx-hero {
		padding: 24px 20px 0 !important;
		margin-top: 0 !important;
		overflow: hidden;
	}

	.fx-landing .fx-hero > .wpb_column,
	.fx-landing .fx-paper > .wpb_column,
	.fx-landing .fx-insights > .wpb_column {
		width: 100% !important;
		margin: 0 !important;
	}

	.fx-landing .fx-insights .wpb_column.vc_col-sm-2 {
		display: none;
	}

	.fx-landing .fx-hero .wpb_column:first-child .wpb_single_image:not(.fx-hero-photo) {
		margin-top: 0 !important;
		margin-bottom: 20px !important;
		margin-left: 0 !important;
		max-width: 160px;
	}

	.fx-landing .fx-hero h1,
	.fx-landing .fx-hero h1.title-h1 {
		font-size: 32px !important;
		line-height: 1.15 !important;
		margin: 0 0 4px !important;
	}

	.fx-landing .fx-hero-lead {
		white-space: normal;
		font-size: 18px;
		line-height: 1.35 !important;
		margin: 16px 0 24px !important;
	}

	.fx-landing .fx-hero-lead span {
		white-space: normal;
		width: auto;
	}

	.fx-landing .fx-hero-photo {
		margin-left: 0;
		width: 100%;
	}

	.fx-landing .fx-hero-photo img {
		height: auto !important;
		min-height: 220px;
		max-height: 420px;
		transform: none;
	}

	.fx-insights,
	.fx-paper {
		padding: 40px 20px;
	}

	.fx-insights .wpcf7 {
		padding-left: 0;
		padding-right: 0;
	}

	.fx-landing .fx-insights h2,
	.fx-landing .fx-paper h2 {
		font-size: 28px !important;
		line-height: 1.2 !important;
		text-align: left !important;
	}

	.fx-landing .fx-insights div[style*="font-size:30px"] {
		font-size: 20px !important;
		line-height: 1.35;
	}

	.fx-landing .fx-insights .wpb_text_column,
	.fx-landing .fx-paper .wpb_text_column {
		padding-left: 0 !important;
		margin-right: 0 !important;
	}

	.fx-landing .fx-paper .fx-paper-cover {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 280px;
	}

	.fx-share-label,
	.fx-landing .fx-paper .title-h5,
	.fx-landing .fx-paper .fx-share-label {
		font-size: 16px !important;
	}

	.fx-form-insights .wpcf7-submit,
	.fx-form-share .wpcf7-submit,
	.fx-form-row .wpcf7-submit {
		width: 100%;
	}
}
