<?php

/**
 * Title: News Ticker
 * Slug: walker-news-template/news-ticker
 * Categories: walker-news-template
 */
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"className":"wnt-ticker","layout":{"type":"constrained","contentSize":"1440px"}} -->
<div class="wp-block-group wnt-ticker" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"border":{"radius":"10px"},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"1.2rem","bottom":"1.2rem"}}},"backgroundColor":"background-alt","layout":{"type":"constrained","contentSize":"100%"}} -->
    <div class="wp-block-group has-background-alt-background-color has-background" style="border-radius:10px;padding-top:1.2rem;padding-right:var(--wp--preset--spacing--50);padding-bottom:1.2rem;padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"verticalAlignment":"center"} -->
        <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"150px"} -->
            <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:150px"><!-- wp:heading {"level":4,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}},"textColor":"primary","fontSize":"medium"} -->
                <h4 class="wp-block-heading has-primary-color has-text-color has-medium-font-size" style="font-style:normal;font-weight:500"><?php echo esc_html('Breaking News', 'walker-news-template') ?></h4>
                <!-- /wp:heading -->
            </div>
            <!-- /wp:column -->

            <!-- wp:column {"verticalAlignment":"center","width":""} -->
            <div class="wp-block-column is-vertically-aligned-center"><!-- wp:query {"queryId":30,"query":{"perPage":"6","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"className":"wnt-ticker-slider","layout":{"type":"default"}} -->
                <div class="wp-block-query wnt-ticker-slider"><!-- wp:post-template {"className":"swiper-wrapper wnt-swiper-holder ","layout":{"type":"default","columnCount":3}} -->
                    <!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|gray-color"}}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"className":"is-style-title-hover-primary-color","fontSize":"normal"} /-->
                    <!-- /wp:post-template -->
                </div>
                <!-- /wp:query -->
            </div>
            <!-- /wp:column -->
        </div>
        <!-- /wp:columns -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->