/* MoreBiography homepage */

.home .site-header {
	display: none;
}

.home #page.site.grid-container {
	width: 100%;
	max-width: none;
	padding: 0;
	background: #ffffff;
}

.home #content.site-content {
	display: block;
	padding: 0;
}

.mb-homepage {
	--mb-home-blue: #0b5394;
	--mb-home-blue-dark: #073763;
	--mb-home-red: #9f2d3a;
	--mb-home-gold: #bf8a24;
	--mb-home-green: #2d6f5f;
	--mb-home-ink: #17202f;
	--mb-home-muted: #5d6876;
	--mb-home-soft: #f5f8fb;
	--mb-home-line: #dbe2ea;
	--mb-home-line-soft: #edf1f5;
	--mb-home-shadow: 0 18px 44px rgba(19, 34, 52, 0.10);
	background: #ffffff;
	color: var(--mb-home-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mb-homepage *,
.mb-homepage *::before,
.mb-homepage *::after {
	box-sizing: border-box;
}

.mb-homepage a {
	color: inherit;
	text-decoration: none;
}

.mb-home-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.mb-home-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--mb-home-line-soft);
	backdrop-filter: blur(14px);
}

.admin-bar .mb-home-header {
	top: 32px;
}

.mb-home-header__inner {
	min-height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.mb-home-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 750;
	letter-spacing: 0;
	color: var(--mb-home-ink);
}

.mb-home-brand__mark {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--mb-home-blue-dark);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	box-shadow: inset 0 -8px 18px rgba(255, 255, 255, 0.08);
}

.mb-home-brand__text {
	font-size: 18px;
}

.mb-home-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14px;
	font-weight: 650;
	color: #364457;
}

.mb-home-nav a:hover,
.mb-home-nav a:focus,
.mb-home-section__head--row > a:hover,
.mb-home-section__head--row > a:focus {
	color: var(--mb-home-blue);
}

.mb-home-header__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--mb-home-blue);
	color: #ffffff;
	font-size: 14px;
	font-weight: 750;
	box-shadow: 0 8px 20px rgba(11, 83, 148, 0.22);
}

.mb-home-header__search:hover,
.mb-home-header__search:focus,
.mb-home-button--primary:hover,
.mb-home-button--primary:focus,
.mb-home-search button:hover,
.mb-home-search button:focus {
	background: var(--mb-home-blue-dark);
	color: #ffffff;
}

.mb-home-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--mb-home-line-soft);
}

.mb-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11, 83, 148, 0.06) 1px, transparent 1px),
		linear-gradient(180deg, rgba(11, 83, 148, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

.mb-home-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
	gap: 64px;
	align-items: center;
	padding: 72px 0 62px;
}

.mb-home-hero__copy h1 {
	max-width: 760px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	line-height: 1.02;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--mb-home-ink);
}

.mb-home-hero__lead {
	max-width: 660px;
	margin: 24px 0 0;
	font-size: 19px;
	line-height: 1.65;
	color: var(--mb-home-muted);
}

.mb-home-search {
	width: min(680px, 100%);
	margin: 34px 0 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--mb-home-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(23, 32, 47, 0.08);
}

.mb-home-search input[type="search"] {
	width: 100%;
	min-height: 48px;
	border: 0;
	outline: 0;
	padding: 0 14px;
	font-size: 16px;
	color: var(--mb-home-ink);
	background: transparent;
}

.mb-home-search input[type="search"]::placeholder {
	color: #7c8794;
}

.mb-home-search button {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--mb-home-blue);
	color: #ffffff;
	font-size: 15px;
	font-weight: 750;
	cursor: pointer;
}

.mb-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
}

.mb-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 760;
}

.mb-home-button--primary {
	background: var(--mb-home-blue);
	color: #ffffff;
}

.mb-home-button--secondary {
	border: 1px solid var(--mb-home-line);
	background: #ffffff;
	color: var(--mb-home-blue-dark);
}

.mb-home-button--secondary:hover,
.mb-home-button--secondary:focus {
	border-color: var(--mb-home-blue);
	color: var(--mb-home-blue);
}

.mb-home-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 34px 0 0;
}

.mb-home-stats div {
	min-width: 168px;
	padding: 14px 16px;
	border-left: 3px solid var(--mb-home-red);
	background: rgba(245, 248, 251, 0.82);
}

.mb-home-stats strong {
	display: block;
	font-size: 25px;
	line-height: 1;
	color: var(--mb-home-blue-dark);
}

.mb-home-stats span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 650;
	color: var(--mb-home-muted);
}

.mb-home-hero__media {
	position: relative;
	min-height: 560px;
	border: 1px solid var(--mb-home-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: var(--mb-home-shadow);
	overflow: hidden;
}

.mb-home-hero__media > img {
	width: 100%;
	height: 100%;
	min-height: 560px;
	display: block;
	object-fit: cover;
}

.mb-home-hero__timeline {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 34px;
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr 0.6fr;
	gap: 8px;
	align-items: center;
}

.mb-home-hero__timeline span {
	height: 3px;
	border-radius: 99px;
	background: var(--mb-home-blue);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.84);
}

.mb-home-hero__timeline span:nth-child(2) {
	background: var(--mb-home-red);
}

.mb-home-hero__timeline span:nth-child(3) {
	background: var(--mb-home-gold);
}

.mb-home-hero__timeline span:nth-child(4) {
	background: var(--mb-home-green);
}

.mb-home-hero__stack {
	position: absolute;
	left: 28px;
	right: 28px;
	top: 28px;
	display: grid;
	gap: 10px;
}

.mb-home-hero__stack article {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	max-width: 340px;
	padding: 10px;
	border: 1px solid rgba(219, 226, 234, 0.86);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.90);
	box-shadow: 0 10px 24px rgba(23, 32, 47, 0.08);
	backdrop-filter: blur(8px);
}

.mb-home-hero__stack article:nth-child(2) {
	margin-left: 64px;
}

.mb-home-hero__stack article:nth-child(3) {
	margin-left: 28px;
}

.mb-home-hero__stack span {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #132b46;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
}

.mb-home-hero__stack strong,
.mb-home-hero__stack small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-home-hero__stack strong {
	font-size: 14px;
	line-height: 1.25;
	color: var(--mb-home-ink);
}

.mb-home-hero__stack small {
	margin-top: 3px;
	font-size: 12px;
	color: var(--mb-home-muted);
}

.mb-home-section {
	padding: 84px 0;
	background: #ffffff;
}

.mb-home-section--professions,
.mb-home-section--latest {
	background: var(--mb-home-soft);
}

.mb-home-section__head {
	max-width: 680px;
	margin-bottom: 30px;
}

.mb-home-section__head--row {
	max-width: none;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
}

.mb-home-section__head h2,
.mb-home-cta h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 40px;
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--mb-home-ink);
}

.mb-home-section__head p,
.mb-home-cta p {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--mb-home-muted);
}

.mb-home-section__head--row > a {
	flex: 0 0 auto;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 760;
	color: var(--mb-home-blue-dark);
}

.mb-home-profession-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mb-home-profession {
	display: grid;
	gap: 10px;
	min-height: 164px;
	padding: 20px;
	border: 1px solid var(--mb-home-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(23, 32, 47, 0.04);
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.mb-home-profession:hover,
.mb-home-profession:focus {
	transform: translateY(-2px);
	border-color: rgba(11, 83, 148, 0.38);
	box-shadow: 0 16px 32px rgba(23, 32, 47, 0.08);
}

.mb-home-profession__name {
	font-size: 17px;
	line-height: 1.25;
	font-weight: 780;
	color: var(--mb-home-ink);
}

.mb-home-profession__summary {
	font-size: 14px;
	line-height: 1.55;
	color: var(--mb-home-muted);
}

.mb-home-profession__count {
	align-self: end;
	font-size: 12px;
	font-weight: 760;
	color: var(--mb-home-red);
	text-transform: uppercase;
	letter-spacing: 0;
}

.mb-home-featured-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.mb-home-card {
	display: grid;
	grid-template-rows: auto 1fr;
	border: 1px solid var(--mb-home-line);
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 12px 26px rgba(23, 32, 47, 0.06);
}

.mb-home-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(11, 83, 148, 0.08), rgba(159, 45, 58, 0.08)),
		#f7f9fc;
	border-bottom: 1px solid var(--mb-home-line-soft);
}

.mb-home-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.mb-home-card__media span {
	width: 86px;
	height: 86px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #ffffff;
	color: var(--mb-home-blue-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 34px;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px var(--mb-home-line), 0 14px 26px rgba(23, 32, 47, 0.10);
}

.mb-home-card__body {
	padding: 18px;
}

.mb-home-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 11px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 760;
	color: var(--mb-home-red);
}

.mb-home-card__meta span {
	color: var(--mb-home-green);
}

.mb-home-card h3,
.mb-home-latest h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 780;
	letter-spacing: 0;
	color: var(--mb-home-ink);
}

.mb-home-card h3 a:hover,
.mb-home-card h3 a:focus,
.mb-home-latest h3 a:hover,
.mb-home-latest h3 a:focus {
	color: var(--mb-home-blue);
}

.mb-home-card p,
.mb-home-latest p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.62;
	color: var(--mb-home-muted);
}

.mb-home-section--browse {
	padding-top: 74px;
}

.mb-home-browse-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}

.mb-home-browse-panel {
	padding: 30px;
	border: 1px solid var(--mb-home-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 26px rgba(23, 32, 47, 0.05);
}

.mb-home-term-list {
	display: grid;
	gap: 9px;
}

.mb-home-term-list a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--mb-home-line-soft);
	border-radius: 8px;
	background: var(--mb-home-soft);
}

.mb-home-term-list a:hover,
.mb-home-term-list a:focus {
	border-color: rgba(11, 83, 148, 0.34);
	background: #ffffff;
}

.mb-home-term-list span {
	overflow: hidden;
	font-size: 15px;
	font-weight: 720;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-home-term-list small {
	min-width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #ffffff;
	color: var(--mb-home-blue-dark);
	font-size: 12px;
	font-weight: 780;
}

.mb-home-latest-list {
	display: grid;
	border-top: 1px solid var(--mb-home-line);
	background: #ffffff;
}

.mb-home-latest {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) minmax(170px, 0.28fr);
	gap: 22px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid var(--mb-home-line);
}

.mb-home-latest__number {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #ffffff;
	color: var(--mb-home-blue-dark);
	font-size: 13px;
	font-weight: 800;
	box-shadow: inset 0 0 0 1px var(--mb-home-line);
}

.mb-home-latest__meta {
	display: grid;
	gap: 7px;
	justify-items: end;
	text-align: right;
}

.mb-home-latest__meta span,
.mb-home-latest__meta small {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-home-latest__meta span {
	font-size: 13px;
	font-weight: 760;
	color: var(--mb-home-red);
}

.mb-home-latest__meta small {
	font-size: 12px;
	color: var(--mb-home-muted);
}

.mb-home-cta {
	padding: 56px 0;
	background: var(--mb-home-blue-dark);
	color: #ffffff;
}

.mb-home-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
}

.mb-home-cta h2,
.mb-home-cta p {
	color: #ffffff;
}

.mb-home-cta p {
	color: rgba(255, 255, 255, 0.78);
}

.mb-home-cta .mb-home-button--primary {
	background: #ffffff;
	color: var(--mb-home-blue-dark);
}

.mb-home-cta .mb-home-button--primary:hover,
.mb-home-cta .mb-home-button--primary:focus {
	background: #eaf1f8;
	color: var(--mb-home-blue-dark);
}

@media (max-width: 1080px) {
	.mb-home-hero__grid {
		grid-template-columns: 1fr;
		gap: 42px;
		padding: 58px 0 54px;
	}

	.mb-home-hero__copy h1 {
		max-width: 900px;
		font-size: 52px;
	}

	.mb-home-hero__media,
	.mb-home-hero__media > img {
		min-height: 440px;
	}

	.mb-home-profession-grid,
	.mb-home-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.admin-bar .mb-home-header {
		top: 46px;
	}

	.mb-home-container {
		width: min(100% - 28px, 1180px);
	}

	.mb-home-header__inner {
		min-height: 68px;
	}

	.mb-home-nav {
		display: none;
	}

	.mb-home-hero__copy h1 {
		font-size: 42px;
		line-height: 1.08;
	}

	.mb-home-hero__lead {
		font-size: 17px;
	}

	.mb-home-section {
		padding: 64px 0;
	}

	.mb-home-section__head--row,
	.mb-home-cta__inner,
	.mb-home-browse-grid {
		grid-template-columns: 1fr;
		display: grid;
		align-items: start;
	}

	.mb-home-section__head h2,
	.mb-home-cta h2 {
		font-size: 34px;
	}

	.mb-home-latest {
		grid-template-columns: 44px minmax(0, 1fr);
	}

	.mb-home-latest__meta {
		grid-column: 2;
		justify-items: start;
		text-align: left;
	}
}

@media (max-width: 620px) {
	.mb-home-header__search {
		display: none;
	}

	.mb-home-brand__text {
		font-size: 17px;
	}

	.mb-home-hero__grid {
		padding: 44px 0 42px;
	}

	.mb-home-hero__copy h1 {
		font-size: 34px;
	}

	.mb-home-search {
		grid-template-columns: 1fr;
	}

	.mb-home-search button {
		width: 100%;
	}

	.mb-home-stats {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mb-home-hero__media {
		min-height: 360px;
	}

	.mb-home-hero__media > img {
		min-height: 360px;
	}

	.mb-home-hero__stack {
		left: 16px;
		right: 16px;
		top: 16px;
	}

	.mb-home-hero__stack article {
		max-width: none;
	}

	.mb-home-hero__stack article:nth-child(2),
	.mb-home-hero__stack article:nth-child(3) {
		margin-left: 0;
	}

	.mb-home-profession-grid,
	.mb-home-featured-grid {
		grid-template-columns: 1fr;
	}

	.mb-home-browse-panel {
		padding: 22px;
	}

	.mb-home-latest {
		gap: 14px;
		padding: 20px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mb-home-profession {
		transition: none;
	}

	.mb-home-profession:hover,
	.mb-home-profession:focus {
		transform: none;
	}
}
