.oc-team-profile {
	--oc-tp-bg: #f2f1ed;
	--oc-tp-text: #111111;
	--oc-tp-frame: #111111;
	--oc-tp-btn-border: #111111;
	--oc-tp-btn-bg: transparent;
	--oc-tp-btn-text: #111111;
	--oc-tp-btn-hover-bg: #111111;
	--oc-tp-btn-hover-text: #ffffff;
	--oc-tp-col-gap: 56px;
	--oc-tp-bio-gap: 40px;
	width: 100%;
	box-sizing: border-box;
	background-color: var(--oc-tp-bg);
	color: var(--oc-tp-text);
	padding: 72px 0;
}

.oc-team-profile *,
.oc-team-profile *::before,
.oc-team-profile *::after {
	box-sizing: border-box;
}

.oc-team-profile__inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
	gap: var(--oc-tp-col-gap);
	align-items: start;
}

.oc-team-profile__portrait {
	position: relative;
	width: 100%;
	aspect-ratio: 420 / 560;
}

.oc-team-profile__photo-wrap {
	position: absolute;
	left: var(--oc-tp-photo-inset-x, 8.5%);
	right: var(--oc-tp-photo-inset-x, 8.5%);
	bottom: 0;
	top: var(--oc-tp-photo-inset-top, 22%);
	overflow: hidden;
	background: #d8d8d0;
	z-index: 1;
}

.oc-team-profile__photo {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	width: 100%;
	height: var(--oc-tp-photo-height, 100%);
	object-fit: cover;
	object-position: var(--oc-tp-photo-position-x, 50%) var(--oc-tp-photo-position-y, 100%);
}

.oc-team-profile__frame {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.oc-team-profile__frame img,
.oc-team-profile__frame svg {
	display: block;
	width: 100%;
	height: 100%;
}

.oc-team-profile__frame svg {
	color: var(--oc-tp-frame);
}

.oc-team-profile__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.oc-team-profile__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.oc-team-profile__name {
	margin: 0;
	font-weight: 400;
	line-height: 1.1;
}

.oc-team-profile__position {
	margin: 0;
	font-weight: 700;
	line-height: 1.35;
}

.oc-team-profile__qual {
	margin: 0;
	font-weight: 700;
	line-height: 1.35;
}

.oc-team-profile__contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
}

.oc-team-profile__contact-line {
	margin: 0;
	line-height: 1.5;
}

.oc-team-profile__contact-line a {
	color: inherit;
	text-decoration: none;
}

.oc-team-profile__contact-line a:hover {
	text-decoration: underline;
}

.oc-team-profile__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.oc-team-profile__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	line-height: 1;
}

.oc-team-profile__social:hover {
	opacity: 0.75;
}

.oc-team-profile__social svg {
	display: block;
	width: 18px;
	height: 18px;
}

.oc-team-profile__social-label {
	font-size: 0.95rem;
	line-height: 1.4;
}

.oc-team-profile__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: 12px;
	padding: 10px 28px;
	border: 1px solid var(--oc-tp-btn-border);
	background-color: var(--oc-tp-btn-bg);
	color: var(--oc-tp-btn-text);
	text-decoration: none;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oc-team-profile__cta:hover,
.oc-team-profile__cta:focus {
	background-color: var(--oc-tp-btn-hover-bg);
	border-color: var(--oc-tp-btn-hover-bg);
	color: var(--oc-tp-btn-hover-text);
}

.oc-team-profile__bio {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--oc-tp-bio-gap);
	align-items: start;
}

.oc-team-profile[data-bio-layout="stacked"] .oc-team-profile__bio {
	grid-template-columns: 1fr;
}

.oc-team-profile__emphasis,
.oc-team-profile__body {
	min-width: 0;
}

.oc-team-profile__emphasis p:first-child,
.oc-team-profile__body p:first-child {
	margin-top: 0;
}

.oc-team-profile__emphasis p:last-child,
.oc-team-profile__body p:last-child {
	margin-bottom: 0;
}

.oc-team-profile__emphasis {
	font-weight: 700;
}

.oc-team-profile--empty {
	padding: 24px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
}

@media (max-width: 991px) {
	.oc-team-profile {
		padding: 52px 0;
	}

	.oc-team-profile__inner {
		grid-template-columns: 1fr;
		padding: 0;
		gap: 32px;
	}

	.oc-team-profile__portrait {
		max-width: 420px;
		margin: 0 auto;
		width: 100%;
	}

	.oc-team-profile__bio {
		grid-template-columns: 1fr;
	}
}
