.article-header {
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 2rem;
}

.article-header-content {
	/* max-width: 800px; */
	margin: 0 auto;
}

.article-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: #1f2937;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.author-info {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.author-avatar {
	width: 125px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e5e7eb;
}

.author-details {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.author-name {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	color: #374151;
}

.by-text {
	font-weight: 400;
	color: #6b7280;
}

.article-metadata {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #6b7280;
}

.publish-date,
.reading-time,
.article-category {
	display: flex;
	align-items: center;
}

.category-label {
	background-color: #f3f4f6;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-weight: 500;
	color: #374151;
}

.article-actions {
	display: flex;
	gap: 0.5rem;
}

.article-download-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background-color: #3b82f6;
	color: white;
	border: none;
	border-radius: 0.375rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.article-download-btn:hover {
	background-color: #2563eb;
}

/* Avatar hover effect */
.author-avatar {
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	border-radius: 50%;
}

.author-avatar:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Lightbox overlay */
.author-lightbox-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	padding: 20px;
	box-sizing: border-box;
}

/* Lightbox image */
.author-lightbox-overlay img {
	max-width: 80%;
	max-height: 80%;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
	transition: transform 0.3s, filter 0.3s;
	display: block;
	margin: 0 auto;
	object-fit: contain; /* ensures image is scaled nicely */
}

/* Hover effect */
.author-lightbox-overlay img:hover {
	transform: scale(1.05);
	filter: brightness(1.05);
}

/* Show overlay */
.author-lightbox-overlay.active {
	display: flex;
	animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}




@media (max-width: 640px) {
	.article-title {
		font-size: 2rem;
	}

	.article-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.author-info {
		width: 100%;
	}

	.article-actions {
		width: 100%;
		justify-content: flex-start;
	}
}

button.mlmmc-layout-btn {
	background: transparent;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mlmmc-layout-toggle {
	display: flex;
	gap: 15px;
}