/* ----------------------------------------------------------------
	Blog Custom CSS
-----------------------------------------------------------------*/

/* Page title background — includes header height so image extends behind transparent header */
.page-title,
.page-title-mini {
	background: url('images/blogbg.jpg') center/cover no-repeat;
	color: #fff;
	padding-top: calc(var(--cnvs-page-title-padding) + var(--cnvs-header-height) + 2rem);
	padding-bottom: calc(var(--cnvs-page-title-padding) + 2rem);
}

.page-title h1 {
	font-size: 2.75rem;
	font-weight: 600;
}

.page-title .page-title-content span {
	font-weight: 600;
}

.page-title h1,
.page-title-mini h1,
.page-title span,
.page-title-mini .breadcrumb,
.page-title-mini .breadcrumb a {
	color: #fff;
}


.blog-post #header #header-wrap {
	background-color: #222;
}

.page-title-mini .page-title-row {
	align-items: center;
}

.page-title-mini .breadcrumb {
	margin-bottom: 0;
}

/* Post card hover effect */
.post-grid .entry {
	margin-bottom: 2rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #eee;
}

.post-grid .entry:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-grid .entry::after {
	display: none;
}

.post-grid .entry-image img {
	border-radius: 0;
}

.post-grid .entry-desc {
	padding: 1.25rem;
}

/* Tag badge */
.entry-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--cnvs-themecolor);
	background: rgba(var(--cnvs-themecolor-rgb), 0.1);
	padding: 0.2em 0.6em;
	border-radius: 3px;
	margin-bottom: 0.5rem;
}

/* Article content readability */
.single-post .entry-content {
	max-width: 750px;
	margin: 0 auto;
	line-height: 1.8;
	font-size: 1.075rem;
	color: #333;
}

/* List styling */
.single-post .entry-content ul,
.single-post .entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.single-post .entry-content li {
	margin-bottom: 0.4rem;
}

/* Blockquote styling */
.single-post .entry-content blockquote {
	border-left: 4px solid var(--cnvs-themecolor);
	padding: 1rem 1.5rem;
	margin: 2rem 0;
	background: rgba(var(--cnvs-themecolor-rgb), 0.04);
	font-style: italic;
	color: #555;
}

/* Table styling */
.single-post .entry-content .table th {
	background-color: #f8f9fa;
	font-weight: 600;
}

.single-post .entry-content .table td,
.single-post .entry-content .table th {
	font-size: 0.95rem;
	vertical-align: middle;
}

/* Back to blog button */
.blog-back-btn {
	margin-top: 2rem;
}

/* CTA block */
.blog-cta {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 2.5rem;
	text-align: center;
	margin-top: 3rem;
}
