/* Current source XTekEthevNapq8TkmIdxqj: team crop and six-photo event widths. */
.nh-partner-mail-photo img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: none;
}

.nh-company-person .nh-team-portrait-crop {
	position: relative;
	height: 286px;
	overflow: hidden;
	border-radius: 8px;
}

.nh-company-person .nh-team-portrait-crop img {
	position: absolute;
	top: -24.46%;
	left: -23.98%;
	width: 159.18%;
	max-width: none;
	height: 163.7%;
}

.nh-company-person .nh-company-person-role {
	margin: 8px 0 0;
	color: color-mix(in srgb, var(--nh-ink) 75%, #fff);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	opacity: 1;
}

.nh-company-person:has(.nh-company-person-role) h3 {
	min-height: 2em;
}

.nh-partner-events .nh-partner-event-gallery.has-nested-images > .nh-partner-event-portrait {
	flex-basis: 305px;
	width: 305px;
}

@media (width <= 700px) {
	.nh-company-person .nh-company-person-role {
		font-size: 14px;
	}

	.nh-company-person .nh-team-portrait-crop {
		height: 230px;
	}

	.nh-company-person .nh-team-portrait-crop img {
		position: static;
		width: 100%;
		height: 100%;
	}

	.nh-company-person:nth-child(3):has(.nh-company-person-role) img {
		object-position: center 30%;
	}

	.nh-partner-events .nh-partner-event-gallery.has-nested-images > .wp-block-image {
		flex-basis: min(340px, 100%);
		width: min(340px, 100%);
	}

	.nh-partner-events .nh-partner-event-gallery.has-nested-images > .wp-block-image:last-child img {
		object-position: 8.43% center;
	}
}
