/* People directory cards (Latest Posts block with class "people-grid") */
.people-grid.wp-block-latest-posts__list.is-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 22px;
	padding: 0;
	margin: 26px 0 10px;
	list-style: none;
}
.people-grid > li {
	margin: 0 !important;
	width: auto !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.people-grid > li:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}
.people-grid .wp-block-latest-posts__featured-image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin: 0 !important;
	float: none !important;
	background: #f3f3f3;
}
.people-grid .wp-block-latest-posts__featured-image a {
	display: block;
	height: 100%;
}
.people-grid .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center top;
	transition: transform .35s ease;
}
.people-grid > li:hover .wp-block-latest-posts__featured-image img {
	transform: scale(1.06);
}
.people-grid .wp-block-latest-posts__post-title {
	display: block;
	flex: 1;
	padding: 12px 10px 14px;
	border-top: 3px solid #f3b13e;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #2f2f2f;
	text-decoration: none;
}
.people-grid .wp-block-latest-posts__post-title:hover {
	color: #d98f10;
}
@media (max-width: 600px) {
	.people-grid.wp-block-latest-posts__list.is-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}
