#ae-related-posts h2 {
	padding-bottom: 10px;
}

.ae-related-post-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 20px;
}

.ae-related-post-grid .c-card {
	box-shadow: 0 6px 12px 0 rgba(0,0,0,0.14);
	width: calc((100% - 80px) / 3);
}

.ae-related-post-grid .c-card__img {
	padding-top: 66.66%;
	position: relative;
	width: 100%;
}

.ae-related-post-grid .c-card__img img {
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	object-fit: cover;
}

.ae-related-post-grid .c-card__content {
	padding: 20px;
}

.ae-related-post-grid h3 {
	padding-bottom: 10px;
}

.ae-related-post-grid .wp-block-post-title a {
	color: var(--global-palette1);
}

.ae-related-post-grid .wp-block-post-title a:hover {
	color: var(--global-palette2);
}

.ae-related-post-grid .c-card__meta {
	display: flex;
	font-size: 14px;
	gap: 40px;
	margin-bottom: 20px;
}

.ae-related-post-grid .c-card__meta .wp-block-post-author:before {
	color: #9ca7b0;
	content: "|";
	left: -20px;
	position: relative;
	top: -1px;
	
}

@media (max-width: 1024px) {
	.ae-related-post-grid .c-card {
		width: calc((100% - 80px) / 2);
	}
}

@media (max-width: 767px) {
	.ae-related-post-grid .c-card {
		width: 100%;
	}
}