.shongjog-homepage__infographic img {
	display: block;
	width: 100%;
	height: auto;
}

.shongjog-homepage > .wp-block-shongjog-content-sidebar-layout {
	margin-top: var(--wp--preset--spacing--2-xl);
}

/* Keep sidebar introduction text clear of the heading divider. */
.shongjog-homepage .shongjog-content-sidebar-layout__sidebar .is-style-heading-divider + p {
	margin-block-start: var(--wp--preset--spacing--md);
}

.shongjog-resource-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--xl);
}

.shongjog-resource-list > p {
	grid-column: 1 / -1;
}

.shongjog-resource-card {
	min-width: 0;
	margin-block-start: 0;
}

.shongjog-resource-card .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 263 / 160;
	overflow: hidden;
}

.shongjog-resource-card .wp-block-post-featured-image a {
	display: block;
	height: 100%;
}

.shongjog-resource-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shongjog-resource-card .wp-block-post-title {
	margin-top: var(--wp--preset--spacing--md);
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.4;
}

.shongjog-resource-card__tag {
	display: inline-block;
	margin-right: var(--wp--preset--spacing--xs);
	padding: 2px 8px;
	background: var(--wp--preset--color--brand-green);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.2;
	vertical-align: 2px;
}

.shongjog-resource-card__author {
	margin-block-start: var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--accent-red);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--bold);
}

.shongjog-homepage__more {
	padding-block: var(--wp--preset--spacing--sm);
	text-align: right;
}

.shongjog-homepage__more a {
	display: flex;
	justify-content: flex-end;
	gap: var(--wp--preset--spacing--xs);
}

.shongjog-homepage__more a::after {
	color: var(--wp--preset--color--accent-red);
	content: "\f0a9";
	font-family: "Shongjog Font Awesome";
}

@media (max-width: 767px) {
	.shongjog-resource-list {
		grid-template-columns: minmax(0, 1fr);
	}
}
