<?php

/**
 * Title: List of posts - Archive
 * Slug: sophia/archive
 * Categories: sophia, query
 * Block Types: core/query
 * Inserter: no
 */
?>

<!-- wp:query {"queryId":11,"query":{"perPage":4,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"parents":[]},"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":4,"minimumColumnWidth":null}} -->
	<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|65","top":"var:preset|spacing|65","left":"var:preset|spacing|56","right":"var:preset|spacing|56"}},"dimensions":{"minHeight":"100%"},"border":{"radius":"10px"}},"layout":{"type":"default"}} -->
	<div class="wp-block-group" style="border-radius:10px;min-height:100%;padding-top:var(--wp--preset--spacing--65);padding-right:var(--wp--preset--spacing--56);padding-bottom:var(--wp--preset--spacing--65);padding-left:var(--wp--preset--spacing--56)"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2"} /-->

		<!-- wp:group {"className":"wp-block-entry-content","style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"background","layout":{"type":"default"}} -->
		<div class="wp-block-group wp-block-entry-content has-background-background-color has-background" style="margin-top:0;margin-bottom:0">
			<!-- wp:group {"layout":{"type":"default"}} -->
			<div class="wp-block-group">

				<!-- wp:post-title {"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"20px"}},"fontFamily":"switzer"} /-->

				<!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":18,"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->

				<!-- wp:group {"className":"wp-block-post-meta","layout":{"type":"flex","flexWrap":"wrap"}} -->
				<div class="wp-block-group wp-block-post-meta">
					<!-- wp:post-author {"showAvatar":false,"isLink":true} /-->
				</div>
				<!-- /wp:group -->
			</div>
			<!-- /wp:group -->
		</div>
		<!-- /wp:group -->
	</div>
	<!-- /wp:group -->
	<!-- /wp:post-template -->

	<!-- wp:query-pagination {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"left"}} -->
	<!-- wp:query-pagination-previous {"label":"Previous","fontSize":"medium-small"} /-->

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

	<!-- wp:query-pagination-next {"label":"Next" ,"fontSize":"medium-small"} /-->
	<!-- /wp:query-pagination -->

	<!-- wp:query-no-results {"align":"center"} -->
	<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
	<div class="wp-block-group alignfull"><!-- wp:paragraph {"align":"center"} -->
		<p class="has-text-align-center"><?php echo esc_html__( 'No posts were found.', 'sophia-lite' ); ?></p>
		<!-- /wp:paragraph -->
	</div>
	<!-- /wp:group -->
	<!-- /wp:query-no-results -->
</div>
<!-- /wp:query -->