<?php
/**
 * DESCRIPTION: Classic-theme events archive — wraps the shared block grid from
 * archive-nemtly_event.html in the active theme's header and footer.
 *
 * @package Nemtly_Booking
 */

use NemtlyBooking\Core\Classic_Template_Loader;

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

get_header();
?>
<main class="nemtly-events-archive">
    <?php
    // Block HTML rendered by WordPress core; escaping it would corrupt the markup.
    echo Classic_Template_Loader::render_block_body( 'archive-nemtly_event' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    ?>
</main>
<?php
get_footer();
