/* Reading Progress */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #f97316, #fb923c);
	width: 0%;
	z-index: 9999;
	transition: width 0.1s linear;
}

/* Article Header */
.article-header {
	background: #faf8f5;
	padding: 3rem 0 4rem;
	text-align: center;
}

.article-logo {
	margin-bottom: 2.5rem;
	text-align: center;
}

.article-logo img {
	height: 100px;
	filter: drop-shadow(0 8px 25px rgba(249, 115, 22, 0.4));
	transition: transform 0.3s ease;
	display: inline-block;
}

.article-logo img:hover {
	transform: scale(1.05);
}

.article-category {
	display: inline-block;
	padding: 0.5rem 1.25rem;
	background: #f97316;
	color: white;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 50px;
	margin-bottom: 1.5rem;
}

.article-title-main {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #3d362d;
	line-height: 1.15;
	margin-bottom: 1.5rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.article-subtitle {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 1.25rem;
	color: #5c5347;
	line-height: 1.6;
	max-width: 800px;
	margin: 0 auto 2rem;
}

.article-meta-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	color: #78716c;
	font-size: 0.95rem;
}

.meta-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.author-avatar {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #f97316, #ea580c);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 1.1rem;
}

.meta-dot {
	width: 4px;
	height: 4px;
	background: #d6d3d1;
	border-radius: 50%;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.meta-item i {
	color: #f97316;
}

/* Featured Image */
.featured-image-section {
	background: #faf8f5;
	padding: 0 1.5rem 3rem;
}

.featured-image-container {
	max-width: 1000px;
	margin: 0 auto;
}

.featured-image {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: cover;
	border-radius: 1rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Article Content */
.article-content-section {
	background: #ffffff;
	padding: 4rem 2rem;
}

.article-body {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Prose Styles */
.prose-article {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 1.2rem;
	line-height: 1.9;
	color: #44403c;
}

.prose-article p {
	margin-bottom: 1.75rem;
}

.prose-article h2 {
	font-family: 'Outfit', sans-serif;
	font-size: 1.875rem;
	font-weight: 700;
	color: #3d362d;
	margin: 3rem 0 1.25rem;
	padding-left: 1rem;
	border-left: 4px solid #f97316;
}

.prose-article h3 {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #3d362d;
	margin: 2.5rem 0 1rem;
}

.prose-article a {
	color: #ea580c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.prose-article a:hover {
	color: #f97316;
}

.prose-article ul,
.prose-article ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.prose-article li {
	margin-bottom: 0.5rem;
}

.prose-article ul li::marker {
	color: #f97316;
}

.prose-article blockquote {
	margin: 2.5rem 0;
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, #fff7ed, #faf8f5);
	border-left: 4px solid #f97316;
	border-radius: 0 0.75rem 0.75rem 0;
	font-style: italic;
	color: #57534e;
}

.prose-article img {
	width: 100%;
	border-radius: 0.75rem;
	margin: 2rem 0;
}

.prose-article code {
	background: #f5f0e8;
	padding: 0.15rem 0.4rem;
	border-radius: 0.25rem;
	font-size: 0.9em;
}

.prose-article pre {
	background: #3d362d;
	color: #f5f0e8;
	padding: 1.25rem;
	border-radius: 0.75rem;
	overflow-x: auto;
	margin: 2rem 0;
}

.prose-article pre code {
	background: none;
	padding: 0;
}

/* Article Footer */
.article-footer {
	max-width: 900px;
	margin: 0 auto;
	padding-top: 3rem;
	margin-top: 3rem;
	border-top: 1px solid #e7e5e4;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	color: #f97316;
	transition: gap 0.2s ease;
}

.back-link:hover {
	gap: 0.75rem;
}

.share-row {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.share-label {
	font-size: 0.9rem;
	color: #78716c;
}

.share-buttons {
	display: flex;
	gap: 0.5rem;
}

.share-btn {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f0e8;
	color: #57534e;
	border-radius: 50%;
	font-size: 1rem;
	transition: all 0.2s ease;
}

.share-btn:hover {
	background: #f97316;
	color: white;
	transform: translateY(-2px);
}

/* Not Found */
.not-found-section {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #faf8f5;
	text-align: center;
	padding: 2rem;
}

.not-found-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 2rem;
	background: #fff7ed;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.not-found-icon i {
	font-size: 2.5rem;
	color: #f97316;
}

.not-found-title {
	font-family: 'Outfit', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #3d362d;
	margin-bottom: 1rem;
}

.not-found-text {
	font-size: 1.1rem;
	color: #78716c;
	margin-bottom: 2rem;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* Responsive */
@media (max-width: 640px) {
	.article-header {
		padding: 2rem 1rem 3rem;
	}

	.article-meta-row {
		gap: 1rem;
	}

	.meta-dot {
		display: none;
	}

	.prose-article {
		font-size: 1.1rem;
	}

	.footer-nav {
		flex-direction: column;
		align-items: flex-start;
	}
}
