/* author detail page */

/* author.css - basic layout */
.custom-author-archive {
	padding: 40px 20px;
}

.custom-author-archive .author-top-row {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.custom-author-archive .author-left {
	width: 320px;
	flex: 0 0 320px;
}

.custom-author-archive .author-right {
	flex: 1;
	min-width: 300px;
}

.custom-author-archive .author-card {
	background: #fff;
	padding: 18px;
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.custom-author-archive .author-avatar-wrap img {
	border-radius: 50%;
	width: 140px;
	height: 140px;
	object-fit: cover;
	display: block;
	margin: 0 auto 12px;
}

.custom-author-archive .author-name {
	text-align: center;
	font-size: 20px;
	margin: 6px 0;
}

.custom-author-archive .author-name a {
	color: #222;
	text-decoration: none;
}

.custom-author-archive .author-role {
	text-align: center;
	color: #666;
	margin-bottom: 14px;
}

.custom-author-archive .author-company-box {
	background: #f7f7f7;
	padding: 8px;
	margin: 10px 0;
	border-radius: 6px;
}

.custom-author-archive .author-social {
	margin: 12px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.custom-author-archive .author-social a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
}

.custom-author-archive .author-expertise {
	margin-top: 12px;
}

.custom-author-archive .expertise-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.custom-author-archive .expertise-tag {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	background: #f2f2f2;
	font-size: 13px;
	text-decoration: none;
	color: #333;
}

.custom-author-archive .author-about {
	background: #fff;
	padding: 22px;
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.custom-author-archive .author-about h2 {
	margin-top: 0;
}

.custom-author-archive .author-articles {
	margin-top: 30px;
}

.custom-author-archive .author-posts-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	margin-top: 20px;
}

.custom-author-archive .author-post-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.custom-author-archive .post-media img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.custom-author-archive .post-body {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.custom-author-archive .post-meta-top .post-cat {
	font-size: 12px;
	color: #4caf50;
	margin-right: 8px;
	text-decoration: none;
}

.custom-author-archive .post-title {
	margin: 10px 0 8px;
	font-size: 18px;
}

.custom-author-archive .post-title a {
	color: #111;
}

.custom-author-archive .post-excerpt {
	color: #666;
	margin-bottom: auto;
}

.custom-author-archive .post-meta-bottom {
	display: flex;
	gap: 12px;
	color: #777;
	font-size: 13px;
	margin-top: 12px;
	align-items: center;
}

/* responsive */
@media (max-width:980px) {
	.custom-author-archive .author-top-row {
		flex-direction: column;
	}

	.custom-author-archive .author-left,
	.custom-author-archive .author-right {
		width: 100%;
		flex: 1 1 auto;
	}
}