/* ======================================================================
   BLOG POST PAGES - Shared Styles
   ====================================================================== */

.blog-post-page {
	padding: 140px 0 80px;
}

.post-header {
	text-align: center;
	margin-bottom: 35px;
}

.post-meta {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.post-meta .blog-category {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(138, 43, 226, 0.2);
	color: var(--primary);
	font-size: 0.85rem;
	font-weight: 600;
}

.post-header h1 {
	font-size: 2.3rem;
	line-height: 1.2;
	margin-bottom: 18px;
	color: var(--text);
}

.post-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 18px;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.post-info i {
	color: var(--accent);
	margin-right: 6px;
}

.post-featured-image {
	margin: 30px 0 40px;
}

.post-featured-image img {
	width: 100%;
	height: auto;
	max-height: 440px;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--shadow);
}

.post-content {
	max-width: 860px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--text);
}

.post-content p {
	margin-bottom: 18px;
	color: var(--text);
}

.post-content h2 {
	font-size: 1.6rem;
	margin: 32px 0 12px;
	color: var(--text);
}

.post-content h3 {
	font-size: 1.3rem;
	margin: 28px 0 10px;
	color: var(--text);
}

.post-content ul,
.post-content ol {
	padding-left: 22px;
	margin-bottom: 18px;
}

.post-content li {
	margin-bottom: 10px;
}

.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	display: block;
	margin: 22px auto;
}

.post-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(138, 43, 226, 0.12);
}

.post-footer-content {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(138, 43, 226, 0.12);
	border-radius: 16px;
	padding: 22px;
}

.share-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-muted);
}

.share-buttons a {
	color: var(--text-muted);
	transition: color 0.3s ease;
}

.share-buttons a:hover {
	color: var(--primary);
}

/* Experience timeline (blog posts) */
.post-content .experience-timeline {
	position: relative;
	padding-left: 18px;
	margin: 32px 0;
}

.post-content .experience-timeline::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 6px;
	bottom: 6px;
	width: 3px;
	background: linear-gradient(to bottom, var(--primary), var(--accent));
	border-radius: 3px;
}

.post-content .timeline-item {
	position: relative;
	padding: 0 0 28px 14px;
}

.post-content .timeline-item:last-child {
	padding-bottom: 0;
}

.post-content .timeline-item::before {
	content: '';
	position: absolute;
	left: -12px;
	top: 6px;
	width: 12px;
	height: 12px;
	background: var(--primary);
	border-radius: 50%;
	border: 3px solid var(--secondary);
	box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.post-content .timeline-date {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--accent));
}

.post-content .timeline-company {
	color: var(--accent);
	font-size: 0.95rem;
	margin-bottom: 12px;
}

@media (max-width: 768px) {
	.post-footer-content {
		padding: 18px;
	}

	.post-content .experience-timeline {
		padding-left: 22px;
	}

	.post-content .timeline-item {
		padding-left: 16px;
	}
}

/* Highlight box base style */
.highlight-box {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(138, 43, 226, 0.2);
	border-left: 4px solid var(--accent);
	border-radius: 12px;
	padding: 20px;
	margin: 28px 0;
}

/* ======================================================================
   RESPONSIVE - BLOG POSTS
   ====================================================================== */

@media (max-width: 768px) {
	.blog-post-page {
		padding: 120px 0 60px;
	}

	.post-header h1 {
		font-size: 1.8rem;
	}

	.post-content {
		font-size: 1rem;
	}

	.post-featured-image img {
		max-height: 320px;
	}
}

@media (max-width: 480px) {
	.post-header h1 {
		font-size: 1.6rem;
	}

	.post-featured-image img {
		max-height: 260px;
	}
}


/* Layout: ensure page fills viewport */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#blog-feed {
    flex: 1;
}
