.page-blog-list .blog-hero {
	padding-top: 2.5rem;
	padding-bottom: 1.5rem;
}

.page-blog-list .blog-hero-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	padding: 2rem;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.page-blog-list .blog-hero-badge {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #bfdbfe;
	background: rgba(59, 130, 246, 0.2);
	border: 1px solid rgba(59, 130, 246, 0.35);
}

.page-blog-list .blog-hero-title {
	font-size: 2.25rem;
	font-weight: 800;
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}

.page-blog-list .blog-hero-subtitle {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.85);
	max-width: 760px;
}

.blog-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.blog-filter-chip a {
	color: #bfdbfe;
	text-decoration: none;
}

.blog-filter-chip a:hover {
	color: #dbeafe;
	text-decoration: underline;
}

.blog-listing {
	padding-top: 1rem;
	padding-bottom: 3rem;
}

.blog-card {
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
	margin-bottom: 1.5rem;
}

.blog-card:last-child {
	margin-bottom: 0;
}

.blog-image-link {
	display: block;
}

.blog-card-image {
	width: 100%;
	max-height: 260px;
	object-fit: cover;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
	color: #64748b;
	font-size: 0.92rem;
}

.blog-dot {
	color: #94a3b8;
}

.blog-author-link {
	color: #2563eb;
	text-decoration: none;
}

.blog-author-link:hover {
	text-decoration: underline;
}

.blog-author-role {
	color: #64748b;
}

.blog-card-title {
	font-size: 1.5rem;
	font-weight: 750;
	margin-bottom: 0.75rem;
}

.blog-card-title a {
	color: #0f172a;
	text-decoration: none;
}

.blog-card-title a:hover {
	color: #1d4ed8;
}

.blog-card-excerpt {
	color: #475569;
	line-height: 1.65;
	margin-bottom: 1rem;
}

.blog-tag-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.blog-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #1e3a8a;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	text-decoration: none;
}

.blog-tag:hover {
	background: #dbeafe;
	color: #1e3a8a;
}

.blog-sidebar-card {
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
	position: sticky;
	top: 6.5rem;
}

.blog-sidebar-tags {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.blog-sidebar-tag {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0.65rem;
	border: 1px solid #e2e8f0;
	border-radius: 0.65rem;
	text-decoration: none;
	color: #334155;
	font-weight: 500;
}

.blog-sidebar-tag:hover {
	border-color: #93c5fd;
	background: #eff6ff;
	color: #1e3a8a;
}

.blog-sidebar-tag.is-active {
	border-color: #1d4ed8;
	background: #dbeafe;
	color: #1e3a8a;
}

.blog-tag-count {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 0 0.45rem;
	font-size: 0.8rem;
	color: #475569;
}

.blog-empty-card {
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-pagination {
	margin-top: 1rem;
}

.blog-pagination-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.75rem;
}

.blog-pagination-text {
	text-align: center;
	color: #64748b;
	font-weight: 600;
}

.page-blog-detail .blog-detail-shell {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.blog-post-card {
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
	overflow: hidden;
}

.blog-post-header {
	padding: 2rem;
}

.blog-post-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.2;
	font-weight: 800;
	margin-bottom: 1rem;
	color: #0f172a;
}

.blog-post-hero-image {
	display: block;
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-post-content-wrap {
	padding: 2rem;
}

.blog-post-content {
	color: #1e293b;
	line-height: 1.75;
	font-size: 1.02rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
	line-height: 1.3;
	color: #0f172a;
	scroll-margin-top: 120px;
}

.blog-post-content h2:first-child,
.blog-post-content h3:first-child,
.blog-post-content h4:first-child,
.blog-post-content p:first-child {
	margin-top: 0;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol,
.blog-post-content blockquote {
	margin-bottom: 1rem;
}

.blog-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.blog-post-content a {
	color: #1d4ed8;
}

.blog-post-content blockquote {
	border-left: 4px solid #93c5fd;
	padding-left: 1rem;
	color: #475569;
}

@media (max-width: 991.98px) {
	.blog-sidebar-card {
		position: static;
	}

	.blog-pagination-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.page-blog-list .blog-hero-card {
		padding: 1.5rem;
	}

	.page-blog-list .blog-hero-title {
		font-size: 1.9rem;
	}

	.blog-post-header,
	.blog-post-content-wrap {
		padding: 1.25rem;
	}
}
