/* Author Page Styles */

/* Author Header */
.author-page-header {
	position: relative;
	padding: 80px 0;
	background: #f9f9f9;
	border-bottom: 1px solid #eee;
}

.author-header-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 1;
}

.author-header-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 2;
}

.author-header-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: #fff;
}

.author-avatar-large {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid #fff;
	margin: 0 auto 20px;
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-name {
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #fff;
}

.author-bio {
	font-size: 16px;
	max-width: 600px;
	margin: 0 auto 20px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
}

.author-stats {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin: 20px 0;
	font-size: 14px;
}

.author-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.author-stat-number {
	font-size: 24px;
	font-weight: 700;
	color: #ff5e2e;
}

.author-stat-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.9;
}

.author-socials {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.author-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 16px;
}

.author-social-link:hover {
	background: #ff5e2e;
	transform: translateY(-3px);
}

/* Author Bio Widget on Posts */
.author-bio-widget {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 30px;
	margin: 40px 0;
}

.author-bio-card {
	display: flex;
	gap: 20px;
}

.author-bio-avatar {
	flex-shrink: 0;
}

.author-bio-avatar .avatar-image {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.author-bio-info {
	flex: 1;
}

.author-bio-name {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #1f242e;
}

.author-bio-name a {
	color: #1f242e;
	text-decoration: none;
	transition: color 0.3s ease;
}

.author-bio-name a:hover {
	color: #ff5e2e;
}

.author-bio-description {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin: 0 0 15px 0;
}

.author-bio-socials {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.author-bio-socials .author-social-link {
	width: 36px;
	height: 36px;
	background: #e8e8e8;
	color: #1f242e;
	font-size: 14px;
}

.author-bio-socials .author-social-link:hover {
	background: #ff5e2e;
	color: #fff;
}

.author-bio-link.button {
	display: inline-block;
	padding: 8px 16px;
	background: #ff5e2e;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.author-bio-link.button:hover {
	background: #e74c1a;
	text-decoration: none;
}

/* Author Archive */
.author-posts-container {
	padding: 60px 0;
}

.author-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.author-post-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.author-post-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
}

.author-post-thumbnail {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.author-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.author-post-card:hover .author-post-thumbnail img {
	transform: scale(1.05);
}

.author-post-body {
	padding: 20px;
}

.author-post-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #1f242e;
}

.author-post-title a {
	color: #1f242e;
	text-decoration: none;
	transition: color 0.3s ease;
}

.author-post-title a:hover {
	color: #ff5e2e;
}

.author-post-date {
	font-size: 12px;
	color: #999;
}

/* Responsive */
@media (max-width: 768px) {
	.author-page-header {
		padding: 60px 0;
	}

	.author-name {
		font-size: 28px;
	}

	.author-avatar-large {
		width: 100px;
		height: 100px;
	}

	.author-stats {
		gap: 30px;
		flex-wrap: wrap;
	}

	.author-bio-card {
		flex-direction: column;
		text-align: center;
	}

	.author-bio-avatar {
		margin: 0 auto;
	}

	.author-bio-socials {
		justify-content: center;
	}

	.author-posts-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.author-page-header {
		padding: 40px 0;
	}

	.author-name {
		font-size: 22px;
	}

	.author-bio-widget {
		padding: 20px;
	}

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

	.author-stats {
		gap: 20px;
	}
}
