/**
 * Carzuri Blog Styling
 *
 * Colors are hardcoded as literal hex values per this project's standing
 * rule (CSS custom properties have proven unreliable on this site) —
 * matching the canonical values already used elsewhere:
 * gold #d4af37, gold-hover #c19b26, navy-dark #0b192c.
 */

.cz-blog {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1a2332;
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.cz-blog * {
	box-sizing: border-box;
}

.cz-blog a {
	text-decoration: none;
}

/* Shared "back to blog" link */
.cz-blog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #0b192c !important;
	margin-bottom: 24px;
}

.cz-blog-back-link:hover {
	color: #d4af37 !important;
}

/* ============ SINGLE POST ============ */

.cz-blog-single-hero {
	position: relative;
	width: 100%;
	height: 420px;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 32px;
	background: #0b192c;
}

.cz-blog-single-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cz-blog-single-hero-noimage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7b8794;
	font-size: 14px;
	background: #0b192c;
}

.cz-blog-single-category {
	position: absolute;
	top: 20px;
	left: 20px;
	background: #d4af37 !important;
	color: #0b192c !important;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 6px 14px;
	border-radius: 6px;
}

.cz-blog-single-title {
	font-family: 'Poppins', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: #0b192c;
	margin: 0 0 16px;
}

.cz-blog-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
	color: #6b7684;
	padding-bottom: 24px;
	margin-bottom: 32px;
	border-bottom: 1px solid #e5e8ec;
}

.cz-blog-single-meta strong {
	color: #0b192c;
}

.cz-blog-single-content {
	font-size: 17px;
	line-height: 1.8;
	color: #2c3644;
}

.cz-blog-single-content p {
	margin: 0 0 22px;
}

.cz-blog-single-content h2,
.cz-blog-single-content h3 {
	font-family: 'Poppins', sans-serif;
	color: #0b192c;
	margin: 36px 0 16px;
}

.cz-blog-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 16px 0;
}

.cz-blog-single-content a {
	color: #c19b26 !important;
	text-decoration: underline;
}

.cz-blog-single-footer {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #e5e8ec;
}

/* ============ BLOG INDEX / ARCHIVE ============ */

.cz-blog-index-header {
	text-align: center;
	margin-bottom: 48px;
}

.cz-blog-index-title {
	font-family: 'Poppins', sans-serif;
	font-size: 34px;
	font-weight: 700;
	color: #0b192c;
	margin: 0 0 8px;
}

.cz-blog-index-subtitle {
	font-size: 15px;
	color: #6b7684;
	margin: 0;
}

.cz-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
	margin-bottom: 48px;
}

.cz-blog-card {
	background: #ffffff;
	border: 1px solid #e5e8ec;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cz-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(11, 25, 44, 0.12);
}

.cz-blog-card-img-wrap {
	position: relative;
	width: 100%;
	height: 190px;
	background: #0b192c;
}

.cz-blog-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cz-blog-card-noimage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7b8794;
	font-size: 13px;
}

.cz-blog-card-category {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #d4af37 !important;
	color: #0b192c !important;
	font-family: 'Poppins', sans-serif;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 4px;
}

.cz-blog-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cz-blog-card-date {
	font-size: 12px;
	color: #9aa4b1;
	margin-bottom: 8px;
}

.cz-blog-card-title {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #0b192c;
	margin: 0 0 10px;
	line-height: 1.35;
}

.cz-blog-card-title a {
	color: inherit !important;
}

.cz-blog-card-title a:hover {
	color: #c19b26 !important;
}

.cz-blog-card-excerpt {
	font-size: 14px;
	color: #6b7684;
	line-height: 1.6;
	margin: 0 0 16px;
	flex: 1;
}

.cz-blog-card-readmore {
	font-size: 13px;
	font-weight: 700;
	color: #0b192c !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cz-blog-card-readmore:hover {
	color: #d4af37 !important;
}

.cz-blog-empty {
	text-align: center;
	padding: 60px 20px;
	color: #6b7684;
	font-size: 15px;
}

.cz-blog-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cz-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e5e8ec;
	color: #0b192c !important;
	font-size: 14px;
	font-weight: 600;
}

.cz-blog-pagination .page-numbers.current {
	background: #d4af37 !important;
	border-color: #d4af37;
	color: #0b192c !important;
}

.cz-blog-pagination .page-numbers:hover:not(.current) {
	border-color: #d4af37;
	color: #d4af37 !important;
}

/* ============ MOBILE ============ */

@media (max-width: 768px) {
	.cz-blog {
		padding: 24px 16px 56px;
	}

	.cz-blog-single-hero {
		height: 240px;
		border-radius: 10px;
	}

	.cz-blog-single-title {
		font-size: 26px;
	}

	.cz-blog-single-content {
		font-size: 16px;
	}

	.cz-blog-index-title {
		font-size: 26px;
	}

	.cz-blog-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
