/* Leadership section shared by the public Company page and Elementor preview. */
.company-leadership {
	padding: 32px 0 96px;
	color: #111;
	background: #fff;
}

.company-leadership-head,
.company-leadership-grid {
	max-width: var(--company-leadership-content-width, 1015px);
	margin: 0 auto;
}

.company-leadership-head {
	margin-bottom: 32px;
}

.company-page .company-leadership-title {
	margin: 0;
	color: #111;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
}

.company-page .company-leadership-intro {
	margin: 12px 0 0;
	color: #666;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.company-leadership-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--company-leadership-photo-gap, 48px);
	row-gap: 32px;
}

.company-leader {
	min-width: 0;
}

.company-leader-portrait {
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 478 / 643;
	border-radius: 10px;
	background: #171717;
}

.company-leader-portrait::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
	content: "";
	pointer-events: none;
}

.company-leader-portrait img {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
	transform: scale(1);
	transition: transform .45s cubic-bezier(.2, .65, .3, 1);
}

@media (hover: hover) and (pointer: fine) {
	.company-leadership.has-photo-hover-zoom .company-leader:hover .company-leader-portrait img,
	.company-leadership.has-photo-hover-zoom .company-leader:focus-within .company-leader-portrait img {
		transform: scale(var(--company-leadership-hover-scale, 1.04));
	}
}

@media (prefers-reduced-motion: reduce) {
	.company-leader-portrait img {
		transition: none;
	}
}

.company-leader-overlay {
	position: absolute;
	z-index: 2;
	inset: 43px 36px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 6px;
}

.company-leader-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.company-page .company-leader-name {
	margin: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
}

.company-leader-link {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
}

.company-leader-link:hover {
	opacity: .8;
}

.company-leader-link svg {
	display: block;
	width: 18px;
	height: 18px;
}

.company-page .company-leader-role {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
}

.company-page .company-leader-bio {
	margin: 6px 0 0;
	color: #aaa;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

@media (max-width: 640px) {
	.company-leadership {
		padding: 32px 0 64px;
	}

	.company-leadership-head {
		margin-bottom: 24px;
	}

	.company-page .company-leadership-title {
		font-size: 28px;
	}

	.company-page .company-leadership-intro {
		font-size: 17px;
	}

	.company-leadership-grid {
		grid-template-columns: 1fr;
	row-gap: 28px;
	}

}
