<?php
/**
 * The template for displaying all pages
 *
 * @package Theme_An_Phat
 */

get_header(); ?>

<div class="page-hero text-center py-5">
    <div class="container">
        <h1 class="page-title font-heading fw-bold text-white mb-2"><?php the_title(); ?></h1>
        <div class="accent-line mx-auto bg-accent"></div>
    </div>
</div>

<main id="primary" class="site-main py-5 bg-white">
    <div class="container">
        <?php
        while ( have_posts() ) :
            the_post();
            ?>
            <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                <div class="entry-content text-dark lh-lg">
                    <?php
                    the_content();
                    ?>
                </div>
            </article>
            <?php
        endwhile; // End of the loop.
        ?>
    </div>
</main>

<?php get_footer(); ?>
