/*
 * News & Insights Events (prototype news.html "news-events"). Pattern cmc/news-events: eyebrow over a rule, a
 * heading, then a Query Loop of the three newest posts in the category as news cards (news-card.css: card and grid).
 * The section's colours, padding (40/40) and gaps are block settings in the pattern.
 */
.wp-block-group.is-style-news-events {
	scroll-margin-top: 100px; /* the #events anchor clears the fixed header */
}

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

/* the heading block is a flex column (prototype div.flex.flex-col): the eyebrow (inline-block) is a flex item, so it
   doesn't sit on a 24px text line */
.is-style-news-events > .wp-block-group:first-child {
	display: flex;
	flex-direction: column;
}
