/* Blog listing card styles */
.blog-card-compact {
	background: #15151b;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card-compact:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
	border-color: rgba(255, 255, 255, 0.14);
}

.blog-card-compact .project-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.blog-card-compact .project-image {
	position: relative;
	height: 260px;
	overflow: hidden;
}

.blog-card-compact .project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.blog-card-compact:hover .project-image img {
	transform: scale(1.02);
}

.blog-card-compact .project-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 13, 17, 0) 30%, rgba(13, 13, 17, 0.78) 100%);
	z-index: 1;
}

.blog-card-compact .project-meta.meta-overlay {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 2;
}

.blog-card-compact .project-tag,
.blog-card-compact .project-date {
	padding: 6px 12px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	background: rgba(0, 0, 0, 0.55);
	color: #f7f7fb;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.blog-card-compact .project-content {
	background: #16161f;
	padding: 18px 20px 20px;
}

.blog-card-compact .project-title {
	color: #f4f4f8;
	margin-bottom: 8px;
	font-weight: 800;
}

.blog-card-compact .project-desc {
	color: #c7c9d2;
	margin-bottom: 14px;
}

.blog-card-compact .project-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: #aeb0bb;
}

.blog-card-compact .project-stat i {
	margin-right: 6px;
}

/* Blog post page */
.blog-post-section {
	position: relative;
	padding: 90px 0 110px;
	background: #0f0f14;
}

.blog-post-container {
	max-width: 960px;
	margin: 32px auto 0;
	position: relative;
	z-index: 2;
}

.blog-post-card {
	background: #15151b;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
	padding: 32px;
	margin-top: 0;
}

.blog-post-card .md-body p {
	color: #c8c9d3;
	line-height: 1.8;
	margin-bottom: 18px;
}

.blog-post-card .blog-post-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding-top: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.blog-post-card .btn-back-to-blog {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	color: #f4f4f8;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.blog-post-card .btn-back-to-blog:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

.blog-post-card .blog-post-share {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #c8c9d3;
}

.blog-post-card .blog-post-share a {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #f4f4f8;
	transition: background 0.2s ease, transform 0.2s ease;
}

.blog-post-card .blog-post-share a:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

@media (max-width: 991px) {
	.blog-card-compact .project-image { height: 220px; }
	.blog-post-section { padding: 70px 0 90px; }
	.blog-post-container { margin-top: 24px; }
	.blog-post-card { padding: 24px; }
}

@media (max-width: 575px) {
	.blog-card-compact .project-image { height: 200px; }
	.blog-card-compact .project-content { padding: 16px 16px 18px; }
	.blog-post-section { padding: 60px 0 80px; }
	.blog-post-container { margin-top: 16px; }
	.blog-post-card { padding: 20px; }
}

/* ── Blog post body — styles live in theme-dark.css as .md-body ──────────── */

.blog-post-body { /* alias — keep for any legacy references */ }


