<?php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package    Wira
 * @since      1.0.1
 */

?>

<?php get_header(); ?>

<!-- Main Wrapper -->
<main id="main">

	<!-- Post Content -->
	<?php
	if ( have_posts() ) :
		while ( have_posts() ) :
			the_post();

			?>

			<!-- Theme Wrapper -->
			<div class="wira-theme">

				<!-- Title Banner -->
				<?php get_template_part( 'template-parts/title-banner' ); ?>

				<!-- Main Section Wrapper -->
				<div class="container theme-section theme-space-wider">

					<!-- Row -->
					<div class="row gx-lg-5 gy-5">

						<!-- Main Content Columns -->
						<div class="col">
							<?php get_template_part( 'template-parts/content/content', 'single' ); ?>
						</div>

						<!-- Content Columns Sidebar -->
						<?php get_sidebar(); ?>
					</div> <!-- Row /End -->
				</div> <!-- Main Section Wrapper /End -->
			</div> <!-- Theme Wrapper /End -->
			<?php

		endwhile;
	endif;
	?>
</main>

<?php get_footer(); ?>
