.overtop-authors {
	padding: 28px 0 80px;
	color: var(--overtop-ink);
	font-family: var(--overtop-sans);
}

.overtop-authors__inner {
	width: 100%;
	margin: 0;
}

.overtop-authors__inner--detail {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 36px 40px;
	align-items: start;
}

.overtop-authors__main {
	min-width: 0;
}

.overtop-authors__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--overtop-muted);
	font-size: 13px;
}

.overtop-authors__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.overtop-authors__breadcrumb a:hover {
	color: var(--overtop-blue);
}

.overtop-authors__empty {
	margin: 8px 0 0;
	color: var(--overtop-muted);
	font-size: 15px;
	line-height: 1.7;
}

.overtop-authors__back-link {
	color: var(--overtop-blue);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.overtop-authors__back-link:hover {
	text-decoration: underline;
}

.overtop-authors__grid,
.overtop-popular-authors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px 72px;
}

.overtop-author-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 18px 20px;
	align-items: center;
	min-width: 0;
	text-decoration: none;
	color: inherit;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.overtop-author-card:focus,
.overtop-author-card:focus-visible,
.overtop-author-card:active {
	outline: none;
	box-shadow: none;
}

.overtop-author-card__avatar {
	position: relative;
	width: 112px;
	height: 112px;
	flex-shrink: 0;
}

.overtop-author-card__photo {
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background: #ece7e0;
}

.overtop-author-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	filter: grayscale(0.15);
}

.overtop-author-card__badge {
	position: absolute;
	left: -2px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 999px;
	background: #1a1a1a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.overtop-author-card--mint .overtop-author-card__badge {
	background: #2f6a57;
}

.overtop-author-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.overtop-author-card__tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 6px;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.overtop-author-card__headline {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-size: clamp(17px, 1.7vw, 20px);
	font-weight: 700;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.overtop-author-card__name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.overtop-author-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: var(--overtop-muted);
	font-size: 13px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.overtop-author-detail {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	gap: 28px 40px;
	align-items: start;
}

.overtop-author-detail__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.overtop-author-detail__photo {
	overflow: hidden;
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: #ece7e0;
	box-shadow: var(--overtop-shadow);
}

.overtop-author-detail__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
}

.overtop-author-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(160deg, #e8ddd2, #d4c4b4);
	color: rgba(40, 32, 24, 0.72);
}

.overtop-author-placeholder__mark {
	font-family: var(--overtop-serif);
	font-size: clamp(28px, 4.5vw, 42px);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}

.overtop-author-placeholder--detail .overtop-author-placeholder__mark {
	font-size: clamp(56px, 8vw, 88px);
}

.overtop-author-placeholder--peach {
	background: linear-gradient(160deg, #f3c2ae, #e8a58c);
}

.overtop-author-placeholder--sage {
	background: linear-gradient(160deg, #cfe0c0, #9fb892);
}

.overtop-author-placeholder--lavender {
	background: linear-gradient(160deg, #ddd0ee, #b9a6d4);
}

.overtop-author-placeholder--sand {
	background: linear-gradient(160deg, #ecd9b4, #d2b684);
}

.overtop-author-placeholder--mint {
	background: linear-gradient(160deg, #cfe8d4, #8fbfa8);
}

.overtop-author-placeholder--rose {
	background: linear-gradient(160deg, #f0c3c8, #d98b96);
}

.overtop-author-placeholder--sky {
	background: linear-gradient(160deg, #c9d7ee, #8aa4cc);
}

.overtop-author-placeholder--clay {
	background: linear-gradient(160deg, #e4c4a8, #c4926c);
}

.overtop-author-detail__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.overtop-author-detail__name {
	margin: 0;
	font-family: var(--overtop-serif);
	font-size: clamp(28px, 3.5vw, 36px);
	font-weight: 700;
	line-height: 1.2;
}

.overtop-author-detail__bio {
	margin-top: 4px;
	color: #3d4654;
	font-size: 15px;
	line-height: 1.9;
}

.overtop-author-detail__bio p {
	margin: 0 0 1em;
}

.overtop-author-detail__bio p:last-child {
	margin-bottom: 0;
}

.overtop-author-detail__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

.overtop-author-detail__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	overflow: hidden;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.overtop-author-detail__social-link:hover {
	transform: translateY(-1px);
	opacity: 0.88;
}

.overtop-author-detail__social-icon {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.overtop-author-works {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.overtop-author-works__title {
	margin: 0 0 22px;
	font-family: var(--overtop-serif);
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 700;
	line-height: 1.25;
}

.overtop-author-works__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 20px 18px;
}

@media (max-width: 900px) {
	.overtop-authors__grid,
	.overtop-popular-authors {
		grid-template-columns: 1fr;
		gap: 44px;
	}
}

@media (max-width: 720px) {
	.overtop-authors {
		padding-top: 16px;
		padding-bottom: 56px;
	}

	.overtop-authors__inner--detail {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.overtop-authors--detail .overtop-books__sidebar {
		position: static;
		top: auto;
		padding-top: 0;
		margin: 0 calc(-1 * var(--overtop-pad-x, 20px));
		padding-inline: var(--overtop-pad-x, 20px);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.overtop-authors--detail .overtop-books__sidebar-label {
		margin-bottom: 8px;
	}

	.overtop-authors--detail .overtop-books__sidebar-nav {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 6px;
		width: max-content;
		padding-bottom: 4px;
	}

	.overtop-authors--detail .overtop-books__sidebar-link {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 7px 12px;
		border: 1px solid rgba(26, 26, 26, 0.12);
		background: rgba(255, 255, 255, 0.7);
	}

	.overtop-author-card {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px 16px;
	}

	.overtop-author-card__avatar {
		width: 88px;
		height: 88px;
	}

	.overtop-author-card__badge {
		min-width: 34px;
		height: 34px;
		font-size: 10px;
	}

	.overtop-author-detail {
		grid-template-columns: 1fr;
	}

	.overtop-author-detail__photo {
		max-width: 280px;
		margin-inline: auto;
	}
}
