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

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

?>
<div class="g-957a8097">
<?php if ( have_posts() ) : ?>
	<div class="g-af4f9789" data-component-theme="auto" data-section-category="navigation" data-mui-action="expand" data-bs-track="40929ee">
		<?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-59a017d9" data-mui-focus="2b6b8af" data-element-trigger="21893989" data-widget-content="239a24f" data-section-animation="fade" data-element-layout="7c138ae763a">
		<h2><?php esc_html_e( 'No results found for your query', 'theme' ); ?></h2>
	</div>
<?php endif; ?>
</div>