<?php get_header(); ?>

<div class="content-wrapper page-full-width-wrapper">
    <main id="main" class="site-main page-main" tabindex="-1">
        <?php if ( have_posts() ) : ?>
            <?php while ( have_posts() ) : the_post(); ?>
                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                    <header class="entry-header">
                        <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
                    </header>
                    <div class="entry-content">
                        <?php the_content(); ?>
                    </div>
                </article>
            <?php endwhile; ?>
        <?php else : ?>
            <p><?php esc_html_e( 'No content found.', 'nxt-event-planner' ); ?></p>
        <?php endif; ?>
    </main>

</div>

<?php get_footer(); ?>
