/* Author pages (taxonomy-dreeze_author.php). Colours and fonts are the
   Bridgeable tokens, available on every page through the `bridgeable` body class. */
.dreeze-author-page {
	font-family: var(--dreeze-font--body);
}

.dreeze-author-page__inner {
	/* Same 1050px column as the article pages. */
	width: min(1050px, 100% - 40px);
	margin: 0 auto;
}

.dreeze-author-page__hero {
	padding: 12rem 0 4rem;
	background: var(--dreeze-color--ink);
	color: var(--dreeze-color--paper);
}

.dreeze-author-page__avatar {
	display: block;
	width: 6rem;
	height: 6rem;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
	object-fit: cover;
}

.dreeze-author-page__name {
	margin: 0;
	color: inherit;
	font-family: var(--dreeze-font--heading);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	line-height: 1.1em;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.dreeze-author-page__position {
	margin: 0.75rem 0 0;
	font-size: 1.125rem;
	opacity: 0.8;
}

.dreeze-author-page__body {
	padding: 3rem 0 5rem;
	background: var(--dreeze-color--paper);
	color: var(--dreeze-color--ink);
}

.dreeze-author-page__bio {
	max-width: 46rem;
	font-size: 1.125rem;
	line-height: 1.6em;
}

.dreeze-author-page__bio p {
	margin: 0 0 1em;
}

.dreeze-author-page__heading {
	margin: 3rem 0 1.5rem;
	font-family: var(--dreeze-font--heading);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.dreeze-author-page__posts {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dreeze-author-page__posts li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(31, 32, 35, 0.15);
}

.dreeze-author-page__posts a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.dreeze-author-page__posts time {
	font-size: 0.875rem;
	opacity: 0.7;
}
