/* Everest Custom Elements — blog.css
   3 / 2 / 1 card grid. Same palette as FAQ and home. */

.ehf-blog {
	background: #ffffff;
	padding: 96px 24px;
}

.ehf-blog__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ehf-blog__heading {
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	color: #111827;
}

.ehf-blog__sub {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #5c6570;
	max-width: 60ch;
}

.ehf-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	width: 100%;
	margin-top: 16px;
}

.ehf-blog__card {
	display: flex;
	flex-direction: column;
	background: #f4f6f8;
	border: 1px solid rgba(11, 105, 147, 0.12);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ehf-blog__card:hover,
.ehf-blog__card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(11, 41, 61, 0.1);
}

.ehf-blog__media {
	display: block;
	background: #f4f6f8;
	text-decoration: none;
}

.ehf-blog__media img,
.ehf-blog__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ehf-blog__placeholder {
	background: #f4f6f8;
}

.ehf-blog__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 24px;
	flex: 1 1 auto;
}

.ehf-blog__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #5c6570;
}

.ehf-blog__cat {
	font-weight: 700;
	color: #0b6993;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ehf-blog__title {
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.ehf-blog__title a,
.ehf-blog__title a:link,
.ehf-blog__title a:visited {
	color: #111827 !important;
	text-decoration: none;
}

.ehf-blog__title a:hover,
.ehf-blog__title a:focus-visible {
	color: #084f70 !important;
}

.ehf-blog__excerpt {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #5c6570;
}

.ehf-blog__cta {
	margin-top: auto;
	padding-top: 8px;
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0b6993;
	text-decoration: none;
}

.ehf-blog__cta:hover,
.ehf-blog__cta:focus-visible {
	color: #084f70 !important;
}

.ehf-blog__empty {
	margin: 24px 0 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 18px;
	color: #5c6570;
}

.ehf-blog__pager {
	margin-top: 24px;
}

.ehf-blog__pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ehf-blog__pager .page-numbers a,
.ehf-blog__pager .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(11, 105, 147, 0.12);
	border-radius: 12px;
	background: #f4f6f8;
	color: #0b6993;
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.ehf-blog__pager .page-numbers a:hover,
.ehf-blog__pager .page-numbers a:focus-visible {
	background: #ffffff;
	color: #084f70 !important;
}

.ehf-blog__pager .page-numbers .current {
	background: #0b6993;
	border-color: #0b6993;
	color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	.ehf-blog__card {
		transition: none;
	}

	.ehf-blog__card:hover,
	.ehf-blog__card:focus-within {
		transform: none;
	}
}

@media (max-width: 1024px) {
	.ehf-blog {
		padding: 64px 24px;
	}

	.ehf-blog__heading {
		font-size: 32px;
	}

	.ehf-blog__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.ehf-blog {
		padding: 48px 16px;
	}

	.ehf-blog__heading {
		font-size: 28px;
	}

	.ehf-blog__grid {
		grid-template-columns: 1fr;
	}
}

/* Single-post Theme Builder 475 — readable measure, not Elementor default loop chrome. */
.single-post .elementor-widget-theme-post-content .elementor-widget-container {
	max-width: 720px;
	margin-inline: auto;
	font-family: "Nunito Sans", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #111827;
}

.single-post .elementor-widget-theme-post-title .elementor-heading-title {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	overflow-wrap: anywhere;
	max-width: 24ch;
}

.single-post .elementor-widget-theme-post-content p {
	margin: 0 0 1.15em;
}
