.hmp-person-profile {
	display: block !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: clamp(28px, 4vw, 44px);
	align-items: start;
	width: 100%;
}

.hmp-people-profile-page .hmp-page-hero,
.hmp-people-profile-page .hmp-entry-hero {
	padding-block: clamp(16px, 2.4vw, 28px) !important;
}

.hmp-people-profile-page .hmp-page-hero .hmp-container,
.hmp-people-profile-page .hmp-entry-hero .hmp-container {
	padding: clamp(20px, 3vw, 30px) clamp(24px, 4vw, 42px) !important;
}

.hmp-people-profile-page .hmp-page-hero h1,
.hmp-people-profile-page .hmp-entry-hero h1 {
	font-size: clamp(38px, 4.2vw, 58px) !important;
}

.hmp-people-profile-page .hmp-page-hero p:not(.hmp-entry-kicker),
.hmp-people-profile-page .hmp-entry-hero p:not(.hmp-entry-kicker) {
	margin-top: 14px !important;
	max-width: 760px !important;
	font-size: clamp(18px, 2vw, 28px) !important;
	line-height: 1.38 !important;
}

.hmp-people-profile-page .hmp-entry-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: clamp(20px, 3vw, 32px) !important;
	padding-block: clamp(18px, 2.8vw, 30px) clamp(34px, 5vw, 56px) !important;
}

.hmp-people-profile-page .hmp-entry-panel,
.hmp-people-profile-page .hmp-content {
	max-width: none !important;
	width: 100% !important;
}

.hmp-people-profile-page .hmp-entry-panel {
	padding: clamp(20px, 3vw, 32px) !important;
}

.hmp-person-profile__article > :first-child {
	margin-top: 0;
}

.hmp-person-profile__article > :last-child {
	margin-bottom: 0;
}

.hmp-person-profile__identity {
	clear: both;
	margin-bottom: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(21, 88, 79, 0.16);
	background: #fffdf7;
	padding: clamp(18px, 2.5vw, 24px);
}

.hmp-person-profile__terms {
	margin: 0 0 14px;
	color: var(--hmp-burgundy, #8f1c2a);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmp-person-profile__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 14px 22px;
}

.hmp-person-profile__facts p {
	margin: 0;
}

.hmp-person-profile__facts strong,
.hmp-person-profile__facts span {
	display: block;
}

.hmp-person-profile__facts strong {
	color: var(--hmp-burgundy, #8f1c2a);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmp-person-profile__facts span {
	margin-top: 4px;
	color: var(--hmp-deep, #0b2b28);
	font-size: 18px;
	line-height: 1.35;
}

.hmp-person-profile__side {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
	gap: 18px;
	align-items: start;
	margin-top: clamp(24px, 4vw, 40px);
	width: 100%;
}

.hmp-people-profile-page .hmp-entry-rail {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
	gap: 18px !important;
	max-width: none !important;
	position: static !important;
	top: auto !important;
	width: 100% !important;
}

.hmp-people-profile-page .hmp-rail-card {
	height: 100%;
}

.hmp-person-profile__picture {
	float: right;
	margin: 0 0 24px 32px;
	border: 1px solid rgba(199, 149, 46, 0.34);
	background: #fffdf7;
	box-shadow: 0 14px 30px rgba(43, 31, 16, 0.1);
	padding: 10px;
	max-width: min(42%, 430px);
}

.hmp-person-profile__picture img {
	display: block;
	width: 100%;
	height: auto;
	margin-inline: auto;
}

.hmp-person-profile__picture figcaption,
.hmp-person-gallery figcaption,
.hmp-place-gallery figcaption {
	margin-top: 8px;
	color: #53625e;
	font-size: 13px;
	line-height: 1.35;
}

.hmp-person-profile__picture--placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	min-height: 260px;
}

.hmp-person-profile__picture--placeholder span,
.hmp-people-card-public__media span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: #f7f2e8;
	color: var(--hmp-deep, #0b2b28);
	font-family: Georgia, serif;
	font-size: clamp(54px, 8vw, 96px);
	font-weight: 900;
}

.hmp-person-profile__article::after {
	clear: both;
	content: "";
	display: table;
}

.hmp-person-profile__links {
	border: 1px solid rgba(21, 88, 79, 0.16);
	background: #fffdf7;
	padding: 20px;
}

.hmp-person-profile__links h2 {
	margin: 0 0 14px;
	color: var(--hmp-deep, #0b2b28);
	font-size: 22px;
}

.hmp-person-profile__links ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmp-person-profile__links li {
	margin: 0;
}

.hmp-person-profile__links a,
.hmp-person-profile__links strong {
	color: var(--hmp-burgundy, #8f1c2a);
	font-weight: 900;
}

.hmp-person-profile__links span {
	display: block;
	margin-top: 3px;
	color: #53625e;
	font-size: 14px;
	line-height: 1.4;
}

.hmp-person-gallery,
.hmp-place-gallery {
	clear: both;
	margin-top: clamp(28px, 4vw, 44px);
}

.hmp-person-gallery h2,
.hmp-place-gallery h2 {
	margin: 0 0 16px;
	color: var(--hmp-deep, #0b2b28);
	font-size: clamp(26px, 3vw, 38px);
}

.hmp-person-gallery__grid,
.hmp-place-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 14px;
}

.hmp-person-gallery__grid a,
.hmp-place-gallery__grid a {
	display: block;
	border: 1px solid rgba(199, 149, 46, 0.34);
	background: #fffdf7;
	padding: 8px;
}

.hmp-person-gallery__grid figure,
.hmp-place-gallery__grid figure {
	margin: 0;
}

.hmp-person-gallery__grid img,
.hmp-place-gallery__grid img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
}

.hmp-people-directory__header {
	margin-bottom: clamp(22px, 4vw, 36px);
	border-left: 8px solid #c7952e;
	border-radius: 6px;
	background:
		linear-gradient(135deg, rgba(8, 50, 45, 0.98), rgba(18, 88, 79, 0.94)),
		#073b35;
	color: #fff8dc;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 18px 38px rgba(43, 31, 16, 0.12);
}

.hmp-people-directory__kicker {
	margin: 0 0 10px;
	color: #ffd966;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hmp-people-directory__header h1 {
	margin: 0;
	color: #fff8dc;
	font-size: clamp(42px, 6vw, 76px);
	line-height: 0.95;
}

.hmp-people-directory__header > p:not(.hmp-people-directory__kicker) {
	max-width: 780px;
	margin: 18px 0 0;
	color: rgba(255, 248, 220, 0.92);
	font-size: clamp(18px, 2vw, 25px);
	line-height: 1.4;
}

.hmp-people-directory__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.hmp-people-directory__stats span {
	border: 1px solid rgba(255, 217, 102, 0.42);
	background: rgba(255, 253, 247, 0.08);
	padding: 8px 11px;
	color: #fff8dc;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.hmp-people-directory__stats strong {
	font-size: 18px;
}

.hmp-people-directory__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 20px;
	border: 1px solid rgba(199, 149, 46, 0.26);
	border-radius: 6px;
	background: rgba(255, 253, 247, 0.86);
	padding: 14px;
}

.hmp-people-directory__filters input,
.hmp-people-directory__filters select,
.hmp-people-directory__filters button {
	min-height: 42px;
	border: 1px solid rgba(21, 88, 79, 0.22);
	background: #fffdf7;
	color: var(--hmp-deep, #0b2b28);
	padding: 8px 12px;
}

.hmp-people-directory__filters input {
	min-width: min(100%, 300px);
}

.hmp-people-directory__filters button {
	background: var(--hmp-burgundy, #8f1c2a);
	color: #fff;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmp-people-directory__count {
	margin-bottom: 16px;
	color: #53625e;
	font-weight: 800;
}

.hmp-people-directory__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 18px;
}

.hmp-people-card-public {
	box-sizing: border-box;
	position: relative;
	display: grid;
	grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
	gap: 14px;
	border: 1px solid rgba(199, 149, 46, 0.34);
	border-top: 4px solid rgba(199, 149, 46, 0.7);
	border-radius: 5px;
	background: #fffdf7;
	box-shadow: 0 12px 28px rgba(43, 31, 16, 0.06);
	min-width: 0;
	overflow: hidden;
	padding: 12px;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hmp-people-card-public:hover,
.hmp-people-card-public:focus-within {
	border-color: rgba(21, 88, 79, 0.34);
	box-shadow: 0 18px 38px rgba(43, 31, 16, 0.12);
	transform: translateY(-2px);
}

.hmp-people-card-public__body {
	min-width: 0;
	overflow-wrap: anywhere;
}

.hmp-people-card-public__media {
	display: block;
	aspect-ratio: 4 / 5;
	border: 1px solid rgba(21, 88, 79, 0.14);
	background: #f4ecdd;
	overflow: hidden;
	text-decoration: none;
}

.hmp-people-card-public__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hmp-people-card-public__media span {
	font-size: 42px;
}

.hmp-people-card-public h2 {
	margin: 0 0 6px;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.hmp-people-card-public h2 a {
	color: var(--hmp-deep, #0b2b28);
	text-decoration: none;
}

.hmp-people-card-public h2 a:focus-visible,
.hmp-people-card-public__media:focus-visible {
	outline: 3px solid rgba(199, 149, 46, 0.62);
	outline-offset: 3px;
}

.hmp-people-card-public p {
	margin: 0;
	color: #344944;
	font-size: 15px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.hmp-people-card-public__terms {
	margin-bottom: 8px !important;
	color: var(--hmp-burgundy, #8f1c2a) !important;
	font-size: 12px !important;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (max-width: 880px) {
	.hmp-person-profile__picture {
		float: none;
		margin: 0 0 24px;
		max-width: 420px;
	}
}

@media (max-width: 460px) {
	.hmp-people-card-public {
		grid-template-columns: 76px minmax(0, 1fr);
	}
}

/* Visual template completion for biography records and people cards. */
.hmp-person-profile__identity {
	border-left: 6px solid var(--hmp-gold, #c7952e);
	box-shadow: 0 14px 30px rgba(43, 31, 16, 0.07);
}

.hmp-person-profile__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}

.hmp-person-profile__terms span,
.hmp-people-card-public__terms span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	border: 1px solid rgba(143, 28, 42, 0.18);
	border-radius: 999px;
	background: rgba(255, 248, 231, 0.78);
	color: var(--hmp-burgundy, #8f1c2a);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.07em;
	line-height: 1;
	padding: 6px 9px;
	text-transform: uppercase;
}

.hmp-profile-dek {
	max-width: 760px;
	margin: 0 0 clamp(16px, 2vw, 22px) !important;
	color: #203a35;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(21px, 2.2vw, 30px);
	line-height: 1.28;
	text-wrap: balance;
}

.hmp-person-profile__article h2,
.hmp-person-profile__article h3 {
	letter-spacing: 0;
	text-transform: none;
	text-wrap: balance;
}

.hmp-profile-provenance {
	border-left: 5px solid var(--hmp-gold, #c7952e);
}

.hmp-profile-provenance p {
	margin: 0;
	color: #344944;
	font-size: 15px;
	line-height: 1.5;
}

.hmp-people-directory__header h1 {
	font-size: clamp(40px, 5vw, 66px);
	line-height: 1;
}

.hmp-people-card-public__body {
	display: flex;
	flex-direction: column;
}

.hmp-people-card-public__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 8px;
}

.hmp-people-card-public__link {
	width: fit-content;
	margin-top: auto;
	color: var(--hmp-burgundy, #8f1c2a);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

@media (max-width: 560px) {
	.hmp-people-directory__header h1 {
		font-size: clamp(36px, 11vw, 46px);
	}
}
