/*
 * Related posts (prototype article.html "article-related"), at the bottom of every news post (templates/single.html).
 * Pattern cmc/article-related: eyebrow over a 1px rule, heading and the "All news and insights" button side by side
 * from 1024px, then a Query Loop of three posts from the same category (inc/article.php) as news cards (news-card.css,
 * variant .news-card--related).
 */
.is-style-article-related .article-related__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 25px;
}

@media (width >= 1024px) {
	.is-style-article-related .article-related__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.is-style-article-related .article-related__heading {
	min-width: 0;
}

.is-style-article-related .article-related__head > .wp-block-buttons {
	flex-shrink: 0;
}

.is-style-article-related .is-style-eyebrow-rule {
	border-bottom-width: 1px;
}

/* the cards sit 30px under the heading row (core/query has no margin setting) */
.is-style-article-related > .wp-block-query {
	margin-top: 30px;
}
