<?php
	/**
	 * Universal Post List Component
	 *
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

?>
<div class="g-fdc4b4e9">
<?php if ( have_posts() ) : ?>
	<div class="g-7c442c86" data-component-type="text" data-test-e2e="1c43d4f0f" data-component-config="3503711e80" data-block-layout="f60084770">
		<?php while ( have_posts() ) : the_post(); ?>
			<?php get_template_part( 'templates/post', 'card' ); ?>
		<?php endwhile; ?>
	</div>
	<?php get_template_part( 'templates/pagination' ); ?>
<?php else : ?>
	<div class="g-30431fb6" data-mui-slide-to="0558edaa3d9" data-bs-size="small">
		<h2><?php esc_html_e( 'No results found for your query', 'theme' ); ?></h2>
	</div>
<?php endif; ?>
</div>