/* Author page and the "Written by" box (LM_Author). Tokens come from global.css, so light and dark both follow. */

.lm-author-photo {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border: 2px solid var( --lm-line );
	border-radius: 50%;
}

.lm-author-photo--lg {
	width: 128px;
	height: 128px;
}

/* Box at the end of a listing */
.lm-author-box {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 32px 0 8px;
	padding: 18px 20px;
	background: var( --lm-panel );
	border: 1px solid var( --lm-line );
	border-radius: var( --lm-radius );
}

.lm-author-box p {
	margin: 0;
}

.lm-author-by {
	font-size: 13px;
	color: var( --lm-muted );
}

.lm-author-by a {
	font-weight: 700;
	color: var( --lm-ink );
	text-decoration: none;
}

.lm-author-by a:hover {
	color: var( --lm-link );
}

.lm-author-line {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.5;
	color: var( --lm-ink );
}

.lm-author-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 8px;
	font-size: 14px;
}

.lm-author-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	font-weight: 600;
	color: var( --lm-link );
	text-decoration: none;
}

.lm-author-links a:hover {
	text-decoration: underline;
}

/* Author page */
.lm-author-crumbs {
	margin: 18px 0 0;
}

.lm-author-hero {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 22px 0 36px;
}

.lm-author-role {
	margin: 6px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var( --lm-link );
}

.lm-author-bio {
	max-width: 62ch;
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var( --lm-ink );
}

.lm-author-latest-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 800;
	color: var( --lm-ink );
}

@media ( max-width: 640px ) {
	.lm-author-box {
		align-items: flex-start;
		gap: 14px;
		padding: 16px;
	}

	.lm-author-hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.lm-author-photo--lg {
		width: 96px;
		height: 96px;
	}
}

/* Breadcrumb on the author page (the listing breadcrumb styles are not loaded here). */
.lm-author-crumbs .lm-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var( --lm-muted );
}

.lm-author-crumbs .lm-breadcrumb + .lm-breadcrumb::before {
	content: '\00bb';
	margin-right: 8px;
}

.lm-author-crumbs .lm-breadcrumb a {
	color: var( --lm-link );
	text-decoration: none;
}

.lm-author-crumbs .lm-breadcrumb[aria-current] {
	font-weight: 600;
	color: var( --lm-ink );
}
