/**
 * NexaShop Author Profile & Articles Page Stylesheet
 * Fully integrated with theme typography variables
 */

.nexashop-author-profile-card {
	font-family: var(--nexashop-font-family, 'Vazirmatn', Tahoma, sans-serif);
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	padding: 36px 32px;
	margin-bottom: 36px;
	box-shadow: 0 6px 25px -8px rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	gap: 28px;
	direction: rtl;
	position: relative;
	overflow: hidden;
}

.nexashop-author-profile-card::after {
	content: '';
	position: absolute;
	top: -60px;
	left: -60px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.nexashop-author-avatar-wrap {
	position: relative;
	flex-shrink: 0;
}

.nexashop-author-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	display: block;
}

.nexashop-author-info {
	flex: 1;
	min-width: 0;
}

.nexashop-author-header {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.nexashop-author-name {
	font-family: var(--nexashop-headings-font, var(--nexashop-font-family, sans-serif));
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.nexashop-author-role-badge {
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
	padding: 3px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
}

.nexashop-author-bio {
	font-size: 14.5px;
	color: #64748b;
	line-height: 1.8;
	margin: 0 0 16px;
	max-width: 750px;
}

.nexashop-author-stats {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.nexashop-author-stat-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #475569;
	background: #f8fafc;
	padding: 6px 14px;
	border-radius: 10px;
	border: 1px solid #f1f5f9;
}

.nexashop-author-stat-item strong {
	color: #0f172a;
	font-weight: 700;
}

.nexashop-author-website-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
}

.nexashop-author-website-link:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.nexashop-author-profile-card {
		flex-direction: column;
		text-align: center;
		padding: 28px 20px;
	}
	.nexashop-author-header {
		justify-content: center;
	}
	.nexashop-author-stats {
		justify-content: center;
	}
}
