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

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

?>
<div class="g-b24e2866">
<?php if ( have_posts() ) : ?>
	<div class="g-264ddf4a" data-analytics-cy="406f9c91d854" data-block-layout="662eb08060fb" data-module-variant="outlined" data-element-trigger="aa56e58">
		<?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-3aaf3906" data-mui-metric="1bf458c" data-block-animation="slide">
		<h2><?php esc_html_e( 'No results found for your query', 'theme' ); ?></h2>
	</div>
<?php endif; ?>
</div>