/* Homepage blog section (v1.26.0): the 3 latest blog posts below the
   jobs list on the homepage. Same visual language as the blog archive
   cards (image on top, title, excerpt), in a 3-column grid that
   stacks on phones. */

.jre-home-blog {
	box-sizing: border-box;
}

.jre-home-blog .pagetitle {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.jre-home-blog-more {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.jre-home-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	box-sizing: border-box;
}

.jre-home-blog-card {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.jre-home-blog-thumb {
	display: block;
}

.jre-home-blog-thumb img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
}

.jre-home-blog-thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	background: linear-gradient(135deg, #2b7bbb, #174a75);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	padding: 0 12px;
	text-align: center;
}

.jre-home-blog-body {
	padding: 12px 14px 14px;
}

.jre-home-blog-meta {
	font-size: 12px;
	color: #777;
	margin-bottom: 6px;
}

.jre-home-blog-meta a {
	text-decoration: none;
}

.jre-home-blog-title {
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 8px;
}

.jre-home-blog-title a {
	color: #222;
	text-decoration: none;
}

.jre-home-blog-excerpt {
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.jre-home-blog-grid {
		grid-template-columns: 1fr;
	}

	.jre-home-blog-thumb img,
	.jre-home-blog-thumb--placeholder {
		height: 180px;
	}
}
