/* Small, in-place refinements for shared LearnHive navigation and site content.
   These selectors intentionally preserve the existing theme structure. */

/* Community is a first-class destination, not another quiet menu item. */
.lh-primary-nav .lh-community-highlight > a,
.lh-mobile-menu .lh-community-highlight > a,
.lh-primary-nav a.lh-community-highlight,
.lh-mobile-menu a.lh-community-highlight,
.lh-login-site-nav a.lh-community-highlight {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 1px solid rgba(240, 138, 36, .48);
	background: #fff3e5;
	color: #58300c;
	font-weight: 750;
}
.lh-primary-nav .lh-community-highlight > a:hover,
.lh-primary-nav .lh-community-highlight > a:focus-visible,
.lh-mobile-menu .lh-community-highlight > a:hover,
.lh-mobile-menu .lh-community-highlight > a:focus-visible,
.lh-primary-nav a.lh-community-highlight:hover,
.lh-primary-nav a.lh-community-highlight:focus-visible,
.lh-mobile-menu a.lh-community-highlight:hover,
.lh-mobile-menu a.lh-community-highlight:focus-visible,
.lh-login-site-nav a.lh-community-highlight:hover,
.lh-login-site-nav a.lh-community-highlight:focus-visible {
	border-color: var(--lh-orange, #f08a24);
	background: #ffe6c7;
	color: #482605;
}
.lh-mobile-menu a.lh-community-highlight {
	margin: 4px 0;
	padding-inline: 11px;
}
.lh-primary-nav .lh-ai-certificate-nav > a,
.lh-mobile-menu .lh-ai-certificate-nav > a,
.lh-login-site-nav .lh-ai-certificate-nav > a {
	color: var(--lh-indigo, #4338ca);
	font-weight: 700;
}
.lh-primary-nav .lh-ai-certificate-nav > a::before,
.lh-mobile-menu .lh-ai-certificate-nav > a::before,
.lh-login-site-nav .lh-ai-certificate-nav > a::before {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: var(--lh-orange, #f08a24);
	content: "";
}
.lh-primary-nav .lh-ai-certificate-nav > a::after {
	display: none;
}
@media (max-width: 767px) {
	.lh-login-site-nav a.lh-community-highlight {
		display: inline-flex !important;
		min-height: 40px;
		padding: 7px 9px;
		font-size: .8rem;
		white-space: nowrap;
	}
}
@media (max-width: 380px) {
	.lh-login-site-nav a.lh-community-highlight {
		padding-inline: 7px;
		font-size: .74rem;
	}
}

/* Compact shared identity area; the established footer columns stay untouched. */
.lh-community-sidebar {
display: grid;
align-content: start;
gap: 16px;
}
.lh-footer-identity {
display: grid;
grid-template-columns: minmax(0, 1fr);
justify-items: center;
gap: 10px;
width: 100%;
text-align: center;
	min-width: 0;
}
.lh-footer-identity > * {
	min-width: 0;
}
.lh-footer-identity p {
max-width: 96ch;
	margin: 0;
}
.lh-footer-identity .lh-footer-social {
	display: flex;
	align-items: center;
justify-content: center;
	flex-wrap: wrap;
	gap: 4px 16px;
}
.lh-footer-identity .lh-footer-social a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	padding: 5px 0;
	font-weight: 650;
	text-decoration: none;
}
.lh-footer-identity .lh-footer-social a:focus-visible {
	border-radius: 4px;
	outline-offset: 2px;
}
.lh-footer .lh-footer-identity {
	color: #bbb6d7;
}
.lh-footer .lh-footer-identity p,
.lh-footer .lh-footer-identity .lh-footer-social a {
	color: inherit;
}
.lh-login-site-footer .lh-footer-identity {
	width: 100%;
	color: var(--lh-login-muted, #626779);
}
.lh-login-site-footer .lh-footer-identity .lh-footer-social a {
	color: var(--lh-login-indigo, #4338ca);
}
@media (max-width: 767px) {
	.lh-footer-identity {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
	.lh-footer-identity .lh-footer-social {
		gap: 2px 14px;
	}
}

/* Course detail navigation and feature/facts cards share the theme's card language. */
.lh-learning-tabs {
	margin: 0 0 24px;
	border-bottom: 1px solid var(--lh-line, #e7e5f0);
}
.lh-learning-tabs ul {
	display: flex;
	width: 100%;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
}
.lh-learning-tabs li {
	margin: 0;
}
.lh-learning-tabs li a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 8px 13px;
	border-radius: 10px;
	color: var(--lh-muted, #626779);
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.lh-learning-tabs li a:hover,
.lh-learning-tabs li a:focus-visible {
	background: var(--lh-indigo-pale, #eef0ff);
	color: var(--lh-indigo, #4338ca);
}
.lh-learning-tabs li a[aria-current="page"] {
	background: var(--lh-indigo-pale, #eef0ff);
	box-shadow: inset 0 -2px 0 var(--lh-indigo, #4338ca);
	color: var(--lh-indigo, #4338ca);
}
/* Share the community tools on public learning/blog pages without loading BP. */
.lh-connected-page .lh-connected-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 250px;
align-items: start;
gap: 28px;
}
.lh-connected-page .lh-community-main,
.lh-connected-page .lh-community-sidebar {
min-width: 0;
}
.lh-connected-page .lh-community-sidebar {
display: grid;
gap: 16px;
}
.lh-connected-page .lh-community-sidebar .lh-card {
padding: 20px;
background: #f7f6fc;
}
.lh-connected-page .lh-community-sidebar h2 {
margin: 0 0 12px;
font-size: 1rem;
}
.lh-connected-page .lh-quick-links ul {
display: grid;
gap: 3px;
margin: 0;
padding: 0;
list-style: none;
}
.lh-connected-page .lh-quick-links a {
display: flex;
min-height: 40px;
align-items: center;
justify-content: space-between;
gap: 6px;
padding: 8px 10px;
border-radius: 9px;
color: #4e4d65;
font-size: .9rem;
font-weight: 650;
overflow-wrap: anywhere;
text-decoration: none;
}
.lh-connected-page .lh-quick-links a:hover,
.lh-connected-page .lh-quick-links a[aria-current="page"] {
background: #eeedfa;
color: #4338ca;
}
.lh-connected-page .lh-community-main .lh-grid-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
.lh-connected-page .lh-connected-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
.lh-connected-page .lh-community-main .lh-grid-3 { grid-template-columns: minmax(0, 1fr); }
}
.lh-more-shortcuts {
margin-top: 10px;
border-top: 1px solid #e7e5f0;
padding-top: 8px;
}
.lh-more-shortcuts summary {
min-height: 40px;
padding: 8px 4px;
color: #4338ca;
font-size: .86rem;
font-weight: 650;
cursor: pointer;
}
.lh-community-page #buddypress #subnav {
width: 100%;
max-width: 100%;
margin-block: 8px 18px;
padding: 8px;
border: 1px solid #e7e5f0;
border-radius: 14px;
background: #f7f6fc;
box-sizing: border-box;
}
.lh-ai-course-feature {
	position: relative;
	overflow: hidden;
margin-bottom: 24px;
	border-inline-start: 4px solid var(--lh-orange, #f08a24);
	background: #fffdfa;
}
.lh-ai-course-feature > :last-child {
	margin-bottom: 0;
}
.lh-ai-course-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
	gap: 10px;
margin: 18px 0 22px;
	padding: 0;
	list-style: none;
}
.lh-ai-course-facts > li {
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--lh-line, #e7e5f0);
	border-radius: 12px;
	background: #f8f7fc;
	overflow-wrap: anywhere;
}
.lh-ai-course-facts > li strong,
.lh-ai-course-facts > li b {
	display: block;
	margin-bottom: 2px;
	color: var(--lh-navy, #1e1b3a);
	font-family: var(--lh-font-display, "Poppins", sans-serif);
	font-size: .9rem;
}
@media (max-width: 767px) {
	.lh-learning-tabs li a {
		min-height: 44px;
		padding-inline: 11px;
	}
	.lh-ai-course-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
