/* [list_authors]. Enqueued only when that shortcode is in the page content. */

.tp-author-list {
	display: grid;
	gap: 16px;
	margin: 0 0 1.5rem;
}

.tp-author-list__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px;
	background: var( --tp-color-surface );
	border-radius: 12px;
	transition: box-shadow 0.15s ease;
}

.tp-author-list__item:hover {
	box-shadow: 0 4px 16px rgba( var( --tp-color-primary-rgb ), 0.08 );
}

.tp-author-list__avatar {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
}

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

.tp-author-list__name {
	margin: 0 0 4px;
	font-size: 22px;
	line-height: 1.25;
}

.tp-author-list__name a {
	color: inherit;
	text-decoration: none;
}

.tp-author-list__name a:hover,
.tp-author-list__name a:focus {
	color: var( --tp-color-primary-deep );
}

.tp-author-list__job {
	margin: 0 0 8px;
	color: var( --tp-color-muted );
}

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

.entry-content .tp-author-list__name,
.entry-content .tp-author-list__job,
.entry-content .tp-author-list__bio,
.entry-content .tp-author-list__bio p {
	text-align: left;
}

.tp-author-list__linkedin {
	display: inline-block;
	margin-left: 8px;
	line-height: 1;
	vertical-align: middle;
}

.tp-author-list__linkedin img {
	display: block;
	width: 22px;
	height: 22px;
}

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

	.tp-author-list__avatar {
		margin-inline: auto;
	}
}
