/*--------------------------------------------------------------
# Single Post Page Styles
--------------------------------------------------------------*/

.single-post-main {
	padding: 2rem 0;
}

.single-post-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.single-post-article {
	background: var(--bg-primary);
}

/* Category */
.single-post-category {
	margin-bottom: 1.5rem;
}

.single-post-category .category-tag {
	display: inline-block;
	background-color: #4b6bfb;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
}

/* Header */
.single-post-header {
	margin-bottom: 2rem;
}

.single-post-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	font-family: "Work Sans", sans-serif;
}

.single-post-meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.post-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.post-author__avatar {
	border-radius: 50%;
	width: 36px;
	height: 36px;
}

.post-author__name {
	font-weight: 500;
	font-size: 1rem;
	color: #97989f;
}

.post-date {
	font-size: 1rem;
	font-weight: 400;
	color: #97989f;
}

/* Featured Image */
.single-post-image {
	margin-bottom: 2rem;
	border-radius: 12px;
	overflow: hidden;
}

.single-post-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Content */
.single-post-content {
	margin-bottom: 2rem;
	line-height: 1.8;
	color: var(--text-primary);
	font-size: 1.125rem;
}

.single-post-content p {
	margin-bottom: 1.5rem;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
	color: var(--text-primary);
}

.single-post-content h2 {
	font-size: 1.875rem;
}

.single-post-content h3 {
	font-size: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.single-post-content li {
	margin-bottom: 0.5rem;
}

.single-post-content blockquote {
	border-left: 4px solid #4b6bfb;
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: #696a75;
}

.single-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5rem 0;
}

.single-post-content a {
	color: #4b6bfb;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.single-post-content a:hover {
	color: #3b52d9;
}

/* Tags */
.single-post-tags {
	margin-bottom: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e8e8ea;
}

.tags-label {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
	display: block;
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag-link {
	display: inline-block;
	background-color: #f6f6f7;
	color: #696a75;
	padding: 0.375rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tag-link:hover {
	background-color: #4b6bfb;
	color: white;
}

/* Post Navigation */
.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e8e8ea;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}

.nav-previous,
.nav-next {
	flex: 1;
}

.nav-next {
	text-align: right;
}

.nav-link {
	display: block;
	text-decoration: none;
	color: var(--text-primary);
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: #4b6bfb;
}

.nav-direction {
	font-size: 0.875rem;
	color: #97989f;
	display: block;
	margin-bottom: 0.25rem;
}

.nav-title {
	font-weight: 600;
	font-size: 1rem;
	display: block;
}

/* Page Links */
.page-links {
	margin: 2rem 0;
	padding: 1rem;
	background-color: #f6f6f7;
	border-radius: 8px;
	text-align: center;
}

.page-links a {
	display: inline-block;
	padding: 0.5rem 0.75rem;
	margin: 0 0.25rem;
	background-color: white;
	color: #4b6bfb;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.page-links a:hover {
	background-color: #4b6bfb;
	color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.single-post-main {
		padding: 1.5rem 0;
	}
	
	.single-post-wrapper {
		padding: 0 1rem;
	}
	
	.single-post-title {
		font-size: 2rem;
	}
	
	.single-post-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.single-post-content {
		font-size: 1rem;
	}
	
	.nav-links {
		flex-direction: column;
		gap: 1.5rem;
	}
	
	.nav-next {
		text-align: left;
	}
}

@media screen and (max-width: 480px) {
	.single-post-wrapper {
		padding: 0 0.75rem;
	}
	
	.single-post-title {
		font-size: 1.75rem;
	}
	
	.single-post-content {
		font-size: 0.9375rem;
	}
	
	.tags-list {
		justify-content: center;
	}
} 