<?php

/**
 * Title: Post Query Loop
 * Slug: post-query-loop
 * Categories: clubblocks
 */
?>

<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"padding":{"top":"3rem","bottom":"3rem","right":"1rem","left":"1rem"}},"color":{"background":"#f3f3f3"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background" style="background-color:#f3f3f3;margin-top:0px;margin-bottom:0px;padding-top:3rem;padding-right:1rem;padding-bottom:3rem;padding-left:1rem">
	<!-- wp:query {"queryId":11,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"type":"default"}} -->
	<div class="wp-block-query">
		<!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
			<!-- wp:post-terms {"term":"category","style":{"color":{"text":"#b1b1b1"},"elements":{"link":{"color":{"text":"#b1b1b1"}}},"layout":{"selfStretch":"fit","flexSize":null}},"fontSize":"xsmall"} /-->

			<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","align":"wide"} /-->

			<!-- wp:post-date {"style":{"elements":{"link":{"color":{"text":"#b1b1b1"}}},"color":{"text":"#b1b1b1"}},"fontSize":"xsmall"} /-->

			<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->

			<!-- wp:post-excerpt {"moreText":"\u003cstrong\u003eRead more\u003c/strong\u003e"} /-->
		<!-- /wp:post-template -->

		<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
			<!-- wp:query-pagination-previous /-->

			<!-- wp:query-pagination-numbers /-->

			<!-- wp:query-pagination-next /-->
		<!-- /wp:query-pagination -->

		<!-- wp:query-no-results -->
			<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results."} -->
			<p class="has-text-align-center">No messages were found.</p>
			<!-- /wp:paragraph -->
		<!-- /wp:query-no-results -->
	</div>
	<!-- /wp:query -->
</div>
<!-- /wp:group -->