<?php /* Template Name: latest-News Pages Template */ 
get_header(); 
include get_template_directory() . '/inc/menus/menu.php'; 
?>
<main role="main">
    <?php $backgroundImg = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full'); ?>
    <div class="header-wrap1" style="background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0)), url('<?php echo $backgroundImg[0]; ?>') no-repeat; background-size: cover; background-position: center center;">
        <div class="container">
            <div class="row">
                <div  class="col-md-12 col-sm-12 justify-content-center text-center breadcrumb" data-aos="fade-up">
                    <h1 class="news-title aos-init aos-animate text-center"><?php the_title(); ?></h1>
                
                    <?php custom_breadcrumb(); ?>
                </div>
            </div>
        </div>
    </div>

    <div class="kpy_intro_curve">
        <img src="https://lwegatech.net/bhf/wp-content/uploads/2025/03/svg_image.png" alt="Wave SVG">
    </div>

    <section>
        <div class="content-area container" data-aos="fade-up">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="post-content">
                        <?php the_content(); ?>
                    </div>
                </div>         
                <div class="col-lg-12 col-md-12 col-sm-12 row">
                    <h3 class="mt-5 text-center mb-4">Related News</h3>
                    <?php include get_template_directory() . '/inc/related-latestnews.php'; ?>
                   
                </div>
            </div>
            <?php edit_post_link(); ?>
        </div>
    </section>
</main>
<?php get_footer(); ?>
