<?php get_header(); ?>

<?php echo kubelio_get_page_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 
?>

<section class="site-wrapper">
	<?php if (have_posts()) : ?>
		<?php
		while (have_posts()) :
			the_post();
		?>

			<div class="entry-content wp-block-post-content has-global-padding is-layout-constrained">
				<?php the_content(); ?>
				<?php wp_link_pages(); ?>

				<?php if ((comments_open() || get_comments_number())) : ?>
					<div class="wp-block-group md:mt-60 md:mb-60">
						<div class="wp-block-post-comments has-small-font-size is-layout-flow has-surface-background-color border rounded-lg py-30 px-30 md:py-40 md:px-40">
							<?php comments_template(); ?>
						</div>
					</div>
				<?php endif ?>

			</div>

		<?php endwhile; ?>
	<?php endif ?>
</section>

<?php get_footer(); ?>