:root {
	--pc-author-ink: #1a0f0e;
	--pc-author-brown: #4f3428;
	--pc-author-muted: #72584c;
	--pc-author-orange: #f26522;
	--pc-author-caramel: #a63b00;
	--pc-author-border: rgba(166, 59, 0, 0.18);
	--pc-author-shadow: 0 18px 45px rgba(62, 39, 35, 0.12);
}

.pc-author-archive {
	background:
		linear-gradient(180deg, #fff 0%, #fff9f2 360px, #fff 860px);
	padding: 34px 0 64px;
}

.pc-author-hero,
.pc-author-topics,
.pc-author-posts {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.pc-author-hero {
	position: relative;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 250px;
	align-items: center;
	gap: 30px;
	overflow: hidden;
	margin-bottom: 26px;
	padding: 30px 36px;
	border: 1px solid var(--pc-author-border);
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 247, 239, 0.9)),
		radial-gradient(circle at 92% 8%, rgba(242, 101, 34, 0.22), transparent 34%);
	box-shadow: var(--pc-author-shadow);
}

.pc-author-hero::before {
	display: none;
}

.pc-author-hero__avatar {
	position: relative;
	z-index: 1;
	width: 132px;
	height: 132px;
	padding: 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #fff, #fff4e8);
	box-shadow: 0 16px 32px rgba(62, 39, 35, 0.13);
}

.pc-author-avatar-img {
	display: block;
	width: 100%;
	height: 100%;
	border: 3px solid #fff;
	border-radius: inherit;
	object-fit: cover;
}

.pc-author-hero__body {
	position: relative;
	z-index: 1;
}

.pc-author-kicker {
	display: inline-flex;
	margin-bottom: 9px;
	color: var(--pc-author-orange);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.pc-author-hero h1,
.pc-author-topics h2,
.pc-author-posts__head h2 {
	margin: 0;
	color: var(--pc-author-ink);
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.pc-author-hero h1 {
	font-size: 42px;
}

.pc-author-hero p {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--pc-author-muted);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.72;
}

.pc-author-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.pc-author-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid var(--pc-author-orange);
	border-radius: 999px;
	background: var(--pc-author-orange);
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pc-author-action:hover,
.pc-author-action:focus-visible {
	background: var(--pc-author-caramel);
	border-color: var(--pc-author-caramel);
	color: #fff;
	transform: translateY(-2px);
}

.pc-author-action--ghost {
	background: #fff;
	border-color: var(--pc-author-border);
	color: var(--pc-author-caramel);
}

.pc-author-action--ghost:hover,
.pc-author-action--ghost:focus-visible {
	background: var(--pc-author-orange);
	border-color: var(--pc-author-orange);
	color: #fff;
}

.pc-author-action .material-symbols-outlined {
	font-size: 18px;
}

.pc-author-hero__stats {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 8px;
	align-self: center;
	padding: 12px;
	border: 1px solid rgba(166, 59, 0, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.62);
	box-shadow: 0 10px 24px rgba(62, 39, 35, 0.06);
}

.pc-author-hero__stats span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid rgba(166, 59, 0, 0.16);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--pc-author-muted);
	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 800;
}

.pc-author-hero__stats strong {
	color: var(--pc-author-caramel);
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
}

.pc-author-topics {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	gap: 22px;
	margin-bottom: 36px;
	padding: 24px;
	border: 1px solid var(--pc-author-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(62, 39, 35, 0.08);
}

.pc-author-topics h2,
.pc-author-posts__head h2 {
	font-size: 30px;
}

.pc-author-topic-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.pc-author-topic-list a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid rgba(166, 59, 0, 0.18);
	border-radius: 999px;
	background: #fff8f0;
	color: var(--pc-author-brown);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pc-author-topic-list a:hover,
.pc-author-topic-list a:focus-visible {
	background: var(--pc-author-orange);
	color: #fff;
	transform: translateY(-2px);
}

.pc-author-posts__head {
	margin-bottom: 18px;
}

.pc-author-posts #post-list,
.pc-author-posts #post-list > .row,
.pc-author-posts .row.large-columns-3,
.pc-author-posts .row.medium-columns-1,
.pc-author-posts .row.small-columns-1 {
	width: 100%;
	max-width: none;
}

.pc-author-posts #post-list > .row {
	margin-left: -12px;
	margin-right: -12px;
}

.pc-author-posts #post-list > .row > .col,
.pc-author-posts .col.post-item {
	padding-left: 12px;
	padding-right: 12px;
}

.pc-author-posts .box-blog-post {
	overflow: hidden;
	border: 1px solid rgba(166, 59, 0, 0.16);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 32px rgba(62, 39, 35, 0.1);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pc-author-posts .box-blog-post:hover {
	box-shadow: 0 18px 42px rgba(62, 39, 35, 0.14);
}

.pc-author-posts .box-blog-post .box-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.pc-author-posts .box-blog-post .box-text {
	padding: 15px 16px 18px;
}

.pc-author-posts .box-blog-post .post-title {
	margin-bottom: 8px;
	font-family: "Manrope", sans-serif;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.pc-author-posts .box-blog-post .from_the_blog_excerpt {
	color: var(--pc-author-muted);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-style: italic;
	line-height: 1.65;
}

@media (max-width: 1024px) {
	.pc-author-hero {
		grid-template-columns: 128px 1fr;
		padding: 26px;
	}

	.pc-author-hero__avatar {
		width: 120px;
		height: 120px;
	}

	.pc-author-hero__stats {
		grid-column: 1 / -1;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pc-author-topics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.pc-author-archive {
		padding-top: 20px;
	}

	.pc-author-hero,
	.pc-author-topics,
	.pc-author-posts {
		width: min(100% - 24px, 1180px);
	}

	.pc-author-hero {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px 20px;
		text-align: left;
	}

	.pc-author-hero__avatar {
		width: 116px;
		height: 116px;
	}

	.pc-author-hero h1 {
		font-size: 32px;
	}

	.pc-author-hero p {
		font-size: 15px;
	}

	.pc-author-hero__stats {
		grid-template-columns: 1fr;
		padding: 10px;
	}

	.pc-author-hero__stats span {
		min-height: 38px;
	}

	.pc-author-topics,
	.pc-author-posts__head {
		margin-bottom: 22px;
	}

	.pc-author-topics h2,
	.pc-author-posts__head h2 {
		font-size: 26px;
	}

	.pc-author-posts #post-list,
	.pc-author-posts #post-list > .row {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	.pc-author-posts #post-list > .row > .col,
	.pc-author-posts .col.post-item {
		flex-basis: 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.pc-author-posts .box-blog-post {
		width: 100%;
	}
}
