/* ====================================== 
   Section bio d'auteur - Style Premium
   ====================================== */

.single-article__author {
	margin: 3rem 0 2rem 0;
	background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

.single-article__author:hover {
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

body.dark-theme .single-article__author {
	background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
	border-color: #2d2d2d;
}

body.dark-theme .single-article__author:hover {
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.single-article__author-container {
	display: flex;
	gap: 2rem;
	padding: 2rem;
	align-items: flex-start;
}

.single-article__author-avatar {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid transparent;
	background: linear-gradient(135deg, #c89200 0%, #fccb06 100%);
	padding: 3px;
	position: relative;
}

.single-article__author-avatar::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #c89200 0%, #fccb06 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.single-article__author:hover .single-article__author-avatar::before {
	opacity: 0.1;
}

.single-article__author-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
	position: relative;
	z-index: 2;
}

.single-article__author-content {
	flex: 1;
	min-width: 0;
}

.single-article__author-name {
	margin: 0 0 0.5rem 0;
	font-size: 1.375rem;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -0.5px;
	line-height: 1.4;
}

body.dark-theme .single-article__author-name {
	color: #f3f4f6;
}

.single-article__author-name a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
	position: relative;
}

.single-article__author-name a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #c6b381, #fccb06);
	transition: width 0.3s ease;
}

.single-article__author-name a:hover::after {
	width: 100%;
}

body.dark-theme .single-article__author-name a:hover {
	color: #c4b5fd;
}

.single-article__author-bio {
	margin: 0.75rem 0 1rem 0;
	font-size: 0.9375rem;
	color: #4b5563;
	line-height: 1.6;
	font-weight: 400;
}

body.dark-theme .single-article__author-bio {
	color: #d1d5db;
}

.single-article__author-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	background: linear-gradient(135deg, #c89200 0%, #f3d24b 100%);
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	letter-spacing: 0.3px;
}

.single-article__author-link:hover {
	transform: translateX(4px);
	box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

body.dark-theme .single-article__author-link {
	background: linear-gradient(135deg, #e2c473 0%, #e5ad15 100%);
	color: #0f0f0f;
}

body.dark-theme .single-article__author-link:hover {
	box-shadow: 0 8px 20px rgba(129, 140, 248, 0.4);
}

/* Badge "Auteur" optionnel */
.single-article__author::before {
	content: 'AUTEUR';
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: linear-gradient(135deg, #c89200 0%, #fccb06 100%);
	color: white;
	padding: 0.375rem 0.75rem;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 1px;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 10;
}

.single-article__author:hover::before {
	opacity: 1;
	transform: scale(1);
}

/* Responsive pour tablette */
@media (max-width: 768px) {
	.single-article__author {
		margin: 2rem 0 1.5rem 0;
	}

	.single-article__author-container {
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.single-article__author-avatar {
		width: 100px;
		height: 100px;
	}

	.single-article__author-name {
		font-size: 1.25rem;
	}

	.single-article__author-bio {
		font-size: 0.875rem;
	}
}

/* Responsive pour mobile */
@media (max-width: 640px) {
	.single-article__author {
		margin: 1.5rem 0 1rem 0;
		border-radius: 8px;
	}

	.single-article__author-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1rem;
		padding: 1.25rem;
	}

	.single-article__author-avatar {
		width: 90px;
		height: 90px;
	}

	.single-article__author-name {
		font-size: 1.125rem;
		margin-bottom: 0.5rem;
	}

	.single-article__author-bio {
		font-size: 0.8125rem;
		margin: 0.5rem 0 0.75rem 0;
	}

	.single-article__author-link {
		width: 100%;
		justify-content: center;
	}

	.single-article__author:hover::before {
		display: none;
	}
}