/**
 * Team/About — desktop Figma 376:49 (1512 × 4718).
 * The <=767px composition is an explicitly authorized inference.
 */

body.page-template-page-team {
	background: #fff;
}

.cohen-team-main,
.cohen-team-main > .wp-block-post-content {
	margin: 0 !important;
}

.cohen-team-main > .wp-block-post-content {
	margin-inline: auto !important;
	max-inline-size: calc(100 * var(--cohen-u));
}

.cohen-team-main .wp-block-post-content > *,
.cohen-team-page,
.cohen-team-page > *,
.cohen-team-page p,
.cohen-team-page h1,
.cohen-team-page h2,
.cohen-team-page h3,
.cohen-team-page figure {
	margin: 0 !important;
}

/* Core's block-gap selector adds physical margins even to absolutely
 * positioned siblings. These measured composition nodes must stay on their
 * literal Figma coordinates. */
.cohen-team-leadership__cards,
.cohen-team-leader,
.cohen-team-leader__art,
.cohen-team-leader__content,
.cohen-team-directory__grid,
.cohen-team-member,
.cohen-team-member__content,
.cohen-team-story__copy {
	margin: 0 !important;
}

.cohen-team-page {
	background: #fff;
	block-size: calc(272.5529 * var(--cohen-uv));
	overflow: clip;
	position: relative;
}

.cohen-team-atmosphere {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.cohen-team-atmosphere img {
	max-inline-size: none;
	position: absolute;
}

.cohen-team-atmosphere__top {
	block-size: calc(153.704 * var(--cohen-uv));
	inline-size: calc(160.185 * var(--cohen-u));
	left: calc(-81.837 * var(--cohen-u));
	top: calc(-17.593 * var(--cohen-uv));
}

.cohen-team-atmosphere__lower {
	block-size: calc(204.696 * var(--cohen-uv));
	inline-size: calc(213.294 * var(--cohen-u));
	left: calc(-91.493 * var(--cohen-u));
	top: calc(142.659 * var(--cohen-uv));
}

.cohen-team-hero,
.cohen-team-leadership,
.cohen-team-directory,
.cohen-team-story {
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.cohen-team-hero {
	block-size: calc(67.0635 * var(--cohen-uv));
	min-block-size: 0 !important;
	overflow: hidden;
	padding: 0;
}

.cohen-team-hero .wp-block-cover__image-background,
.cohen-team-hero .wp-block-cover__background {
	block-size: calc(67.7249 * var(--cohen-uv));
	inline-size: calc(101.5873 * var(--cohen-u));
	/* The Figma photo layer begins at x=9.2 and exposes a conspicuous white
	   sliver at the frame edge. Extend the paint box to x=0 while offsetting
	   its mask by the same amount, so the curve itself does not move. */
	left: 0;
	max-inline-size: none;
	top: calc(-.6614 * var(--cohen-uv));
	-webkit-mask-image: url("../images/team-fidelity-hero-mask-r3.svg");
	mask-image: url("../images/team-fidelity-hero-mask-r3.svg");
	-webkit-mask-position: calc(-7.499 * var(--cohen-u)) calc(-3.9021 * var(--cohen-uv));
	mask-position: calc(-7.499 * var(--cohen-u)) calc(-3.9021 * var(--cohen-uv));
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: calc(117.848 * var(--cohen-u)) calc(69.9074 * var(--cohen-uv));
	mask-size: calc(117.848 * var(--cohen-u)) calc(69.9074 * var(--cohen-uv));
}

.cohen-team-hero .wp-block-cover__image-background {
	object-fit: cover;
	object-position: 49.4% 49%;
}

.cohen-team-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgb(0 0 0 / .03) 18%, rgb(0 0 0 / .12) 50%, rgb(0 0 0 / .52) 100%);
	opacity: 1;
	z-index: 1;
}

.cohen-team-hero .wp-block-cover__inner-container {
	inset: 0;
	position: absolute;
	z-index: 2;
}

.cohen-team-hero__curve {
	block-size: calc(17.328 * var(--cohen-uv));
	inline-size: calc(107.275 * var(--cohen-u));
	left: calc(-4.98 * var(--cohen-u));
	position: absolute;
	top: calc(49.739 * var(--cohen-uv));
	transform: scaleX(-1);
}

.cohen-team-hero__curve img {
	block-size: 100%;
	inline-size: 100%;
}

.cohen-team-hero__title,
.cohen-team-hero__intro {
	color: #fff;
	position: absolute;
	right: calc(5.9769 * var(--cohen-u));
	text-align: right;
}

.cohen-team-hero__title {
	font-size: calc(6.3492 * var(--cohen-uv)) !important;
	font-weight: 700;
	inline-size: calc(38.3598 * var(--cohen-u));
	line-height: .8 !important;
	top: calc(18.7831 * var(--cohen-uv));
}

.cohen-team-hero__intro {
	font-size: calc(1.455 * var(--cohen-uv)) !important;
	font-weight: 500;
	inline-size: calc(43.1217 * var(--cohen-uv));
	line-height: 1.2;
	top: calc(25.5952 * var(--cohen-uv));
}

.cohen-team-leadership {
	block-size: calc(73.4127 * var(--cohen-uv));
	padding: 0;
}

.cohen-team-section-title {
	color: #001673;
	font-size: calc(3.1746 * var(--cohen-uv)) !important;
	font-weight: 800;
	inline-size: calc(50.3307 * var(--cohen-u));
	line-height: .8 !important;
	position: absolute;
	right: calc(5.9769 * var(--cohen-u));
	text-align: right;
	top: calc(8.7302 * var(--cohen-uv));
}

.cohen-team-leadership__cards {
	inset: 0;
	position: absolute;
}

.cohen-team-leader {
	block-size: calc(33.5189 * var(--cohen-uv));
	inline-size: calc(45.0397 * var(--cohen-uv));
	position: absolute;
}

.cohen-team-leader--adiel {
	/* Centre the two-card composition as a whole. Their 786px Figma pitch
	   remains width-scaled while each rigid card remains height-scaled. */
	left: calc((75.99205 * var(--cohen-u)) - (22.51985 * var(--cohen-uv)));
	top: calc(18.3988 * var(--cohen-uv));
}

.cohen-team-leader--momik {
	left: calc((24.00795 * var(--cohen-u)) - (22.51985 * var(--cohen-uv)));
	top: calc(35.5284 * var(--cohen-uv));
}

.cohen-team-leader__art {
	inset: 0;
	position: absolute;
}

.cohen-team-leader__art img {
	block-size: 100%;
	inline-size: 100%;
}

.cohen-team-leader--adiel .cohen-team-leader__art {
	transform: scaleX(-1);
}

.cohen-team-leader__content {
	inset: 0;
	position: absolute;
}

.cohen-team-leader__content h3,
.cohen-team-leader__content p {
	color: #fff;
	position: absolute;
	right: calc(2.5797 * var(--cohen-uv));
	text-align: right;
}

.cohen-team-leader__content h3 {
	font-size: calc(2.381 * var(--cohen-uv)) !important;
	font-weight: 800;
	line-height: normal !important;
	top: calc(17.196 * var(--cohen-uv));
	white-space: nowrap;
}

.cohen-team-leader__content .cohen-team-role {
	font-size: calc(1.5873 * var(--cohen-uv));
	font-weight: 400;
	inline-size: calc(26.9841 * var(--cohen-uv));
	line-height: normal;
	top: calc(20.172 * var(--cohen-uv));
}

.cohen-team-leader__content .cohen-team-leader__quote {
	font-size: calc(1.0582 * var(--cohen-uv));
	font-weight: 400;
	inline-size: calc(34.2593 * var(--cohen-uv));
	line-height: normal;
	top: calc(23.81 * var(--cohen-uv));
}

.cohen-team-leader--adiel .cohen-team-leader__content h3,
.cohen-team-leader--adiel .cohen-team-leader__content p {
	right: calc(6.4153 * var(--cohen-uv));
}

.cohen-team-leader--momik .cohen-team-leader__content h3 {
	top: calc(18.651 * var(--cohen-uv));
}

.cohen-team-leader--momik .cohen-team-leader__content .cohen-team-role {
	inline-size: calc(15.873 * var(--cohen-uv));
	top: calc(21.627 * var(--cohen-uv));
}

.cohen-team-leader--momik .cohen-team-leader__content .cohen-team-leader__quote {
	top: calc(25.265 * var(--cohen-uv));
}

.cohen-team-directory {
	block-size: calc(86.3757 * var(--cohen-uv));
	padding: 0;
}

.cohen-team-directory__grid {
	inset: 0;
	position: absolute;
}

.cohen-team-member {
	background: #b6b6b6;
	block-size: calc(33.2011 * var(--cohen-uv));
	inline-size: calc(26.7857 * var(--cohen-uv));
	-webkit-mask: url("../images/team-fidelity-member-mask-r3.svg") center / 100% 100% no-repeat;
	mask: url("../images/team-fidelity-member-mask-r3.svg") center / 100% 100% no-repeat;
	position: absolute;
	top: calc(9.4081 * var(--cohen-uv));
}

.cohen-team-member:nth-child(1),
.cohen-team-member:nth-child(4) { left: calc((21.80275 * var(--cohen-u)) - (13.39285 * var(--cohen-uv))); }
.cohen-team-member:nth-child(2),
.cohen-team-member:nth-child(5) { left: calc((50.14275 * var(--cohen-u)) - (13.39285 * var(--cohen-uv))); }
.cohen-team-member:nth-child(3),
.cohen-team-member:nth-child(6) { left: calc((78.19725 * var(--cohen-u)) - (13.39285 * var(--cohen-uv))); }
.cohen-team-member:nth-child(n+4) { top: calc(45.3108 * var(--cohen-uv)); }

.cohen-team-member__content {
	background: #001673;
	block-size: calc(7.6323 * var(--cohen-uv));
	bottom: 0;
	box-sizing: border-box;
	inset-inline: 0;
	padding: calc(.8499 * var(--cohen-uv)) calc(2.3148 * var(--cohen-uv));
	position: absolute;
}

.cohen-team-member__content h3,
.cohen-team-member__content p {
	color: #fff;
	margin: 0 !important;
	text-align: right;
}

.cohen-team-member__content h3 {
	font-size: calc(1.7196 * var(--cohen-uv)) !important;
	font-weight: 800;
	line-height: 1.2 !important;
}

.cohen-team-member__content p {
	font-size: calc(1.3228 * var(--cohen-uv));
	font-weight: 500;
	line-height: 1.2;
	margin-block-start: calc(.48 * var(--cohen-uv)) !important;
}

.cohen-team-story {
	block-size: calc(45.7011 * var(--cohen-uv));
	padding: 0;
}

.cohen-team-story .cohen-team-section-title {
	right: calc(7.1296 * var(--cohen-u));
	top: calc(5.909 * var(--cohen-uv));
}

.cohen-team-story__copy {
	inline-size: calc(41.134 * var(--cohen-uv));
	position: absolute;
	right: calc(7.1296 * var(--cohen-u));
	top: calc(12.6878 * var(--cohen-uv));
}

.cohen-team-story__copy p {
	color: #000;
	font-size: calc(1.0582 * var(--cohen-uv));
	font-weight: 400;
	line-height: 1.45;
	text-align: right;
}

.cohen-team-story__copy p + p {
	margin-block-start: 0 !important;
}

/* No Team mobile frame exists. This one-column composition is intentionally
 * inferred from the accepted 390px Home/Car/service system. */
@media (max-width: 767px) {
	.cohen-team-main > .wp-block-post-content {
		max-inline-size: none;
	}

	.cohen-team-page {
		block-size: auto;
		overflow: hidden;
	}

	.cohen-team-atmosphere {
		display: none;
	}

	.cohen-team-hero {
		block-size: 430px;
		min-block-size: 430px !important;
	}

	.cohen-team-hero .wp-block-cover__image-background,
	.cohen-team-hero .wp-block-cover__background {
		block-size: 430px;
		inline-size: 100%;
		inset: 0;
		-webkit-mask: none;
		mask: none;
	}

	.cohen-team-hero .wp-block-cover__image-background {
		object-position: 50% center;
	}

	.cohen-team-hero .wp-block-cover__background {
		background: linear-gradient(0deg, rgb(0 0 0 / .64), rgb(0 0 0 / .08) 74%);
	}

	.cohen-team-hero__curve {
		display: none;
	}

	.cohen-team-hero__title,
	.cohen-team-hero__intro {
		inline-size: 346px;
		right: 22px;
	}

	.cohen-team-hero__title {
		font-size: 36px !important;
		line-height: 1 !important;
		top: 205px;
	}

	.cohen-team-hero__intro {
		font-size: 15px !important;
		line-height: 1.45;
		top: 262px;
	}

	.cohen-team-leadership,
	.cohen-team-directory,
	.cohen-team-story {
		block-size: auto;
		padding: 44px 22px;
	}

	.cohen-team-section-title,
	.cohen-team-story .cohen-team-section-title {
		font-size: 28px !important;
		inline-size: 100%;
		line-height: 1.15 !important;
		position: static;
		text-align: right;
	}

	.cohen-team-leadership__cards,
	.cohen-team-directory__grid {
		display: flex;
		flex-direction: column;
		gap: 20px;
		inset: auto;
		margin-block-start: 28px !important;
		position: static;
	}

	.cohen-team-leader,
	.cohen-team-leader--adiel,
	.cohen-team-leader--momik {
		aspect-ratio: 681 / 506.806;
		block-size: auto;
		inline-size: 100%;
		inset: auto;
		position: relative;
	}

	.cohen-team-leader__content h3 {
		font-size: 20px !important;
	}

	.cohen-team-leader__content .cohen-team-role {
		font-size: 13px;
	}

	.cohen-team-leader__content .cohen-team-leader__quote {
		font-size: 9px;
		line-height: 1.35;
	}

	.cohen-team-leader--adiel .cohen-team-leader__content h3,
	.cohen-team-leader--adiel .cohen-team-leader__content p {
		right: 14.24%;
	}

	.cohen-team-leader--momik .cohen-team-leader__content h3,
	.cohen-team-leader--momik .cohen-team-leader__content p {
		right: 5.73%;
	}

	.cohen-team-leader--adiel .cohen-team-leader__content h3 {
		top: 51.31%;
	}

	.cohen-team-leader--adiel .cohen-team-leader__content .cohen-team-role {
		inline-size: 59.91%;
		top: 60.18%;
	}

	.cohen-team-leader--adiel .cohen-team-leader__content .cohen-team-leader__quote {
		inline-size: 76.06%;
		top: 71.03%;
	}

	.cohen-team-leader--momik .cohen-team-leader__content h3 {
		top: 55.64%;
	}

	.cohen-team-leader--momik .cohen-team-leader__content .cohen-team-role {
		inline-size: 35.24%;
		top: 64.52%;
	}

	.cohen-team-leader--momik .cohen-team-leader__content .cohen-team-leader__quote {
		inline-size: 76.06%;
		top: 75.38%;
	}

	.cohen-team-directory {
		background: rgb(196 204 242 / .18);
	}

	.cohen-team-member,
	.cohen-team-member:nth-child(n) {
		background: #b6b6b6;
		block-size: 360px;
		inline-size: 100%;
		inset: auto;
		-webkit-mask: none;
		mask: none;
		border-radius: 16px;
		overflow: hidden;
		position: relative;
	}

	.cohen-team-member__content {
		block-size: 88px;
		padding: 14px 16px;
	}

	.cohen-team-member__content h3 {
		font-size: 20px !important;
	}

	.cohen-team-member__content p {
		font-size: 15px;
		margin-block-start: 4px !important;
	}

	.cohen-team-story__copy {
		inline-size: 100%;
		margin-block-start: 24px !important;
		position: static;
	}

	.cohen-team-story__copy p {
		font-size: 15px;
		line-height: 1.6;
	}

	.cohen-team-story__copy p + p {
		margin-block-start: 12px !important;
	}
}
