/* Blog Page Styles */
.blog-section {
	width: 100%;
	max-width: 1200px;
	margin-top: 8px;
	margin-bottom: 24px;
	position: relative;
}

/* Back Link */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #ffffff80;
	text-decoration: none;
	transition: color 0.2s ease;
	margin-bottom: 24px;
}

.back-link:hover {
	color: var(--accent-color);
}

.back-link svg {
	transition: transform 0.2s ease;
}

.back-link:hover svg {
	transform: translateX(-4px);
}

/* Blog Post Layout - Two Column */
.blog-post-layout {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 40px;
	align-items: start;
	position: relative;
}

/* Blog Post Article - No Card Styling */
.blog-post {
	/* No background, border, or card styling - just content */
}

/* Post Header */
.blog-post-header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #ffffff14;
}

.blog-post-category {
	margin-bottom: 16px;
}

.category-badge {
	display: inline-block;
	padding: 6px 12px;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background-color: var(--accent-15);
	color: var(--accent-color);
	border-radius: 6px;
}

.blog-post-title {
	font-family: 'Poppins', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin: 0 0 24px 0;
}

.blog-post-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.blog-post-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.author-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.author-name {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
}

.post-date {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #ffffff60;
}

.post-date svg {
	opacity: 0.7;
}

.blog-post-stats {
	display: flex;
	align-items: center;
	gap: 12px;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #ffffff60;
}

.stat-item svg {
	opacity: 0.7;
}

.stat-divider {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #ffffff30;
}

/* Post Content */
.blog-post-content {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #ffffffa0;
	margin-bottom: 48px;
}

.blog-post-excerpt {
	font-size: 18px;
	font-weight: 500;
	color: #ffffffc0;
	line-height: 1.7;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #ffffff14;
}

.blog-post-content h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: #ffffff;
	margin: 48px 0 16px 0;
	line-height: 1.3;
	scroll-margin-top: 100px;
}

.blog-post-content h2:first-of-type {
	margin-top: 0;
}

.blog-post-content p {
	margin-bottom: 20px;
}

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

.blog-post-content li {
	margin-bottom: 12px;
	line-height: 1.7;
}

.blog-post-content ul {
	list-style-type: disc;
}

.blog-post-content ol {
	list-style-type: decimal;
}

.blog-post-content strong {
	color: #ffffff;
	font-weight: 600;
}

/* Post Footer */
.blog-post-footer {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #ffffff14;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.blog-post-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #ffffff60;
	margin-right: 4px;
}

.tag {
	display: inline-block;
	padding: 6px 12px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: var(--accent-color);
	background-color: var(--accent-15);
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tag:hover {
	background-color: var(--accent-color);
	color: var(--accent-text);
}

.blog-post-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.share-label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #ffffff60;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.05);
	color: #ffffff80;
	text-decoration: none;
	transition: all 0.2s ease;
}

.share-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	transform: translateY(-2px);
}

/* Author Bio */
.blog-post-author-bio {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #ffffff14;
	display: flex;
	gap: 20px;
}

.bio-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.bio-content h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 8px 0;
}

.bio-content p {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #ffffff80;
	margin: 0;
}

/* Table of Contents */
.blog-toc {
	position: fixed;
	right: 30px;
	top: 160px;
	width: 240px;
	height: calc(100vh - 200px);
	overflow-y: auto;
	overflow-x: visible;
	padding-left: 20px;
	background-color: #090909;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #ffffff14;
	z-index: 10;
}

.toc-title {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 16px 0;
}

.toc-nav {
	/* Navigation container */
}

.toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.toc-list li {
	margin-bottom: 8px;
}

.toc-link {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #ffffff60;
	text-decoration: none;
	padding: 6px 0;
	padding-left: 12px;
	border-left: 2px solid transparent;
	transition: all 0.2s ease;
	line-height: 1.5;
}

.toc-link:hover {
	color: #ffffff;
	border-left-color: var(--accent-color);
	padding-left: 16px;
}

.toc-link.active {
	color: var(--accent-color);
	border-left-color: var(--accent-color);
	font-weight: 500;
}

/* Tablet breakpoint */
@media (max-width: 1919px) {
	.blog-section {
		max-width: calc(100% - 40px);
	}
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
	.blog-post-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.blog-toc {
		display: none;
	}
}

@media (max-width: 768px) {
	.blog-section {
		max-width: 100%;
		margin-top: 8px;
	}

	.blog-post-title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.blog-post-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.blog-post-content {
		font-size: 15px;
	}

	.blog-post-excerpt {
		font-size: 16px;
		margin-bottom: 24px;
		padding-bottom: 20px;
	}

	.blog-post-content h2 {
		font-size: 22px;
		margin: 32px 0 12px 0;
	}

	.blog-post-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.blog-post-author-bio {
		flex-direction: column;
	}

	.bio-avatar {
		width: 56px;
		height: 56px;
	}
}
