/* Contact and About pages: a focused extension of the accepted LearnHive theme. */
.lh-public-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 82px) 0;
	background:
		radial-gradient(ellipse at 88% 14%, rgba(240, 138, 36, .22), transparent 30%),
		radial-gradient(ellipse at 8% 100%, rgba(99, 102, 241, .22), transparent 32%),
		linear-gradient(145deg, #2b2752, #1e1b3a 74%);
	color: #fff;
}
.lh-public-hero::after {
	position: absolute;
	right: max(5vw, calc((100vw - 1120px) / 2));
	bottom: -150px;
	width: 330px;
	height: 330px;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 50%;
	box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.025);
	content: "";
	pointer-events: none;
}
.lh-public-hero .lh-wrap { position: relative; z-index: 1; }
.lh-public-hero h1 { max-width: 820px; margin-bottom: 16px; }
.lh-public-hero .lh-lead { max-width: 700px; margin-bottom: 0; }
.lh-public-hero .lh-breadcrumbs { color: #c5c0e1; }
.lh-public-hero .lh-breadcrumbs a { color: #f1efff; }
.lh-public-hero .lh-eyebrow { color: #ffd487; }
.lh-public-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 15px;
	color: #ffd487;
	font-size: .77rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.lh-public-kicker::before { width: 24px; height: 2px; background: var(--lh-orange); content: ""; }
.lh-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.lh-contact-intro { max-width: 720px; }
.lh-contact-intro > p:first-of-type { color: #4e5565; font-size: 1.05rem; }
.lh-contact-email {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 25px 0 30px;
	padding: 17px 19px;
	border: 1px solid #f2c28f;
	border-radius: 16px;
	background: #fff9f1;
}
.lh-contact-email-mark {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 14px;
	background: #fff0dd;
	color: #a94f08;
	font-size: 1.25rem;
	font-weight: 800;
}
.lh-contact-email small { display: block; color: var(--lh-muted); font-size: .79rem; font-weight: 650; }
.lh-contact-email a { font-family: var(--lh-font-display); font-size: clamp(1rem, 2vw, 1.17rem); font-weight: 700; overflow-wrap: anywhere; }
.lh-contact-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 19px; }
.lh-contact-topic {
	display: block;
	min-height: 125px;
	padding: 17px 18px;
	border: 1px solid var(--lh-line);
	border-radius: 15px;
	background: var(--lh-white);
	color: var(--lh-ink);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lh-contact-topic:hover { transform: translateY(-2px); border-color: #c8c3ed; box-shadow: 0 12px 28px rgba(30,27,58,.08); color: var(--lh-ink); }
.lh-contact-topic strong { display: block; margin-bottom: 6px; color: var(--lh-navy); font-family: var(--lh-font-display); }
.lh-contact-topic span { display: block; color: var(--lh-muted); font-size: .87rem; line-height: 1.5; }
.lh-contact-topic em { display: block; margin-top: 9px; color: var(--lh-indigo); font-size: .76rem; font-style: normal; font-weight: 750; }
.lh-contact-aside { position: sticky; top: 100px; }
.lh-contact-card { padding: clamp(21px, 3vw, 30px); }
.lh-contact-card > p { color: var(--lh-muted); }
.lh-contact-card .lh-button { width: 100%; white-space: normal; text-align: center; }
.lh-contact-card .lh-contact-form { margin-top: 20px; }
.lh-contact-card .lh-contact-form form { display: grid; gap: 13px; }
.lh-contact-card .lh-contact-form label { color: var(--lh-navy); font-size: .88rem; font-weight: 700; }
.lh-contact-card .lh-contact-form input:not([type="submit"]):not([type="checkbox"]),
.lh-contact-card .lh-contact-form textarea,
.lh-contact-card .lh-contact-form select {
	display: block;
	width: 100%;
	min-height: 44px;
	margin-top: 5px;
	padding: 10px 12px;
	border: 1px solid var(--lh-line);
	border-radius: 10px;
	background: #fffefa;
	color: var(--lh-ink);
	font: inherit;
}
.lh-contact-card .lh-contact-form textarea { min-height: 115px; }
.lh-contact-card .lh-contact-form input[type="submit"],
.lh-contact-card .lh-contact-form button {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--lh-indigo);
	border-radius: 11px;
	background: var(--lh-indigo);
	color: #fff;
	font: 700 .92rem var(--lh-font-body);
	cursor: pointer;
}
.lh-contact-card .lh-contact-form input[type="submit"]:hover,
.lh-contact-card .lh-contact-form button:hover { background: #3026a6; }
.lh-contact-recovery {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--lh-line);
	font-size: .88rem;
}
.lh-contact-recovery a { display: inline-block; margin: 3px 0; font-weight: 700; }
.lh-public-note {
	margin-top: 25px;
	padding: 17px 19px;
	border-left: 3px solid var(--lh-orange);
	border-radius: 0 12px 12px 0;
	background: #fff8ed;
	color: #4e5565;
	font-size: .91rem;
}
.lh-about-intro { max-width: 750px; }
.lh-about-principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 22px 0 34px;
}
.lh-about-principle {
	padding: 20px;
	border: 1px solid var(--lh-line);
	border-radius: 16px;
	background: var(--lh-white);
}
.lh-about-principle:nth-child(2) { background: #f7f6ff; }
.lh-about-principle:nth-child(3) { background: #fff8ef; }
.lh-about-principle .lh-about-index {
	display: block;
	margin-bottom: 16px;
	color: var(--lh-orange-deep);
	font: 700 .78rem var(--lh-font-body);
	letter-spacing: .1em;
}
.lh-about-principle h3 { margin: 0 0 8px; }
.lh-about-principle p { margin: 0; color: var(--lh-muted); font-size: .9rem; }
.lh-about-story {
	padding-top: 26px;
	border-top: 1px solid var(--lh-line);
}
.lh-about-story > p { max-width: 760px; color: #4e5565; }
.lh-about-ownership {
	margin: 27px 0;
	padding: 22px 24px;
	border: 1px solid #dcd9f1;
	border-radius: 16px;
	background: #f5f3ff;
}
.lh-about-ownership strong { display: block; margin-bottom: 5px; color: var(--lh-navy); font-family: var(--lh-font-display); }
.lh-about-ownership p { margin: 0; color: #4e5565; }
.lh-about-aside { display: grid; gap: 15px; }
.lh-about-aside .lh-card { padding: 22px; }
.lh-about-links { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lh-about-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--lh-line); color: var(--lh-navy); font-weight: 700; }
.lh-about-links a::after { color: var(--lh-indigo); content: "→"; }
.lh-about-links li:last-child a { border-bottom: 0; }
.lh-about-credit { color: var(--lh-muted); font-size: .83rem; }
.lh-about-editor { margin-top: 28px; }

@media (max-width: 767px) {
	.lh-public-hero { padding: 42px 0 46px; }
	.lh-public-hero::after { right: -190px; bottom: -205px; }
	.lh-contact-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
	.lh-contact-aside { position: static; }
	.lh-contact-topics { grid-template-columns: minmax(0, 1fr); }
	.lh-contact-topic { min-height: 0; }
	.lh-about-principles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.lh-contact-topic { transition: none; }
}
