<?php get_header();
global $post;
$post_id = $post->ID;
?>
    <main class="main-layout">


<?php get_sidebar('left'); ?>
<?php get_sidebar('right'); ?>

    <div class="games-lnside__fon">
        <div class="games-lnside">
           <?php echo carbon_get_post_meta($post_id,'demo');  ?>
        </div>
    </div>
    <div class="layout__style">

<?php while (have_posts()):the_post(); ?>
    <div class="layout__style_cnt">
        <div class="layout__head">
            <h1><?php echo get_the_title(); ?></h1>
            <a href="<?php echo carbon_get_post_meta(get_the_ID(), 'text_download') ?>" class="layout__download"
               target="_blank" rel="nofollow">
                <?php echo __('Download', 'mostbet'); ?>
            </a>
        </div>
        <div class="layout__text">
            <?php the_content(); ?>
        </div>
    </div>
<?php endwhile; ?>


<?php get_footer(); ?>