:root {
	--background: hsl(0 0% 100%);
	--foreground: hsl(222.2 84% 4.9%);
	--card: hsl(0 0% 100%);
	--card-foreground: hsl(222.2 84% 4.9%);
	--primary: hsl(222.2 47.4% 11.2%);
	--primary-foreground: hsl(210 40% 98%);
	--secondary: hsl(210 40% 96.1%);
	--secondary-foreground: hsl(222.2 47.4% 11.2%);
	--muted: hsl(210 40% 96.1%);
	--muted-foreground: hsl(215.4 16.3% 46.9%);
	--accent: hsl(210 40% 96.1%);
	--accent-foreground: hsl(222.2 47.4% 11.2%);
	--border: hsl(214.3 31.8% 91.4%);
	--radius: 0.5rem;
}

.mlmmc-author-profile {
	min-height: 100vh;
	background: var(--background);
	color: var(--foreground);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.5;
}

/* Hero Section */
.mlmmc-hero-section {
	position: relative;
	background: linear-gradient(135deg, hsl(222.2 47.4% 11.2% / 0.05) 0%, hsl(210 40% 96.1% / 0.1) 100%);
	padding: 4rem 1rem;
}

.mlmmc-hero-container {
	max-width: 64rem;
	margin: 0 auto;
}

.mlmmc-hero-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 768px) {
	.mlmmc-hero-content {
		flex-direction: row;
	}
}

.mlmmc-avatar {
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	border: 4px solid var(--background);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	object-fit: cover;
}

@media (min-width: 768px) {
	.mlmmc-avatar {
		width: 10rem;
		height: 10rem;
	}
}

.mlmmc-hero-info {
	text-align: center;
}

@media (min-width: 768px) {
	.mlmmc-hero-info {
		text-align: left;
	}
}

.mlmmc-author-name {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--foreground);
	margin: 0 0 0.5rem 0;
}

@media (min-width: 768px) {
	.mlmmc-author-name {
		font-size: 3rem;
	}
}

.mlmmc-author-title {
	font-size: 1.25rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}

.mlmmc-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.mlmmc-badges {
		justify-content: flex-start;
	}
}

.mlmmc-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: var(--secondary);
	color: var(--secondary-foreground);
	padding: 0.25rem 0.75rem;
	border-radius: var(--radius);
	font-size: 0.875rem;
	font-weight: 500;
}

.mlmmc-badge-icon {
	width: 1rem;
	height: 1rem;
}

.mlmmc-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	justify-content: center;
}

@media (min-width: 768px) {
	.mlmmc-meta {
		justify-content: flex-start;
	}
}

.mlmmc-meta-item {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* Content Section */
.mlmmc-content-section {
	padding: 4rem 1rem;
}

.mlmmc-content-container {
	max-width: 64rem;
	margin: 0 auto;
	display: grid;
	gap: 3rem;
}

@media (min-width: 768px) {
	.mlmmc-content-container {
		grid-template-columns: 2fr 1fr;
	}
}

.mlmmc-main-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.mlmmc-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Card Styles */
.mlmmc-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 2px);
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mlmmc-card-content {
	padding: 2rem;
}

.mlmmc-sidebar .mlmmc-card-content {
	padding: 1.5rem;
}

.mlmmc-card-title {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--foreground);
	margin: 0 0 1rem 0;
}

.mlmmc-sidebar .mlmmc-card-title {
	font-size: 1.125rem;
	margin-bottom: 1rem;
}

/* Bio Content */
.mlmmc-bio {
	color: var(--muted-foreground);
	line-height: 1.75;
}

.mlmmc-bio p {
	margin-bottom: 1rem;
}

.mlmmc-bio p:last-child {
	margin-bottom: 0;
}

/* Articles List */
.mlmmc-articles-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mlmmc-article-item {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.mlmmc-article-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.mlmmc-article-info h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.125rem;
	font-weight: 600;
}

.mlmmc-article-info h3 a {
	color: var(--foreground);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mlmmc-article-info h3 a:hover {
	color: var(--primary);
	text-decoration: none;
}

.mlmmc-article-date {
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.mlmmc-article-excerpt {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.6;
	margin: 0;
}

.mlmmc-view-more {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	text-align: center;
}

.mlmmc-view-more p {
	margin: 0;
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

/* Sidebar Styles */
.mlmmc-connect-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.mlmmc-connect-btn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 0.75rem 1rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--foreground);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.mlmmc-connect-btn:hover {
	background: var(--accent);
	text-decoration: none;
	color: var(--accent-foreground);
}

.mlmmc-connect-icon {
	width: 1rem;
	height: 1rem;
	margin-right: 0.5rem;
}

.mlmmc-awards-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.875rem;
}

.mlmmc-award-item h4 {
	font-weight: 500;
	color: var(--foreground);
	margin: 0;
}

.mlmmc-award-year {
	color: var(--muted-foreground);
}

.mlmmc-stats {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mlmmc-stat-item {
	text-align: center;
}

.mlmmc-stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
	display: block;
}

.mlmmc-stat-label {
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

/* Icons (Simple CSS Icons) */
.mlmmc-icon {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: 0.25rem;
}

.mlmmc-icon.map-pin::before {
	content: "📍";
}

.mlmmc-icon.calendar::before {
	content: "📅";
}

.mlmmc-icon.mail::before {
	content: "📧";
}

.mlmmc-icon.award::before {
	content: "🏆";
}

.mlmmc-icon.book::before {
	content: "📝";
}

.mlmmc-icon.article::before {
	content: "📄";
}

.mlmmc-icon.users::before {
	content: "👥";
}

.mlmmc-icon.external-link::before {
	content: "🔗";
}

@media (max-width: 768px) {
	.mlmmc-hero-section {
		padding: 2rem 1rem;
	}

	.mlmmc-content-section {
		padding: 2rem 1rem;
	}

	.mlmmc-author-name {
		font-size: 2rem;
	}

	.mlmmc-card-content {
		padding: 1.5rem;
	}
}

.mlmmc-articles-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.mlmmc-article-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
	padding: 20px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.mlmmc-article-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.mlmmc-article-item h3 {
	font-size: 1.2rem;
	margin-bottom: 8px;
	color: #111;
}

.mlmmc-article-item h3 a {
	text-decoration: none;
	color: inherit;
}

.mlmmc-article-item h3 a:hover {
	color: #ffb800; /* gold accent */
}

.mlmmc-article-date {
	font-size: 0.85rem;
	color: #888;
}

.mlmmc-article-excerpt {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
}

/* Optional responsive tweak */
@media (max-width: 600px) {
	.mlmmc-articles-list {
		grid-template-columns: 1fr;
	}
}
