<?php

/**
 * Title: Breaking News Slider
 * Slug: nexum/breaking-news-slider
 * Categories:nexum-template
 */
$nexum_breaking_url = get_template_directory_uri();
$nexum_breaking_img = array(
    $nexum_breaking_url . '/assets/images/breaking-news-icon.png'
);
?>
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"0"}},"className":"nexum-breaking-news-shadow","layout":{"type":"constrained"}} -->
<main class="wp-block-group nexum-breaking-news-shadow" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"10px","bottom":"10px"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
    <div class="wp-block-group has-white-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:10px;padding-right:var(--wp--preset--spacing--40);padding-bottom:10px;padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","wideSize":"1180px"}} -->
        <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:columns {"verticalAlignment":"center"} -->
            <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
                <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"className":"nexum-z-index","layout":{"type":"flex","flexWrap":"nowrap"},"fontSize":"small"} -->
                    <div class="wp-block-group nexum-z-index has-small-font-size"><!-- wp:image {"id":1965,"width":"20px","height":"40px","scale":"contain","sizeSlug":"full","linkDestination":"none","style":{"layout":{"selfStretch":"fit","flexSize":null}}} -->
                        <figure class="wp-block-image size-full is-resized"><img src="<?php echo esc_url($nexum_breaking_img[0]) ?>" alt="" class="wp-image-1965" style="object-fit:contain;width:20px;height:40px" /></figure>
                        <!-- /wp:image -->

                        <!-- wp:heading {"textAlign":"left","level":4,"style":{"typography":{"textTransform":"uppercase","fontStyle":"italic","fontWeight":"800"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"small","fontFamily":"playfair-display"} -->
                        <h4 class="wp-block-heading has-text-align-left has-primary-color has-text-color has-link-color has-playfair-display-font-family has-small-font-size" style="font-style:italic;font-weight:800;text-transform:uppercase"><?php esc_html_e('Breaking News', 'nexum') ?></h4>
                        <!-- /wp:heading -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:column -->

                <!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
                <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:group {"className":"nexum-slide-blog-group","layout":{"type":"constrained","wideSize":"100%","contentSize":""}} -->
                    <div class="wp-block-group nexum-slide-blog-group"><!-- wp:query {"queryId":13,"query":{"perPage":"6","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"className":"nexum-header-slider"} -->
                        <div class="wp-block-query nexum-header-slider"><!-- wp:post-template {"style":{"spacing":{"blockGap":"20px"}},"className":"swiper-wrapper nexum-swiper-holder ","layout":{"type":"default","columnCount":3}} -->
                            <!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"white","layout":{"type":"constrained","wideSize":"500px"}} -->
                            <div class="wp-block-group has-white-background-color has-background" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"style":{"spacing":{"blockGap":"10px","padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"className":"nexum-slide-content","layout":{"type":"flex","flexWrap":"nowrap"}} -->
                                <div class="wp-block-group nexum-slide-content" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-featured-image {"isLink":true,"width":"80px","height":"60px"} /-->

                                    <!-- wp:group {"layout":{"type":"constrained","wideSize":""}} -->
                                    <div class="wp-block-group"><!-- wp:post-title {"level":6,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|black"}}}},"textColor":"black","className":"nexum-text-decoration-none is-style-title-hover-secondary"} /--></div>
                                    <!-- /wp:group -->
                                </div>
                                <!-- /wp:group -->
                            </div>
                            <!-- /wp:group -->
                            <!-- /wp:post-template -->
                        </div>
                        <!-- /wp:query -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:column -->
            </div>
            <!-- /wp:columns -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:group -->
</main>
<!-- /wp:group -->