.hb-blog,
.hb-blog-latest {
	--hb-green: #031602;
	--hb-muted: #6d756c;
	font-family: Roboto, sans-serif;
	color: var(--hb-green);
}

.hb-blog-container {
	width: min(1140px, calc(100% - 48px));
	margin-inline: auto;
}

.hb-blog-hero {
	min-height: 445px;
	padding: 200px 0 70px;
	background: linear-gradient(180deg, rgba(3, 22, 2, .47), #031602), url('/wp-content/uploads/2024/06/aerial-view-of-a-village-houses-on-hill-top-in-aut-2021-12-27-17-21-21-utc-copy.jpg') center / cover no-repeat;
	color: #fff;
	text-align: center;
}

.hb-blog-hero h1 {
	max-width: 1000px;
	margin: 0 auto 22px;
	font: 800 clamp(38px, 5vw, 64px)/1.12 Raleway, sans-serif;
}

.hb-blog-hero p {
	max-width: 680px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	color: #e1e5df;
}

.hb-blog-list {
	padding: 110px 0 120px;
}

.hb-blog-section-heading h2,
.hb-blog-latest h2 {
	margin: 0 0 42px;
	font: 800 clamp(32px, 4vw, 48px)/1.18 Raleway, sans-serif;
}

.hb-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.hb-blog-card {
	min-width: 0;
	background: #fff;
	border: 1px solid #e8ece7;
}

.hb-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--hb-green);
	text-decoration: none;
}

.hb-blog-card__link:hover,
.hb-blog-card__link:focus-visible { color: var(--hb-green); }
.hb-blog-card__link:focus-visible { outline: 3px solid #507e4c; outline-offset: 3px; }

.hb-blog-card__media {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hb-green);
}

.hb-blog-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.hb-blog-card__link:hover img { transform: scale(1.035); }
.hb-blog-card__fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #031602, #294128); }

.hb-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 26px 30px;
}

.hb-blog-card time {
	font-size: 14px;
	color: var(--hb-muted);
}

.hb-blog-card h3 {
	margin: 12px 0 14px;
	font: 800 24px/1.25 Raleway, sans-serif;
	color: var(--hb-green);
}

.hb-blog-card p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
	color: #626b61;
}

.hb-blog-card__more {
	margin-top: auto;
	font-weight: 600;
	font-size: 16px;
	color: var(--hb-green);
}

.hb-blog-card__more span { padding-left: 5px; }
.hb-blog-empty { font-size: 18px; }

.hb-blog-pagination { margin-top: 56px; }
.hb-blog-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; list-style: none; }
.hb-blog-pagination a,
.hb-blog-pagination .current { display: inline-block; padding: 10px 16px; border: 1px solid var(--hb-green); border-radius: 40px; text-decoration: none; }
.hb-blog-pagination .current,
.hb-blog-pagination a:hover { background: var(--hb-green); color: #fff; }

.hb-blog-hero--single time { display: block; margin-bottom: 16px; color: #dce4d9; font-size: 16px; }
.hb-blog-hero--single h1 { margin-bottom: 0; }

.hb-blog-featured { margin-top: 72px; }
.hb-blog-featured img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }

.hb-blog-article__content,
.hb-blog-article__footer { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.hb-blog-article__content { padding-top: 72px; font-size: 18px; line-height: 1.8; }
.hb-blog-article__content > :first-child { margin-top: 0; }
.hb-blog-article__content p,
.hb-blog-article__content ul,
.hb-blog-article__content ol { margin: 0 0 1.35em; }
.hb-blog-article__content h2,
.hb-blog-article__content h3 { font-family: Raleway, sans-serif; font-weight: 800; line-height: 1.25; color: var(--hb-green); }
.hb-blog-article__content h2 { margin: 1.5em 0 .6em; font-size: clamp(28px, 3vw, 36px); }
.hb-blog-article__content h3 { margin: 1.4em 0 .5em; font-size: 24px; }
.hb-blog-article__content ul,
.hb-blog-article__content ol { padding-left: 1.5em; }
.hb-blog-article__content a,
.hb-blog-article__footer a { color: #315d2c; text-underline-offset: 3px; }
.hb-blog-article__content img { max-width: 100%; height: auto; }
.hb-blog-article__content .wp-block-image { margin: 2em 0; }
.hb-blog-article__content blockquote { margin: 2em 0; padding-left: 24px; border-left: 4px solid var(--hb-green); }
.hb-blog-article__footer { padding: 24px 0 110px; font-weight: 600; }

.hb-blog-latest { padding: 100px 0; background: var(--hb-green); color: #fff; }
.hb-blog-latest__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.hb-blog-latest h2 { margin-bottom: 0; color: #fff; }
.hb-blog-eyebrow { margin: 0 0 12px; color: #c4c4c4; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.hb-blog-button { display: inline-block; flex: none; padding: 17px 30px; border: 1px solid currentColor; border-radius: 40px; text-decoration: none; font-weight: 600; }
.hb-blog-button--light,
.hb-blog-button--light:hover { color: #fff; }
.hb-blog-button--light:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1024px) {
	.hb-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.hb-blog-hero { min-height: 390px; padding-top: 175px; }
}

@media (max-width: 767px) {
	.hb-blog-container,
	.hb-blog-article__content,
	.hb-blog-article__footer { width: calc(100% - 32px); }
	.hb-blog-hero { min-height: 330px; padding: 150px 0 55px; }
	.hb-blog-list,
	.hb-blog-latest { padding: 64px 0 72px; }
	.hb-blog-grid { grid-template-columns: 1fr; gap: 24px; }
	.hb-blog-section-heading h2 { margin-bottom: 30px; }
	.hb-blog-latest__heading { display: block; margin-bottom: 30px; }
	.hb-blog-latest__heading .hb-blog-button { margin-top: 26px; }
	.hb-blog-card__body { padding: 22px; }
	.hb-blog-featured { margin-top: 36px; }
	.hb-blog-article__content { padding-top: 42px; font-size: 16px; }
	.hb-blog-article__footer { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.hb-blog-card__media img { transition: none; }
}
