/* AVP People grid, modal and direct profile styles. */
.avp-people {
	--avp-people-ink: #202027;
	--avp-people-muted: #66666b;
	--avp-people-rule: #dedee0;
	width: 100%;
	color: var(--avp-people-ink);
	font-family: inherit;
}
.avp-people, .avp-people * { box-sizing: border-box; }
.avp-people-grid {
	display: grid;
	grid-template-columns: repeat(var(--avp-people-columns, 4), minmax(0, 1fr));
	column-gap: 20px;
	row-gap: clamp(28px, 3.5vw, 54px);
}
.avp-person-card {
	display: block;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}
.avp-person-card:hover, .avp-person-card:focus, .avp-person-card:focus-visible {
	color: inherit;
	text-decoration: none;
}
.avp-person-card:focus-visible { outline: 2px solid #ed174c; outline-offset: 5px; }
.avp-person-portrait-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: #eeeef0;
}
/* Salient applies intrinsic image sizing to content images; override it so landscape portraits fill the fixed card frame. */
.avp-person-portrait-wrap > .avp-person-portrait {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center 20% !important;
	transition: transform 240ms ease;
}
.avp-person-card:hover .avp-person-portrait { transform: scale(1.015); }
.avp-person-portrait-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #55555a;
	font-size: clamp(18px, 2vw, 28px);
	text-align: center;
}
.avp-person-card-copy { padding-top: 13px; }
.avp-person-name {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 0 0 2px;
	color: var(--avp-people-ink);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: -0.025em;
	text-decoration: none;
}
/* Text underline follows the name's actual glyphs and wraps line by line.
   It cannot stretch to the width of a longer position label. */
.avp-person-name,
.avp-strategy-person-name {
	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: .14em;
	transition: text-decoration-color 200ms ease;
}
.avp-person-card:hover .avp-person-name,
.avp-person-card:focus-visible .avp-person-name,
.avp-strategy-person-card:hover .avp-strategy-person-name,
.avp-strategy-person-card:focus-visible .avp-strategy-person-name {
	text-decoration-color: currentColor;
}
.avp-person-position {
	margin: 0;
	color: #626267;
	font-size: clamp(14px, 1.05vw, 17px);
	line-height: 1.35;
}
.avp-people-empty { color: var(--avp-people-muted); }

/* Shared interaction pattern, with a People-specific content layout. */
.avp-people-modal[hidden] { display: none !important; }
.avp-people-modal {
	position: fixed;
	z-index: 2147483000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
	color: #202027;
	font-family: inherit;
}
.avp-people-modal, .avp-people-modal * { box-sizing: border-box; }
.avp-people-modal-backdrop { position: absolute; inset: 0; background: rgba(27, 27, 32, .55); }
.avp-people-modal-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(100%, 1100px);
	height: auto;
	max-height: calc(100dvh - 48px);
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 70px rgba(0,0,0,.18);
}
.avp-people-modal-header {
	display: flex;
	min-height: 76px;
	flex: 0 0 76px;
	align-items: center;
	justify-content: flex-end;
	padding: 0 30px;
	border-bottom: 1px solid #e0e0e2;
}
.avp-people-modal-nav:disabled { cursor: default; opacity: .28; }
.avp-people-modal-nav:not(:disabled):hover, .avp-people-modal-nav:focus-visible,
.avp-people-modal-close:hover, .avp-people-modal-close:focus-visible { background: transparent !important; color: #E4002B !important; }

.avp-people-modal-nav:focus-visible, .avp-people-modal-close:focus-visible, .avp-people-modal a:focus-visible { outline: 2px solid #ed174c; outline-offset: 4px; }
.avp-people-modal-content {
	display: grid;
	min-height: 0;
	grid-template-columns: minmax(260px, 35%) minmax(0, 1fr);
	grid-template-rows: auto;
	flex: 0 1 auto;
	overflow: visible;
}
.avp-people-modal-portrait {
	position: relative;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	background: #eeedef;
}
.avp-people-modal-portrait img {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center top !important;
}
.avp-people-modal-portrait-fallback { display: flex; width: 100%; height: 100%; min-height: 0; align-items: center; justify-content: center; padding: 30px; text-align: center; font-size: 26px; }
.avp-people-modal-main {
	display: flex;
	min-width: 0;
	min-height: 0;
	height: auto;
	flex-direction: column;
	overflow: visible;
	padding: clamp(30px, 3.6vw, 52px);
}
.avp-people-modal-identity {
	display: flex;
	min-width: 0;
	flex: 0 0 auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}
.avp-people-modal-identity-copy { min-width: 0; }
.avp-people-modal-identity .avp-people-linkedin-button {
	flex: 0 0 auto;
	min-height: 38px;
	margin-top: 0;
	padding: 6px 20px;
	white-space: nowrap;
}
.avp-people-modal-title {
	margin: 0;
	color: #24242a;
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -.035em;
}
.avp-people-modal-position { margin: 3px 0 0; color: #5d5d63; font-size: 17px; line-height: 1.3; }
.avp-people-modal-bio {
	flex: 0 1 auto;
	margin: clamp(18px, 2vw, 26px) 0 0;
	color: #37373e;
	font-size: 16px;
	line-height: 1.5;
	white-space: pre-line;
}
.avp-people-modal-details {
	display: flex;
	flex-direction: column;
	gap: 18px;
	flex: 0 0 auto;
	margin-top: 28px;
	padding-top: 0;
	border-top: 0;
}
.avp-people-modal-details.no-investments { display: flex; }
.avp-people-modal-details.no-office .avp-people-modal-investments { width: 100%; }
.avp-people-modal-label { display: block; margin: 0 0 4px; color: #5e5e64; font-size: 12px; line-height: 1.25; }
.avp-people-modal-office { min-width: 0; margin: 0; color: #28282e; font-size: 15px; line-height: 1.35; }
.avp-people-modal-office-value { font-size: 16px; }
.avp-people-modal-investments { min-width: 0; margin: 0; }
.avp-people-investment-list { display: flex; flex-wrap: wrap; gap: 6px; }
.avp-people-investment-item {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid #d8d8da;
	background: #fff;
	color: #26262c;
	font-size: 13px;
	line-height: 1.15;
	cursor: default;
}
.avp-people-modal-actions { flex: 0 0 auto; margin-top: 24px; }
.avp-people-linkedin-button {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 6px 20px;
	border: 1px solid #202027;
	background: #202027;
	color: #fff !important;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.avp-people-linkedin-button:hover,
.avp-people-linkedin-button:focus-visible { background: #E4002B !important; border-color: #E4002B !important; color: #fff !important; }
.avp-people-modal-loading, .avp-people-modal-error { grid-column: 1 / -1; padding: 55px; }

/* Direct-access profile page: same information hierarchy as the modal. */
.avp-person-single {
	display: grid;
	max-width: 1100px;
	margin: 40px auto;
	grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
	background: #fff;
	color: #202027;
}
.avp-person-single-portrait {
	position: relative;
	min-width: 0;
	min-height: 500px;
	overflow: hidden;
	background: #eeedef;
}
.avp-person-single-portrait > img {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center 20% !important;
}
.avp-person-single-portrait span { display: flex; min-height: 500px; align-items: center; justify-content: center; padding: 30px; text-align: center; font-size: 28px; }
.avp-person-single-content { padding: clamp(30px, 4vw, 54px); }
.avp-person-single-header h1 { margin: 0; color: #24242a; font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.avp-person-single-position { margin: 3px 0 26px; color: #5d5d63; font-size: 18px; }
.avp-person-single-bio { margin: 0 0 31px; color: #37373e; font-size: 16px; line-height: 1.65; }
.avp-person-single-details { padding-top: 12px; border-top: 1px solid var(--avp-people-rule); }
.avp-person-single-office > span, .avp-person-single-investments > span { display: block; margin-bottom: 3px; color: #5e5e64; font-size: 13px; }
.avp-person-single-office p { margin: 0 0 27px; font-size: 16px; }
.avp-person-investment-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 30px; }
.avp-person-investment-item { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 13px; border: 1px solid #d8d8da; color: #26262c; font-size: 14px; cursor: default; }
.avp-person-single-actions { margin-top: 28px; }
.avp-person-linkedin-button { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 22px; border: 1px solid #202027; background: #202027; color: #fff !important; text-decoration: none; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease; }
.avp-person-linkedin-button:hover, .avp-person-linkedin-button:focus-visible { background: #E4002B !important; border-color: #E4002B !important; color: #fff !important; }

@media (max-width: 900px) {
	.avp-people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.avp-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 26px; }
	.avp-person-position { font-size: 14px; }
	.avp-people-modal { align-items: stretch; padding: 10px; }
	.avp-people-modal-dialog { width: 100%; height: calc(100vh - 20px); max-height: calc(100vh - 20px); }
	.avp-people-modal-header { min-height: 58px; flex-basis: 58px; padding: 0 18px; }
	.avp-people-modal-content { display: flex; flex-direction: column; overflow: auto; }
	.avp-people-modal-portrait { min-height: 0; height: min(54vh, 380px); flex: 0 0 auto; }
	.avp-people-modal-portrait-fallback { min-height: 0; }
	.avp-people-modal-main { display: block; height: auto; min-height: 0; overflow: visible; padding: 28px 24px; }
	.avp-people-modal-identity { gap: 12px; }
	.avp-people-modal-identity .avp-people-linkedin-button { min-height: 34px; padding: 5px 12px; font-size: 13px; }
	.avp-people-modal-details, .avp-people-modal-details.no-investments { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
	.avp-people-modal-actions { margin-top: 20px; }
	.avp-people-modal-title { font-size: 30px; }
	.avp-people-modal-position { margin-bottom: 20px; font-size: 16px; }
	.avp-person-single { grid-template-columns: minmax(0, 1fr); margin: 20px auto; }
	.avp-person-single-portrait { position: relative; min-height: 0; height: min(110vw, 520px); }
	.avp-person-single-portrait > img { min-height: 100% !important; height: 100% !important; }
	.avp-person-single-portrait span { min-height: 0; height: 100%; }
}
@media (max-width: 420px) {
	.avp-people-grid { column-gap: 20px; }
	.avp-person-card-copy { padding-top: 9px; }
	.avp-person-position { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.avp-person-portrait, .avp-people-modal *, .avp-person-single * { transition-duration: .01ms !important; }
}

/* Compact People list used alongside each investment strategy. */
.avp-strategy-people {
	--avp-people-ink: #202027;
	--avp-people-muted: #626267;
	--avp-people-rule: #dedee0;
	width: 100%;
	color: var(--avp-people-ink);
}
.avp-strategy-people-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.avp-strategy-people .avp-strategy-person-card {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--avp-people-rule);
	color: inherit;
	text-decoration: none;
}
.avp-strategy-people .avp-strategy-person-card:first-child { padding-top: 10px; }
.avp-strategy-people .avp-strategy-person-card:hover,
.avp-strategy-people .avp-strategy-person-card:focus,
.avp-strategy-people .avp-strategy-person-card:focus-visible {
	color: inherit;
	text-decoration: none;
}
.avp-strategy-person-portrait-wrap {
	position: relative;
	display: block;
	width: 80px;
	height: 64px;
	flex: 0 0 80px;
	overflow: hidden;
	background: #eeedef;
}
.avp-strategy-person-portrait-wrap > img {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center 20% !important;
}
.avp-strategy-person-portrait-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: #77777d;
	font-size: 22px;
}
.avp-strategy-person-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 0 !important;
}
.avp-strategy-person-name {
	position: relative;
	display: inline-block;
	max-width: 100%;
	color: #202027;
	font-size: clamp(17px, 1.15vw, 20px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -.02em;
}
.avp-strategy-person-position {
	display: block;
	margin-top: 2px;
	color: #626267;
	font-size: 15px;
	line-height: 1.3;
}
.avp-strategy-people .avp-strategy-person-card:focus-visible {
	outline: 2px solid #ed174c;
	outline-offset: 3px;
}
.avp-strategy-people-empty { color: #77777d; font-size: 14px; }
@media (max-width: 760px) {
	.avp-strategy-person-portrait-wrap { width: 70px; height: 56px; flex-basis: 70px; }
	.avp-strategy-people .avp-strategy-person-card { gap: 12px; padding: 11px 0; }
	.avp-strategy-person-name { font-size: 16px; }
	.avp-strategy-person-position { font-size: 13px; }
}


/* Mobile refinement: landscape modal portrait, compact copy and safe bottom breathing room. */
@media (max-width: 760px) {
	.avp-people-modal-portrait {
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 3 / 2;
		flex: 0 0 auto;
	}

	.avp-people-modal-portrait-fallback {
		height: 100%;
		min-height: 0;
	}

	.avp-people-modal-main {
		padding: 28px 24px calc(46px + env(safe-area-inset-bottom, 0px)) !important;
	}

	.avp-people-modal-bio {
		font-size: 15px !important;
		line-height: 1.5;
	}

	.avp-person-name {
		font-size: 18px !important;
	}
}


/* 0.8.2: compact People modal content on mobile. */
@media (max-width: 760px) {
	.avp-people-modal-details,
	.avp-people-modal-details.no-investments {
		padding-bottom: 25px;
	}

	.avp-people-modal-bio {
		font-size: 13px !important;
		line-height: 1.5;
		margin-top: 0;
	}
}
