/* Author profile. Shared byline rules stay in style.css. */

.tp-author-page .entry-title {
	margin-top: 0;
}

.tp-author-profile {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 28px;
	margin: 0 0 36px;
	padding: 20px;
	background: var( --tp-color-surface );
	border-radius: 12px;
}

.tp-author-profile__side {
	text-align: center;
}

.tp-author-profile__avatar {
	display: block;
	width: 160px;
	height: 160px;
	margin: 0 auto 12px;
	object-fit: cover;
	border-radius: 50%;
}

.tp-author-profile__short-name,
.tp-author-profile__job {
	margin: 0 0 8px;
	color: var( --tp-color-muted );
}

.tp-author-profile__bio > :last-child {
	margin-bottom: 0;
}

.tp-author-articles h2 {
	margin: 0 0 8px;
}

.tp-author-article {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var( --tp-color-line );
}

.tp-author-article__body:only-child {
	grid-column: 1 / -1;
}

.tp-author-article__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.tp-author-article__title {
	margin: 0 0 8px;
	font-size: 20px;
}

.tp-author-article__excerpt > :last-child {
	margin-bottom: 0;
}

.tp-author-article__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
	color: var( --tp-color-muted );
	font-size: 14px;
}

.tp-author-articles__pagination {
	margin-top: 20px;
}

@media (max-width: 640px) {
	.tp-author-profile,
	.tp-author-article {
		grid-template-columns: 1fr;
	}
}
