/* Responsive homepage hero and related article cards. */

.grayfox-related-posts {
	clear: both;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid #e4e4dc;
}

.grayfox-related-posts > h2 {
	margin-bottom: 24px;
	color: #5b5848;
	font-size: 30px;
}

.grayfox-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.grayfox-related-card {
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #ecebe3;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(91, 88, 72, 0.08);
}

.grayfox-related-image,
.grayfox-related-image img,
.grayfox-related-placeholder {
	display: block;
	width: 100%;
}

.grayfox-related-image img,
.grayfox-related-placeholder {
	height: 160px;
	object-fit: cover;
}

.grayfox-related-placeholder {
	background: #eeeddd;
}

.grayfox-related-copy {
	padding: 18px;
}

.grayfox-related-date {
	margin: 0 0 8px;
	color: #8c8a7c;
	font-size: 13px;
}

.grayfox-related-card h3 {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.35;
}

.grayfox-related-card h3 a {
	color: #5b5848;
}

.grayfox-related-card h3 a:hover,
.grayfox-related-card h3 a:focus {
	color: #94a72c;
}

@media only screen and (max-width: 767px) {
	.home .et_pb_section_0 {
		background-color: #ffffff !important;
		background-position: center top !important;
		background-repeat: no-repeat !important;
		background-size: 100% auto !important;
		padding-top: 215px !important;
	}

	.grayfox-related-grid {
		grid-template-columns: 1fr;
	}

	.grayfox-related-image img,
	.grayfox-related-placeholder {
		height: 210px;
	}
}
