/* LearnHive member space — editorial, calm, and native BuddyPress throughout.
   Kept separate from shared community/feed rules so the presentation stays local. */
.lh-profile-page .lh-profile-fact {
margin: 0;
}
.lh-profile-page {
	--lh-profile-canvas: #f4f3ef;
	--lh-profile-paper: #fffefa;
	--lh-profile-ink: #252d3b;
	--lh-profile-muted: #68717e;
	--lh-profile-rule: #dfe1dc;
	--lh-profile-accent: #493b76;
	--lh-profile-accent-soft: #f0edf7;
	--lh-profile-warm: #a84c27;
}

.lh-profile-page .lh-community-layout {
	display: block;
	max-width: 1060px;
}
.lh-profile-page .lh-community-main {
	width: 100%;
	max-width: 100%;
}
/* Account destinations already live in BuddyPress' permission-aware member rail. */
.lh-profile-page .lh-community-sidebar {
	display: block;
}
.lh-profile-page.lh-section {
	padding-top: 22px;
	padding-bottom: 56px;
	background: var(--lh-profile-canvas);
}
.lh-profile-page #buddypress,
.lh-profile-page #buddypress .bp-wrap {
	color: var(--lh-profile-ink);
}

/* Remove the extra theme card around BuddyPress; cover and identity form one unit. */
.lh-profile-page .lh-community-main > #buddypress,
.lh-profile-page .lh-community-main > .bp-wrap,
.lh-profile-page #buddypress #item-header {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.lh-profile-page #buddypress #item-header {
	margin-bottom: 26px;
}
.lh-profile-page #buddypress #cover-image-container.lh-member-cover {
	border-radius: 15px 15px 0 0;
}
.lh-profile-page #buddypress #cover-image-container.lh-member-cover #header-cover-image,
.lh-profile-page #buddypress #cover-image-container.lh-member-cover #cover-image {
	height: clamp(170px, 23vw, 250px);
	background-color: #e9e6ef;
}
.lh-profile-page #buddypress #item-header-cover-image {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	align-items: center;
	gap: 14px 20px;
	margin: 0;
	padding: 20px 24px 22px;
	border: 1px solid var(--lh-profile-rule);
	border-top: 0;
	border-radius: 0 0 15px 15px;
	background: var(--lh-profile-paper);
}
.lh-profile-page #buddypress #item-header-avatar,
.lh-profile-page #buddypress #item-header #item-header-cover-image #item-header-avatar {
	width: 86px;
}
.lh-profile-page #buddypress #item-header-avatar img.avatar {
	width: 78px;
	height: 78px;
	border: 3px solid var(--lh-profile-paper);
	box-shadow: 0 0 0 1px var(--lh-profile-rule);
}
.lh-profile-page #buddypress #item-header-content h2.lh-member-display-name,
.lh-profile-page #buddypress #item-header-content h2 {
	margin: 0 0 4px;
	color: var(--lh-profile-ink);
	font-family: var(--lh-font-display, Georgia, serif);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.12;
}
.lh-profile-page #buddypress #item-header-content .user-nicename,
.lh-profile-page #buddypress #item-header-content .item-meta,
.lh-profile-page #buddypress #item-header-content p {
	margin: 4px 0 0;
	color: var(--lh-profile-muted);
	font-family: var(--lh-font-body, system-ui, sans-serif);
	font-size: .92rem;
	line-height: 1.5;
}
.lh-profile-page #buddypress #item-header-content a {
	color: var(--lh-profile-accent);
}
.lh-profile-page #buddypress #item-header-cover-image .member-header-actions {
	grid-column: 1 / -1;
	gap: 8px;
	margin: 2px 0 0;
}
.lh-profile-page #buddypress #item-header-cover-image .member-header-actions > * {
	flex: 0 1 auto;
	min-width: 0;
}
.lh-profile-page #buddypress #item-header-cover-image .member-header-actions a,
.lh-profile-page #buddypress #item-header-cover-image .member-header-actions button {
	min-height: 40px;
	height: auto;
	padding: 8px 15px;
	border-radius: 8px;
	font-size: .88rem;
	font-weight: 650;
}

/* Keep the native community rail and member rail distinct, with no sidebar echo. */
.lh-profile-page > .lh-wrap > .lh-community-tabs {
	margin: 0 0 22px;
}
.lh-profile-page #buddypress #item-nav,
.lh-profile-page #buddypress #object-nav {
	margin: 0 0 10px;
	border-bottom: 1px solid var(--lh-profile-rule);
}
.lh-profile-page #buddypress #object-nav ul,
.lh-profile-page #buddypress #item-nav > .bp-navs ul,
.lh-profile-page #buddypress #item-nav > .item-list-tabs ul {
	gap: 2px;
}
.lh-profile-page #buddypress #object-nav li a,
.lh-profile-page #buddypress #item-nav > .bp-navs li a,
.lh-profile-page #buddypress #item-nav > .item-list-tabs li a {
	min-height: 48px;
	padding: 11px 14px 12px;
	color: #626b77;
	font-size: .9rem;
	font-weight: 650;
}
.lh-profile-page #buddypress #object-nav li.current a,
.lh-profile-page #buddypress #object-nav li.selected a,
.lh-profile-page #buddypress #item-nav > .bp-navs li.current a,
.lh-profile-page #buddypress #item-nav > .bp-navs li.selected a,
.lh-profile-page #buddypress #item-nav > .item-list-tabs li.current a,
.lh-profile-page #buddypress #item-nav > .item-list-tabs li.selected a {
	color: var(--lh-profile-accent);
	box-shadow: inset 0 -3px 0 var(--lh-profile-accent);
}
.lh-profile-page #buddypress #subnav,
.lh-profile-page #buddypress .bp-subnavs {
	margin: 0 0 20px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--lh-profile-rule);
}
.lh-profile-page #buddypress #subnav ul,
.lh-profile-page #buddypress .bp-subnavs ul {
	gap: 6px;
}
.lh-profile-page #buddypress #subnav li a,
.lh-profile-page #buddypress .bp-subnavs li a {
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #596271;
	font-size: .84rem;
}
.lh-profile-page #buddypress #subnav li.current a,
.lh-profile-page #buddypress #subnav li.selected a,
.lh-profile-page #buddypress .bp-subnavs li.current a,
.lh-profile-page #buddypress .bp-subnavs li.selected a {
	border-color: #ddd8ea;
	background: var(--lh-profile-accent-soft);
	color: var(--lh-profile-accent);
	font-weight: 700;
}

/* Profile details read as a deliberate editorial page, never a data table. */
.lh-profile-page .lh-basic-profile {
	margin: 0;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--lh-profile-rule);
	border-radius: 14px;
	background: var(--lh-profile-paper);
	box-shadow: 0 8px 26px rgb(39 43 53 / 4%);
}
.lh-profile-page .lh-basic-profile .lh-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 24px;
	padding-bottom: 17px;
	border-bottom: 1px solid var(--lh-profile-rule);
}
.lh-profile-page .lh-basic-profile .lh-section-head h2,
.lh-profile-page .lh-basic-profile > h2 {
	margin: 0;
	color: var(--lh-profile-ink);
	font-family: var(--lh-font-display, Georgia, serif);
	font-size: 1.45rem;
	letter-spacing: -.02em;
}
.lh-profile-page .lh-profile-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0 36px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}
.lh-profile-page .lh-profile-fields dt,
.lh-profile-page .lh-profile-fields dd {
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
}
.lh-profile-page .lh-profile-fields dt {
	padding-top: 17px;
	color: #737b86;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.4;
	text-transform: uppercase;
}
.lh-profile-page .lh-profile-fields dd {
	min-width: 0;
	padding: 4px 0 18px;
	border-bottom: 1px solid #ecece7;
	color: var(--lh-profile-ink);
	font-size: .98rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}
.lh-profile-page .lh-profile-fields dd a {
	color: var(--lh-profile-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lh-profile-page .lh-basic-profile div.lh-profile-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.lh-profile-page .lh-basic-profile .lh-profile-fields dt,
.lh-profile-page .lh-basic-profile .lh-profile-fields dd {
	padding-right: 0;
	padding-left: 0;
	background: transparent;
}
.lh-profile-page .lh-profile-fields .lh-profile-label--description,
.lh-profile-page .lh-profile-fields .lh-profile-value--description,
.lh-profile-page .lh-profile-fields .lh-profile-label--interests,
.lh-profile-page .lh-profile-fields .lh-profile-value--interests {
	grid-column: 1 / -1;
}
.lh-profile-page .lh-profile-fields .lh-profile-value--description,
.lh-profile-page .lh-profile-fields .lh-profile-value--interests {
	padding-bottom: 21px;
}
.lh-profile-page .lh-profile-owner-note {
	margin: 22px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--lh-profile-rule);
	color: var(--lh-profile-muted);
	font-size: .88rem;
}

/* A calm, sectioned native form: identity first, narrative after. */
.lh-profile-page .lh-basic-profile > #lh-profile-public-note {
	max-width: 690px;
	margin: 10px 0 25px;
	color: var(--lh-profile-muted);
	font-size: .96rem;
	line-height: 1.65;
}
.lh-profile-page #lh-basic-profile-form {
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.lh-profile-page #buddypress #lh-basic-profile-form {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field {
	min-width: 0;
	margin: 0;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field--description,
.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests {
	grid-column: 1 / -1;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field label {
	display: block;
	margin: 0 0 7px;
	color: #394252;
	font-size: .88rem;
	font-weight: 700;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field label span {
	color: var(--lh-profile-muted);
	font-size: .78rem;
	font-weight: 500;
}
.lh-profile-page #lh-basic-profile-form input[type="text"],
.lh-profile-page #lh-basic-profile-form input[type="url"],
.lh-profile-page #lh-basic-profile-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #d6d9d5;
	border-radius: 8px;
	background: #fff;
	color: var(--lh-profile-ink);
	font: inherit;
	font-size: .96rem;
	box-shadow: inset 0 1px 2px rgb(34 40 48 / 3%);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.lh-profile-page #lh-basic-profile-form textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.55;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests textarea {
	min-height: 104px;
}
.lh-profile-page #lh-basic-profile-form input:focus,
.lh-profile-page #lh-basic-profile-form textarea:focus {
	border-color: var(--lh-profile-accent);
	outline: 0;
	box-shadow: 0 0 0 3px rgb(73 59 118 / 14%);
}
.lh-profile-page #lh-basic-profile-form .submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--lh-profile-rule);
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button,
.lh-profile-page #lh-basic-profile-form .submit .lh-button-secondary {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button {
	border: 1px solid var(--lh-profile-accent);
	background: var(--lh-profile-accent);
	color: #fff;
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button-secondary {
	border: 1px solid var(--lh-profile-rule);
	background: transparent;
	color: #4e5664;
}
.lh-profile-page #lh-basic-profile-form .submit :is(.lh-button,.lh-button-secondary):hover {
	filter: brightness(.96);
}
.lh-profile-page .bp-feedback {
	margin: 0 0 18px;
	border-radius: 9px;
}

@media (max-width: 767px) {
	.lh-profile-page.lh-section {
		padding-top: 14px;
		padding-bottom: 38px;
	}
	.lh-profile-page #buddypress #cover-image-container.lh-member-cover #header-cover-image,
	.lh-profile-page #buddypress #cover-image-container.lh-member-cover #cover-image {
		height: 160px;
	}
	.lh-profile-page #buddypress #item-header-cover-image {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
		padding: 15px;
	}
	.lh-profile-page #buddypress #item-header-avatar,
	.lh-profile-page #buddypress #item-header #item-header-cover-image #item-header-avatar {
		width: 64px;
	}
	.lh-profile-page #buddypress #item-header-avatar img.avatar {
		width: 58px;
		height: 58px;
	}
	.lh-profile-page #buddypress #item-header-cover-image .member-header-actions {
		gap: 7px;
		margin-top: 5px;
	}
	.lh-profile-page #buddypress #item-header-cover-image .member-header-actions > * {
		flex: 1 1 130px;
	}
	.lh-profile-page #buddypress #object-nav ul,
	.lh-profile-page #buddypress #item-nav > .bp-navs ul,
	.lh-profile-page #buddypress #item-nav > .item-list-tabs ul {
		width: max-content;
		min-width: 100%;
		flex-wrap: nowrap;
	}
	.lh-profile-page .lh-basic-profile {
		padding: 21px 17px;
		border-radius: 11px;
	}
	.lh-profile-page .lh-profile-fields {
		grid-template-columns: minmax(0, 1fr);
	}
.lh-profile-page .lh-basic-profile div.lh-profile-fields {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.lh-profile-page .lh-profile-fields dt,
	.lh-profile-page .lh-profile-fields dd,
	.lh-profile-page .lh-profile-fields .lh-profile-label--description,
	.lh-profile-page .lh-profile-fields .lh-profile-value--description,
	.lh-profile-page .lh-profile-fields .lh-profile-label--interests,
	.lh-profile-page .lh-profile-fields .lh-profile-value--interests {
		grid-column: 1;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 17px;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-field--description,
	.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lh-profile-page #lh-basic-profile-form input,
	.lh-profile-page #lh-basic-profile-form textarea {
		transition: none;
	}
}

/* Account workspace architecture: global community is the top rail; the
   permission-aware Nouveau member nav becomes the section index at left. */
.lh-community-context {
	display: flex;
	align-items: center;
	gap: 22px;
	max-width: 1240px;
	margin: 0 auto 25px;
	padding: 0 0 13px;
	border-bottom: 1px solid #dfdfda;
}
.lh-community-titlebar--visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.lh-community-context-label {
	flex: 0 0 auto;
	color: #737987;
	font-size: .69rem;
	font-weight: 750;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lh-profile-page .lh-community-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	max-width: 1240px;
}
.lh-profile-page .lh-community-layout,
.lh-profile-page .lh-community-main {
	min-width: 0;
}
.lh-profile-page .lh-community-sidebar {
	display: block !important;
	width: 100%;
	max-width: none;
	margin: 0;
}
.lh-profile-page .lh-community-sidebar > .lh-card {
	display: none;
}
.lh-profile-page .lh-community-sidebar > .lh-card:last-child {
	display: block;
	padding: 16px 18px;
	border: 1px solid #e0e0db;
	border-radius: 10px;
	background: #fbfaf6;
	box-shadow: none;
}
.lh-profile-page .lh-community-sidebar > .lh-card:last-child h2 {
	margin: 0 0 9px;
	color: #737987;
	font-size: .68rem;
	font-weight: 760;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.lh-profile-page .lh-community-sidebar > .lh-card:last-child nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lh-profile-page .lh-community-sidebar > .lh-card:last-child nav a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	padding: 7px 10px;
	border-radius: 7px;
	color: #58616e;
	font-size: .82rem;
	font-weight: 620;
	text-decoration: none;
}
.lh-profile-page .lh-community-sidebar > .lh-card:last-child nav a:hover,
.lh-profile-page .lh-community-sidebar > .lh-card:last-child nav a:focus-visible {
	background: #f0edf7;
	color: #493b76;
}
.lh-profile-page #buddypress .bp-wrap {
	display: grid;
	grid-template-columns: minmax(210px, 238px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(22px, 3vw, 38px);
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation {
	position: sticky;
	top: 24px;
	grid-column: 1;
	grid-row: 1;
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 17px 12px 13px;
	overflow: visible;
	border: 1px solid #dfe0dc;
	border-radius: 13px;
	background: #fbfaf6;
	box-shadow: 0 3px 12px rgb(31 37 46 / 3%);
}
.lh-profile-page .lh-account-nav-heading {
	margin: 0 8px 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid #e2e2dd;
}
.lh-profile-page .lh-account-nav-heading > span {
	display: block;
	margin-bottom: 4px;
	color: #8b6a4f;
	font-size: .65rem;
	font-weight: 750;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lh-profile-page .lh-account-nav-heading h2 {
	margin: 0;
	color: #252d3b;
	font-family: var(--lh-font-display, Georgia, serif);
	font-size: 1.12rem;
	letter-spacing: -.015em;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: normal;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation li {
	position: static;
	flex: 0 0 auto;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation li a {
	display: flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 11px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #58616e;
	font-size: .89rem;
	font-weight: 620;
	line-height: 1.3;
	text-decoration: none;
	white-space: normal;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation li.current a,
.lh-profile-page #buddypress #object-nav.lh-account-navigation li.selected a {
	border-color: #ddd8e9;
	background: #f0edf7;
	color: #413768;
	font-weight: 750;
	box-shadow: inset 3px 0 0 #493b76;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation li a:hover {
	background: #f0edf7;
	color: #413768;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation li a:focus-visible {
	outline: 2px solid #493b76;
	outline-offset: 2px;
}
.lh-profile-page #buddypress #object-nav.lh-account-navigation .count {
	display: inline-flex;
	min-width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 5px;
	border-radius: 99px;
	background: #e9e6ef;
	color: #493b76;
	font-size: .73rem;
	font-weight: 750;
}
.lh-profile-page #buddypress #item-body {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.lh-profile-page.lh-profile-utility #buddypress #item-header,
.lh-profile-page.lh-profile-utility #buddypress #cover-image-container {
	display: none;
}

/* The global rail is a context switch, not a second member menu. */
.lh-profile-page .lh-community-tabs {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 7px;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.lh-profile-page .lh-community-tabs a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid transparent;
	border-radius: 7px;
	color: #65707b;
	font-size: .82rem;
	font-weight: 650;
	text-decoration: none;
}
.lh-profile-page .lh-community-tabs a[aria-current="page"] {
	border-color: #e4e0eb;
	background: #f0edf7;
	color: #493b76;
}
.lh-profile-page .lh-community-tabs a:hover {
	background: #ebe8f2;
	color: #372e5d;
}

/* Uploaded cover images stay on Nouveau's native cover element; no upload
   means no empty 250px banner, only the compact identity panel. */
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--empty {
	border-radius: 14px;
	background: transparent;
}
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--empty #header-cover-image,
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--empty #cover-image {
	display: none;
}
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--empty #item-header-cover-image {
	border: 1px solid #dfe1dc;
	border-radius: 14px;
}
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--with-image #header-cover-image,
.lh-profile-page #buddypress #cover-image-container.lh-member-cover--with-image #cover-image {
	height: clamp(150px, 21vw, 220px);
}

/* Profile actions are management tools, not a competing navigation strip. */
.lh-profile-page .lh-basic-profile .lh-section-head {
	align-items: center;
	margin: 0 0 25px;
	padding: 0 0 18px;
	border-bottom: 1px solid #e4e3df;
}
.lh-profile-page .lh-basic-profile .lh-section-head h2 {
	flex: 0 0 auto;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management {
	display: block;
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 7px;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: normal;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li a {
	display: inline-flex;
	min-height: 39px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid #deddd8;
	border-radius: 7px;
	background: transparent;
	color: #515b69;
	font-size: .81rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li a.lh-profile-tool-primary {
	border-color: #493b76;
	background: #493b76;
	color: #fff;
	font-weight: 750;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li a:hover {
	border-color: #493b76;
	background: #f0edf7;
	color: #413768;
}
.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li a.lh-profile-tool-primary:hover {
	background: #372e5d;
	color: #fff;
}

/* The public profile is a compact editorial dossier, not a two-column table. */
.lh-profile-page .lh-basic-profile div.lh-profile-fields {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(250px, .82fr);
	align-items: start;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.lh-profile-page .lh-basic-profile div.lh-profile-fields > .lh-profile-data-group {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px 15px;
	min-width: 0;
	margin: 0;
	padding: 18px;
	border: 1px solid #e3e2dd;
	border-radius: 11px;
	background: #fffefa;
}
.lh-profile-page .lh-basic-profile div.lh-profile-fields > .lh-profile-data-group--story {
	grid-column: 1 / -1;
	display: block;
	padding: clamp(20px, 3vw, 30px);
	border-color: #ded9e9;
	border-left: 4px solid #493b76;
	background: #f4f1f8;
}
.lh-profile-page .lh-profile-data-heading {
	grid-column: 1 / -1;
	margin: 0 0 1px;
	color: #707985;
	font-size: .69rem;
	font-weight: 760;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
}
.lh-profile-page .lh-profile-data-group--story .lh-profile-data-heading {
	margin-bottom: 15px;
	color: #594f73;
}
.lh-profile-page .lh-basic-profile .lh-profile-fields dl.lh-profile-fact {
	display: block;
	min-width: 0;
margin: 0;
}
.lh-profile-page .lh-basic-profile .lh-profile-fields .lh-profile-fact > dt,
.lh-profile-page .lh-basic-profile .lh-profile-fields .lh-profile-fact > dd {
	display: block;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
	overflow-wrap: anywhere;
}
.lh-profile-page .lh-basic-profile .lh-profile-fields .lh-profile-fact > dt {
	margin-bottom: 5px;
	color: #78808a;
	font-size: .69rem;
	font-weight: 730;
	letter-spacing: .075em;
	line-height: 1.35;
	text-transform: uppercase;
}
.lh-profile-page .lh-basic-profile .lh-profile-fields .lh-profile-fact > dd {
	color: #252d3b;
	font-size: .98rem;
	font-weight: 550;
	line-height: 1.55;
}
.lh-profile-page .lh-profile-fact--headline dd {
	color: #342b52;
	font-family: var(--lh-font-display, Georgia, serif);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 650;
	letter-spacing: -.02em;
	line-height: 1.25;
}
.lh-profile-page .lh-profile-fact--description {
	margin-top: 14px;
}
.lh-profile-page .lh-profile-fact--description dd {
	max-width: 760px;
	color: #444d5b;
	font-size: 1.01rem;
	line-height: 1.75;
}
.lh-profile-page .lh-profile-data-group--details .lh-profile-data-heading,
.lh-profile-page .lh-profile-data-group--interests .lh-profile-data-heading {
	margin-bottom: 5px;
}
.lh-profile-page .lh-profile-data-group--details .lh-profile-fact {
	padding-top: 8px;
}
.lh-profile-page .lh-profile-data-group--details .lh-profile-fact--display_name,
.lh-profile-page .lh-profile-data-group--details .lh-profile-fact--user_url {
	grid-column: 1 / -1;
}
.lh-profile-page .lh-profile-data-group--interests {
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
}
.lh-profile-page .lh-profile-data-group--interests .lh-profile-fact dd {
	color: #454e5b;
	font-size: .96rem;
	line-height: 1.7;
}
.lh-profile-page .lh-basic-profile div.lh-profile-fields > .lh-profile-data-group--interests {
	grid-template-columns: minmax(0, 1fr);
}
.lh-profile-page .lh-basic-profile div.lh-profile-fields--single-group > .lh-profile-data-group--details {
	grid-column: 1 / -1;
}
.lh-profile-page .lh-profile-data-group--details .lh-profile-fact--user_url a {
	color: #493b76;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.lh-profile-page .lh-profile-owner-note {
	max-width: 780px;
	margin-top: 20px;
	padding: 13px 0 0;
	border-top: 1px solid #e4e3df;
}

/* Fieldsets give the editor real information architecture while keeping every
   native name, id, label, nonce and submit endpoint untouched. */
.lh-profile-page .lh-basic-profile > #lh-profile-public-note {
	max-width: 760px;
	margin: -7px 0 22px;
}
.lh-profile-page #lh-basic-profile-form {
	display: block;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset {
	display: grid;
	grid-template-columns: minmax(150px, .31fr) minmax(0, .69fr);
	column-gap: clamp(20px, 4vw, 55px);
	align-items: start;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 22px 0;
	border: 0;
	border-top: 1px solid #e6e4df;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset legend {
	grid-column: 1;
	grid-row: 1;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	color: #293243;
	font-family: var(--lh-font-display, Georgia, serif);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-description {
	grid-column: 1;
	grid-row: 2;
	max-width: 210px;
	margin: 6px 0 0;
	color: #7a818b;
	font-size: .78rem;
	line-height: 1.5;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-grid {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px 17px;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field--display_name {
	grid-column: 1 / -1;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field--description,
.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests {
	grid-column: 1 / -1;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field label {
	margin-bottom: 6px;
	color: #424b59;
	font-size: .81rem;
	font-weight: 720;
}
.lh-profile-page #lh-basic-profile-form input[type="text"],
.lh-profile-page #lh-basic-profile-form input[type="url"],
.lh-profile-page #lh-basic-profile-form textarea {
	min-height: 45px;
	border-color: #d6d8d5;
	border-radius: 7px;
	background: #fff;
	font-size: .91rem;
	box-shadow: none;
}
.lh-profile-page #lh-basic-profile-form textarea {
	min-height: 115px;
}
.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests textarea {
	min-height: 92px;
}
.lh-profile-page #lh-basic-profile-form .submit {
	justify-content: flex-start;
	margin-top: 2px;
	padding-top: 20px;
	border-top: 1px solid #e6e4df;
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button {
	min-width: 142px;
	min-height: 48px;
	border-radius: 7px;
	font-size: .92rem;
}
.lh-profile-page #buddypress #lh-basic-profile-form .submit button.lh-button {
	border: 1px solid #493b76;
	background: #493b76;
	color: #fff;
	font-weight: 750;
}
.lh-profile-page #buddypress #lh-basic-profile-form .submit button.lh-button:hover {
	border-color: #372e5d;
	background: #372e5d;
	color: #fff;
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button-secondary {
	min-height: 42px;
	padding-inline: 12px;
	border-color: transparent;
	background: transparent;
	color: #606a78;
	font-weight: 650;
}
.lh-profile-page #lh-basic-profile-form .submit .lh-button-secondary:hover {
	background: #f0edf7;
	color: #413768;
}

/* Shared account utility panels and native forms use the same desk-like sheet. */
.lh-profile-page #item-body > h2,
.lh-profile-page #item-body > h3 {
	color: #252d3b;
	font-family: var(--lh-font-display, Georgia, serif);
	letter-spacing: -.02em;
}
.lh-profile-page #item-body .standard-form:not(#lh-basic-profile-form),
.lh-profile-page #item-body .messages-notices,
.lh-profile-page #item-body .notifications,
.lh-profile-page #item-body .bp-feedback {
	border-color: #dedfda;
	border-radius: 10px;
	background: #fffefa;
	box-shadow: none;
}
.lh-profile-page #item-body .standard-form:not(#lh-basic-profile-form) {
	padding: clamp(16px, 3vw, 26px);
}
.lh-profile-page #item-body .subnav-filters,
.lh-profile-page #item-body .bp-toolbar,
.lh-profile-page #item-body .messages-options-nav,
.lh-profile-page #item-body .notifications-options-nav {
	gap: 8px;
	margin-bottom: 17px;
}
.lh-profile-page #item-body input[type="submit"],
.lh-profile-page #item-body button:not([aria-expanded]):not([aria-pressed]),
.lh-profile-page #item-body a.button {
	border-radius: 7px;
}
.lh-profile-page #buddypress #item-body #message.info {
	margin: 16px 0 0;
	padding: 14px 17px 10px;
	border: 1px solid #dedfda;
	border-bottom: 0;
	border-left: 3px solid #493b76;
	border-radius: 9px 9px 0 0;
	background: #fbfaf6;
	color: #414b59;
}
.lh-profile-page #buddypress #item-body .lh-empty-message-action {
	margin: 0;
	padding: 0 17px 15px;
	border: 1px solid #dedfda;
	border-top: 0;
	border-radius: 0 0 9px 9px;
	background: #fbfaf6;
}
.lh-profile-page #buddypress #item-body .lh-empty-message-action a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	padding: 8px 13px;
	border-radius: 7px;
	background: #493b76;
	color: #fff;
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
}
.lh-profile-page #buddypress #item-body .lh-empty-message-action a:hover {
	background: #372e5d;
}

@media (max-width: 767px) {
	.lh-community-context {
		align-items: flex-start;
		gap: 8px 13px;
		margin-bottom: 16px;
		padding-bottom: 10px;
	}
	.lh-community-context-label {
		padding-top: 10px;
		font-size: .62rem;
	}
	.lh-profile-page .lh-community-tabs {
		flex-wrap: wrap;
		gap: 4px;
	}
	.lh-profile-page .lh-community-tabs a {
		min-height: 35px;
		padding: 6px 9px;
		font-size: .78rem;
	}
	.lh-profile-page #buddypress .bp-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.lh-profile-page #buddypress #object-nav.lh-account-navigation {
		position: static;
		grid-column: 1;
		grid-row: 1;
		padding: 12px;
	}
	.lh-profile-page .lh-account-nav-heading {
		margin: 0 2px 9px;
		padding-bottom: 8px;
	}
	.lh-profile-page .lh-account-nav-heading > span {
		margin-bottom: 2px;
		font-size: .59rem;
	}
	.lh-profile-page .lh-account-nav-heading h2 {
		font-size: 1rem;
	}
	.lh-profile-page #buddypress #object-nav.lh-account-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}
	.lh-profile-page #buddypress #object-nav.lh-account-navigation li a {
		min-height: 40px;
		padding: 8px;
		font-size: .78rem;
	}
	.lh-profile-page #buddypress #object-nav.lh-account-navigation li.current a,
	.lh-profile-page #buddypress #object-nav.lh-account-navigation li.selected a {
		box-shadow: inset 3px 0 0 #493b76;
	}
	.lh-profile-page #buddypress #item-body {
		grid-column: 1;
		grid-row: 2;
	}
	.lh-profile-page .lh-basic-profile .lh-section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management,
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management ul {
		width: 100%;
	}
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management ul {
		justify-content: flex-start;
	}
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management li a {
		min-height: 40px;
		padding: 8px 10px;
		font-size: .77rem;
	}
.lh-profile-page .lh-basic-profile div.lh-profile-fields {
		grid-template-columns: minmax(0, 1fr);
	}
.lh-profile-page .lh-basic-profile div.lh-profile-fields > .lh-profile-data-group--story {
		grid-column: 1;
	}
.lh-profile-page .lh-basic-profile div.lh-profile-fields > .lh-profile-data-group {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 15px;
	}
	.lh-profile-page .lh-profile-data-group--details .lh-profile-data-heading,
	.lh-profile-page .lh-profile-data-group--interests .lh-profile-data-heading {
		grid-column: 1 / -1;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
		padding: 18px 0;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset legend,
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-description,
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-grid {
		grid-column: 1;
		grid-row: auto;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-description {
		max-width: none;
		margin: 1px 0 9px;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-fieldset-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 13px;
	}
	.lh-profile-page #lh-basic-profile-form .lh-profile-field--display_name,
	.lh-profile-page #lh-basic-profile-form .lh-profile-field--description,
	.lh-profile-page #lh-basic-profile-form .lh-profile-field--interests {
		grid-column: 1;
	}
}
@media (min-width: 768px) and (max-width: 1100px) {
	.lh-profile-page .lh-basic-profile .lh-section-head {
		flex-wrap: wrap;
	}
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management {
		width: 100%;
	}
	.lh-profile-page #buddypress #item-body #subnav.lh-profile-management ul {
		justify-content: flex-start;
	}
}
