/*
 * ELNIQ GEO — Blog index page (/blog/) section styles. Loaded only
 * on this page template. Values copied verbatim from "Blog.dc.html".
 * The card grid pulls real WP posts via a secondary WP_Query in
 * page-blog.php, with standard WP pagination instead of the source's
 * client-side "Load more" button (see page-blog.php doc comment).
 */

.eg-blog-hero {
	padding: 56px 24px 24px;
}
.eg-blog-hero__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.eg-blog-hero__inner h1 {
	font-size: clamp(32px, 4.6vw, 52px);
	font-weight: 800;
	color: var(--eg-text-heading);
	margin: 0 0 18px;
	letter-spacing: -0.01em;
	line-height: 1.08;
}
.eg-blog-hero__inner p {
	font-size: 17.5px;
	color: var(--eg-text-secondary);
	margin: 0;
	line-height: 1.65;
}

.eg-blog-grid-section {
	padding: 40px 24px 96px;
}
.eg-blog-grid {
	max-width: var(--eg-container-xl);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 900px) {
	.eg-blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.eg-blog-card {
	display: block;
	background: #fff;
	border: 1px solid var(--eg-border-light);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 32px rgba(16, 35, 95, 0.06);
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.eg-blog-card:hover,
.eg-blog-card:focus-visible {
	box-shadow: 0 16px 44px rgba(16, 35, 95, 0.12);
	transform: translateY(-2px);
}
.eg-blog-card__media {
	height: 200px;
	overflow: hidden;
	background: var(--eg-section-bg-light);
}
.eg-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eg-blog-card__body {
	padding: 24px 24px 28px;
}
.eg-blog-card__date {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--eg-text-muted-2);
	margin-bottom: 12px;
}
.eg-blog-card h3 {
	font-size: 19.5px;
	font-weight: 800;
	color: var(--eg-text-heading);
	margin: 0 0 10px;
	letter-spacing: -0.005em;
	line-height: 1.3;
}
.eg-blog-card__excerpt {
	font-size: 14.5px;
	color: var(--eg-text-secondary);
	line-height: 1.6;
	margin: 0 0 20px;
}
.eg-blog-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--eg-blue-gradient);
	padding: 11px 20px;
	border-radius: var(--eg-radius-control);
}

.eg-blog-empty {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
	color: var(--eg-text-secondary);
}

/* Pagination (replaces source's client-side "Load more" — see
   page-blog.php doc comment) */
.eg-blog-pagination {
	text-align: center;
	margin-top: 56px;
}
.eg-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	margin: 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--eg-text-heading);
	background: #fff;
	border: 1.5px solid var(--eg-border-hairline);
	border-radius: var(--eg-radius-control);
	text-decoration: none;
}
.eg-blog-pagination .page-numbers:hover,
.eg-blog-pagination .page-numbers.current {
	border-color: var(--eg-blue);
	background: var(--eg-section-bg-light);
}
.eg-blog-pagination .page-numbers.current {
	color: var(--eg-blue);
}
.eg-blog-pagination .page-numbers.dots {
	border: none;
	background: none;
}
