<?php
/**
 * Title: Recent Blog Posts
 * Slug: bold-photography-blocks/recent-blog-posts
 * Categories: bold-photography-blocks, page
 */
?>

<!-- wp:group {"align":"full","className":"wp-block-section wp-block-recent-blog-posts","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull wp-block-section wp-block-recent-blog-posts"><!-- wp:group {"align":"wide","className":"alignwide wp-block-group-heading"} -->
	<div class="wp-block-group alignwide wp-block-group-heading"><!-- wp:heading {"textAlign":"center","fontSize":"product-heading"} -->
		<h2 class="wp-block-heading has-text-align-center has-product-heading-font-size"><?php esc_html_e('News', 'bold-photography-blocks'); ?></h2>
		<!-- /wp:heading -->
	</div>
	<!-- /wp:group -->

	<!-- wp:group {"className":"wp-block-group-content"} -->
	<div class="wp-block-group wp-block-group-content"><!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"constrained"}} -->
		<div class="wp-block-query alignwide">
			<!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|80"}},"layout":{"type":"constrained"}} -->
			<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"16/9","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} /-->

			<!-- wp:group {"align":"wide","layout":{"type":"constrained","contentSize":"760px"}} -->
			<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
				<div class="wp-block-group">
					<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"right":"0px","bottom":"0px","left":"0px","top":"0px"}},"typography":{"lineHeight":"1.43","fontStyle":"normal","fontWeight":"500"}},"fontSize":"extra-large"} /-->

					<!-- wp:group {"style":{"spacing":{"margin":{"top":"14px","bottom":"0"},"blockGap":"14px"}},"className":"wp-block-post-meta","layout":{"type":"flex","allowOrientation":false}} -->
					<div class="wp-block-group wp-block-post-meta" style="margin-top:14px;margin-bottom:0">
						<!-- wp:post-date {"isLink":true} /-->

						<!-- wp:group {"style":{"spacing":{"blockGap":"7px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
						<div class="wp-block-group">
							<!-- wp:paragraph {"style":{"typography":{"textTransform":"lowercase"}},"fontSize":"tiny"} -->
							<p class="has-tiny-font-size" style="text-transform:lowercase">By</p>
							<!-- /wp:paragraph -->

							<!-- wp:post-author {"showAvatar":false,"isLink":true} /-->
						</div>
						<!-- /wp:group -->

						<!-- wp:post-terms {"term":"post_tag"} /-->
					</div>
					<!-- /wp:group -->

					<!-- wp:post-excerpt {"moreText":"Continue Reading","excerptLength":32,"style":{"spacing":{"margin":{"top":"28px"}}}} /-->
				</div>
				<!-- /wp:group -->
			</div>
			<!-- /wp:group -->
			<!-- /wp:post-template -->

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

			<!-- wp:query-pagination-next {"fontSize":"small"} /-->
			<!-- /wp:query-pagination -->
		</div>
		<!-- /wp:query -->
	</div>
	<!-- /wp:group -->
</div>
<!-- /wp:group -->
