<?php
/**
 * Default page template with Elementor support.
 *
 * @package Shabnam_MuchWOW
 */
defined( 'ABSPATH' ) || exit;
get_header();

while ( have_posts() ) :
	the_post();

	if ( function_exists( 'shabnam_elementor_should_render_content' ) && shabnam_elementor_should_render_content( get_the_ID() ) ) :
		?>
		<main id="primary" class="shabnam-elementor-page">
			<?php the_content(); ?>
		</main>
		<?php
	else :
		?>
		<main id="primary" class="shabnam-inner-page section panel overflow-hidden"><div class="section-outer panel py-8 lg:py-10"><div class="container sm:max-w-md xl:max-w-lg">
			<article id="post-<?php the_ID(); ?>" <?php post_class( 'panel' ); ?>>
				<header class="text-center sm:max-w-800px mx-auto mb-5"><h1 class="h3 sm:h2 xl:display-6 text-white"><?php the_title(); ?></h1></header>
				<div class="shabnam-entry-content panel p-3 sm:p-5 lg:p-6 border border-1 border-gray-100 border-opacity-40 rounded-3 bg-white bg-opacity-5 fs-5"><?php the_content(); ?><?php wp_link_pages(); ?></div>
			</article>
		</div></div></main>
		<?php
	endif;
endwhile;

get_footer();
