/* Modern Health & Wellness Design System - Optimized */
:root {
	/* Dynamic colors will be injected here by renderTemplate */
	--bg: var(--background, #f8fafc);
	--card: var(--card, #ffffff);
	--muted: var(--muted, #64748b);
	--border: var(--border, #e2e8f0);
	--text: var(--text, #1e293b);
	--accent: var(--accent, #10b981);
	--accent-hover: var(--accent, #059669);
	--accent-light: var(--accent, #d1fae5);
	--accent-dark: var(--accent, #047857);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	
	/* Smart text colors - automatically adjust based on background */
	--text-on-accent: var(--accent-text, white);
	--text-on-primary: var(--primary-text, white);
	--text-on-secondary: var(--secondary-text, white);
	--text-on-success: var(--success-text, white);
	--text-on-warning: var(--warning-text, white);
	--text-on-error: var(--error-text, white);
}

/* Reset & Base */
* { box-sizing: border-box; }

body { 
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; 
	margin: 0; 
	padding: 0; 
	background: var(--bg); 
	color: var(--text);
	line-height: 1.6;
}

/* Layout Components */
.container { 
	max-width: 1400px; 
	margin: 0 auto; 
	padding: 0 24px; 
	padding-bottom: 40px;
}

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

@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(300px, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(320px, 1fr)); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(4, minmax(280px, 1fr)); } }

/* Navigation Component */
.nav-header {
	background: var(--card);
	border-bottom: 1px solid var(--border);
	padding: 16px 20px;
	margin-bottom: 32px;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(10px);
}

.nav-container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.nav-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}

.nav-title:hover { color: var(--accent); }

/* Mobile Menu Toggle */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.nav-toggle:hover {
	background: var(--accent-light);
}

.nav-toggle-icon {
	width: 24px;
	height: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.nav-toggle-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 1px;
	transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
	display: flex;
	gap: 12px;
	align-items: center;
	transition: all 0.3s ease;
}

.nav-link {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	padding: 12px 16px;
	border-radius: 12px;
	transition: all 0.2s ease;
	position: relative;
	white-space: nowrap;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-link:hover {
	background: var(--accent-light);
	color: var(--text-on-accent);
	transform: translateY(-1px);
}

.nav-link.active {
	background: var(--accent);
	color: var(--text-on-accent);
}

/* Typography Components */
h1 { 
	font-size: 42px; 
	font-weight: 800;
	margin: 0 0 24px; 
	text-align: center; 
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.2;
}

h2 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 24px;
	color: var(--text);
	line-height: 1.3;
}

h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--text);
	line-height: 1.4;
}

h4 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 16px;
	color: var(--text);
	line-height: 1.4;
}

h5 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--text);
	line-height: 1.4;
}

h6 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--text);
	line-height: 1.4;
}

.subtitle { 
	text-align: center; 
	color: var(--muted); 
	margin-bottom: 48px; 
	font-size: 20px;
	font-weight: 500;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* Card Component - Universal */
.card { 
	background: var(--card); 
	border: 1px solid var(--border); 
	border-radius: 20px; 
	padding: 32px; 
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

/* Card Variants */
.persona-card { 
	display: flex; 
	flex-direction: column; 
	gap: 18px;
	padding: 24px;
}

.article-card { 
	border-radius: 16px; 
	padding: 24px; 
	display: flex; 
	flex-direction: column; 
	gap: 12px;
}

.article-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.related-card {
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.related-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

/* Button Component - Universal */
.btn {
	background: var(--accent);
	color: var(--text-on-accent);
	border: none;
	padding: 14px 24px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s;
}

.btn:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn:hover::before { left: 100%; }

.btn:disabled {
	background: var(--muted);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Button Variants */
.read-more-btn { 
	margin-top: 12px; 
	background: var(--accent);
	color: var(--text-on-accent);
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	box-shadow: var(--shadow);
}

.read-more-btn:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 32px;
	padding: 12px 20px;
	border-radius: 12px;
	transition: all 0.2s ease;
	background: var(--accent-light);
}

.back-link:hover {
	background: var(--accent);
	color: var(--text-on-accent);
	transform: translateX(-4px);
}

/* Avatar Component */
.avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--primary));
	color: white;
	font-weight: 600;
	flex-shrink: 0;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
}

/* Avatar Sizes */
.avatar-sm { width: 40px; height: 40px; font-size: 14px; }
.avatar-md { width: 70px; height: 70px; font-size: 26px; }
.avatar-lg { width: 140px; height: 140px; font-size: 42px; border-width: 5px; box-shadow: var(--shadow-lg); }

/* Badge Component */
.badge {
	display: inline-block;
	padding: 8px 16px;
	background: var(--accent-light);
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.badge:hover {
	background: var(--accent);
	color: var(--text-on-accent);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.badge.selected {
	background: var(--accent);
	color: var(--text-on-accent);
	box-shadow: var(--shadow);
}

/* Form Components */
.form-group { margin-bottom: 20px; }

.form-label {
	display: block;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
	font-size: 14px;
}

.form-input, .form-select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 12px;
	font-size: 16px;
	background: var(--card);
	color: var(--text);
	transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-light);
}

.form-select { cursor: pointer; }

/* Image Components */
.product-image, .solution-image {
	border-radius: 8px;
	box-shadow: var(--shadow);
	object-fit: cover;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.product-image {
	max-width: 200px;
	width: 200px;
	height: 150px;
	margin: 0 16px 0 0;
	float: left;
}

.solution-image {
	max-width: 200px;
	width: 200px;
	height: 150px;
	margin: 0 16px 0 0;
	float: left;
}

.product-image:hover, .solution-image:hover {
	transform: scale(1.02);
	box-shadow: var(--shadow-lg);
}

/* Status Components */
.loading, .empty, .error, .success {
	text-align: center;
	padding: 40px 0;
	font-size: 18px;
}

.empty { 
	color: var(--muted); 
	padding: 60px 0; 
	border: 1px dashed var(--border); 
	border-radius: 12px; 
}

.error { color: var(--error); }
.success { color: var(--accent); }

/* Content Sections */
.section-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 24px;
	color: var(--text);
}

.content {
	line-height: 1.7;
	margin-bottom: 32px;
}

.content p {
	margin-bottom: 20px;
	color: var(--text-secondary);
	line-height: 1.7;
	font-size: 16px;
}

.content h2 {
	margin-top: 48px;
	margin-bottom: 24px;
}

.content h3 {
	margin-top: 36px;
	margin-bottom: 20px;
}

.content h4 {
	margin-top: 28px;
	margin-bottom: 16px;
}

.content ul, .content ol {
	margin: 20px 0;
	padding-left: 24px;
}

.content li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.articles-section {
	margin-top: 40px;
	margin-bottom: 60px;
}

.articles-grid { 
	display: grid; 
	grid-template-columns: repeat(1, minmax(0, 1fr)); 
	gap: 16px; 
}

@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Persona Specific Styles */
.persona-header {
	display: flex;
	align-items: flex-start;  /* Changed from flex-start to center */
	gap: 20px;
}

.persona-info h3 { 
	font-size: 20px; 
	font-weight: 700; 
	margin: 0 0 6px; 
	color: var(--text);
	line-height: 1.2;
}

.persona-info h1 { 
	font-size: 36px; 
	font-weight: 800; 
	margin: 0 0 12px; 
	color: var(--text);
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.persona-age { 
	color: var(--text-secondary); 
	font-size: 15px; 
	font-weight: 600;
	display: inline-block;
}

.persona-bio { 
	color: var(--text); 
	font-size: 16px; 
	line-height: 1.6; 
	opacity: 0.95;
	flex-grow: 1;
	font-weight: 400;
}

.persona-expertise {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.expertise-badge {
	background: var(--accent-light);
	color: var(--accent);
	padding: 4px 12px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid var(--accent);
}

.expertise-badge:hover {
	background: var(--accent);
	color: var(--text-on-accent);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-title { 
	font-size: 16px; 
	font-weight: 700; 
	line-height: 1.4; 
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.article-title:hover { color: var(--accent); }

.article-meta { 
	display: flex; 
	align-items: center; 
	gap: 10px; 
	color: var(--muted); 
	font-size: 12px; 
}

.article-date {
	color: var(--muted);
	font-size: 12px;
}

/* Card Content Styles */
.card .title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.4;
}

.card .title a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.card .title a:hover { color: var(--accent); }

.card .meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.card .meta > div:last-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.card .meta > div:last-child > div:first-child {
	font-weight: 600;
	color: var(--text);
	font-size: 14px;
}

.card .excerpt {
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 15px;
}

/* Article Card Specific Styles (Homepage) */
.article-card-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.article-card-header {
	margin-bottom: 16px;
}

.article-card-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.article-card-title a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.article-card-title a:hover {
	color: var(--accent);
}

.article-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.article-card-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.article-author-name {
	font-weight: 600;
	color: var(--text);
	font-size: 14px;
	line-height: 1.2;
}

.article-publish-date {
	font-size: 13px;
	color: var(--muted);
	font-weight: 400;
	line-height: 1.2;
}

.article-card-excerpt {
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: auto;
	font-size: 15px;
	flex-grow: 1;
	margin-top: 0;
	padding-bottom: 20px;
}

/* Pros and Cons */
.pros-cons {
	display: flex;
	gap: 20px;
	margin: 32px 0 24px 0;
	flex-wrap: wrap;
	border-top: 1px solid var(--border);
	padding-top: 20px;
	width: 100%;
}

.pros, .cons {
	flex: 1;
	min-width: 280px;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--card-bg);
	position: relative;
}

.pros { 
	border-left: 4px solid var(--success); 
}

.pros::before {
	content: "✓";
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 18px;
	color: var(--success);
	font-weight: bold;
}

.pros strong { 
	color: var(--success); 
	font-size: 16px;
}

.cons { 
	border-left: 4px solid var(--error); 
}

.cons::before {
	content: "✗";
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 18px;
	color: var(--error);
	font-weight: bold;
}

.cons strong { 
	color: var(--error); 
	font-size: 16px;
}
.cons strong { color: var(--error); }

.pros ul, .cons ul {
	margin: 8px 0 0 0;
	padding-left: 20px;
}

.pros li, .cons li {
	margin: 4px 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.5;
}

/* Related Articles */
.related-articles-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.related-articles-section h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--text);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.related-card h4 {
	margin: 0 0 0.75rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	flex-grow: 1;
}

.related-card h4 a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.related-card h4 a:hover { color: var(--accent); }

.related-meta {
	display: flex;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--muted);
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
}

.related-meta .author {
	font-weight: 500;
	color: var(--accent);
}

/* Generator Page Styles */
.row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.row label {
	font-weight: 600;
	color: var(--text);
	font-size: 14px;
}

.row select, .row input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: 12px;
	font-size: 15px;
	background: var(--card);
	color: var(--text);
	transition: all 0.3s ease;
}

.row select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px;
}

.row select:focus, .row input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-light);
}

.row select:hover, .row input:hover { border-color: var(--accent); }

.small {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.5;
	padding: 8px 0;
}

.list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.generation-form {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.generation-form.hidden { display: none; }

/* Article Ideas Styling */
#personaIdeas {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	margin-top: 16px;
}

#personaIdeas .small {
	font-weight: 600;
	color: var(--text);
	margin-bottom: 12px;
}

#personaIdeas .badge {
	margin-bottom: 8px;
	background: var(--card);
	border: 1px solid var(--accent);
	color: var(--accent);
}

#personaIdeas .badge:hover {
	background: var(--accent);
	color: var(--text-on-accent);
}

#ideasCard { margin-top: 24px; }

#ideasCard h3 {
	color: var(--text);
	margin-bottom: 16px;
}

#ideasList label {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	transition: all 0.2s ease;
	cursor: pointer;
}

#ideasList label:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow);
}

#ideasList input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--accent);
}

#ideasList .small {
	color: var(--text-secondary);
	margin-top: 4px;
}

#ideasToast {
	background: var(--accent-light);
	border: 1px solid var(--accent);
	color: var(--accent);
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
}

#categoriesList {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	margin: 16px 0;
}

#categoriesList .badge {
	margin-bottom: 8px;
	margin-right: 8px;
	background: var(--card);
	border: 2px solid var(--accent);
	color: var(--accent);
	font-weight: 600;
}

#categoriesList .badge:hover {
	background: var(--accent);
	color: var(--text-on-accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

#categoriesList .badge.selected {
	background: var(--accent);
	color: var(--text-on-accent);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

#personaMeta {
	background: var(--accent-light);
	border: 1px solid var(--accent);
	border-radius: 8px;
	padding: 12px 16px;
	margin: 12px 0;
	font-size: 14px;
	color: var(--accent);
	font-weight: 500;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 16px; }
.rounded-xl { border-radius: 20px; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in { animation: fadeIn 0.6s ease-out; }

/* Text Highlighting for Important Sentences */
.highlight {
	background: linear-gradient(180deg, transparent 60%, rgba(255, 215, 0, 0.15) 60%);
	padding: 2px 0;
	display: inline;
	line-height: 1.8;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transition: background 0.3s ease;
}

.highlight:hover {
	background: linear-gradient(180deg, transparent 60%, rgba(255, 215, 0, 0.25) 60%);
}

/* Alternative highlighting styles using accent color */
.key-point {
	background: linear-gradient(180deg, transparent 60%, var(--accent-light) 60%);
	padding: 2px 0;
	display: inline;
	line-height: 1.8;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	font-weight: 500;
}

/* Clear floats */
section:after, article:after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
	/* Mobile Navigation */
	.nav-toggle {
		display: block;
	}
	
	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--card);
		border-top: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
		flex-direction: column;
		padding: 20px;
		gap: 8px;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}
	
	.nav-links.active {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	
	.nav-link {
		width: 100%;
		justify-content: flex-start;
		padding: 16px 20px;
		border-radius: 12px;
		font-size: 16px;
		min-height: 48px;
	}
	
	.nav-title {
		font-size: 16px;
	}
	
	.nav-header {
		padding: 12px 16px;
	}
	
	/* Typography */
	h1 { font-size: 28px; }
	h2 { font-size: 22px; }
	
	/* Layout */
	.container { padding: 0 16px; }
	.card { padding: 20px; }
	
	/* Persona Cards */
	.persona-card { padding: 20px; gap: 16px; }
	.persona-header { flex-direction: column; text-align: center; padding: 24px; }
	.persona-info h1 { font-size: 24px; }
	
	/* Expertise badges */
	.expertise-badge {
		font-size: 11px;
		padding: 3px 10px;
	}
	
	/* Read more button */
	.read-more-btn {
		font-size: 13px;
		padding: 8px 16px;
		width: 100%;
		text-align: center;
	}
	
	/* Product Images */
	.product-image, .solution-image {
		max-width: 150px;
		width: 150px;
		height: 120px;
		margin: 0 auto 12px auto;
		float: none;
		display: block;
	}
	
	/* Pros and Cons */
	.pros-cons { 
		flex-direction: column; 
		gap: 16px; 
		margin: 24px 0 20px 0;
	}
	
	.pros, .cons {
		min-width: unset;
		padding: 16px;
	}
	
	/* Related Articles */
	.related-grid { grid-template-columns: 1fr; gap: 1rem; }
	.related-card { padding: 1rem; }
	.related-articles-section h3 { font-size: 1.25rem; }
	
	/* Article Cards - Homepage */
	.article-card-title {
		font-size: 20px;
	}
	
	.article-card-meta {
		padding-bottom: 12px;
		margin-bottom: 12px;
	}
	
	.article-author-name {
		font-size: 13px;
	}
	
	.article-publish-date {
		font-size: 12px;
	}
	
	.article-card-excerpt {
		font-size: 14px;
		padding-bottom: 16px;
	}
}

@media (max-width: 480px) {
	/* Extra small mobile devices */
	.nav-header {
		padding: 10px 12px;
	}
	
	.nav-title {
		font-size: 14px;
	}
	
	.nav-links {
		padding: 16px;
	}
	
	.nav-link {
		padding: 14px 16px;
		font-size: 15px;
		min-height: 44px;
	}
	
	.container { 
		padding: 0 12px; 
	}
	
	.card { 
		padding: 16px; 
	}
	
	h1 { 
		font-size: 24px; 
	}
	
	h2 { 
		font-size: 20px; 
	}
	
	.product-image, .solution-image {
		max-width: 120px;
		width: 120px;
		height: 100px;
		border-radius: 6px;
	}
	
	.persona-header { 
		padding: 16px; 
	}
	
	.persona-card { 
		padding: 16px; 
	}
	
	/* Article Cards - Extra Small Screens */
	.article-card-title {
		font-size: 18px;
	}
	
	.article-card-excerpt {
		font-size: 13px;
		line-height: 1.6;
	}
}

/* Author Info Styles */
.author-info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-bottom: 24px;
}

.author-link {
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: var(--text);
	transition: all 0.2s ease;
	padding: 8px 12px;
	border-radius: 8px;
}

.author-link:hover {
	background: var(--accent-light);
	color: var(--accent);
	transform: translateY(-1px);
}

.author-avatar {
	display: none; /* Remove circular avatar */
}

.author-initials {
	display: none; /* Remove circular initials */
}

.author-name {
	font-weight: 600;
	font-size: 14px;
}

.publish-date {
	color: var(--text-secondary);
	font-size: 13px;
}

@media (max-width: 768px) {
	.author-info {
		flex-direction: column;
		gap: 8px;
	}
	
	.author-link {
		padding: 6px 10px;
	}
	
	.author-avatar, .author-initials {
		display: none; /* Remove on mobile too */
	}
	
	.author-name {
		font-size: 13px;
	}
	
	.publish-date {
		font-size: 12px;
	}
}