<?php

/**
 * Title: Default Sidebar
 * Slug: walker-news-template/default-sidebar
 * Categories: walker-news-template
 */
$wnt_url = trailingslashit(get_template_directory_uri());
$wnt_images = array(
    $wnt_url . 'assets/images/sidebar_ads.png',
);
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:image {"align":"center","id":777,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"10px"}}} -->
        <figure class="wp-block-image aligncenter size-full has-custom-border"><img src="<?php echo esc_url($wnt_images[0]) ?>" alt="" class="wp-image-777" style="border-radius:10px" /></figure>
        <!-- /wp:image -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"layout":{"type":"constrained"}} -->
    <div class="wp-block-group"><!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}}} -->
        <h3 class="wp-block-heading" style="font-style:normal;font-weight:500"><?php echo esc_html('Trending News', 'walker-news-template') ?></h3>
        <!-- /wp:heading -->

        <!-- wp:query {"queryId":121,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
        <div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default"}} -->
            <!-- wp:post-featured-image {"isLink":true,"height":"300px","align":"wide"} /-->

            <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
            <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                <div class="wp-block-group"><!-- wp:avatar {"size":32,"style":{"border":{"radius":"40px"}}} /-->

                    <!-- wp:post-author-name {"style":{"typography":{"textTransform":"capitalize"}},"textColor":"gray-color"} /-->
                </div>
                <!-- /wp:group -->

                <!-- wp:post-date {"textColor":"gray-color"} /-->
            </div>
            <!-- /wp:group -->

            <!-- wp:post-title {"level":3,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|dark-heading-color"}}},"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}},"className":"is-style-title-hover-primary-color"} /-->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->

        <!-- wp:query {"queryId":121,"query":{"perPage":"4","pages":0,"offset":"1","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
        <div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default"}} -->
            <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
            <div class="wp-block-group"><!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} -->
                <div class="wp-block-columns"><!-- wp:column {"width":"33.33%"} -->
                    <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"120px","align":"wide","style":{"border":{"radius":"10px"}}} /--></div>
                    <!-- /wp:column -->

                    <!-- wp:column {"width":"66.66%"} -->
                    <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group"><!-- wp:post-title {"level":4,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|dark-heading-color"}}},"spacing":{"margin":{"bottom":"0"}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"className":"is-style-title-hover-primary-color"} /-->

                            <!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                            <div class="wp-block-group" style="padding-top:0;padding-bottom:0"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                                <div class="wp-block-group"><!-- wp:avatar {"size":32,"style":{"border":{"radius":"40px"}}} /-->

                                    <!-- wp:post-author-name {"style":{"typography":{"textTransform":"capitalize"}},"textColor":"gray-color"} /-->
                                </div>
                                <!-- /wp:group -->

                                <!-- wp:post-date {"textColor":"gray-color"} /-->
                            </div>
                            <!-- /wp:group -->
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:column -->
                </div>
                <!-- /wp:columns -->
            </div>
            <!-- /wp:group -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}}} -->
        <h3 class="wp-block-heading" style="font-style:normal;font-weight:600"><?php echo esc_html('Find Us On', 'walker-news-template') ?></h3>
        <!-- /wp:heading -->

        <!-- wp:social-links {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|20","left":"var:preset|spacing|20"}}}} -->
        <ul class="wp-block-social-links"><!-- wp:social-link {"url":"#","service":"facebook"} /-->

            <!-- wp:social-link {"url":"#","service":"instagram"} /-->

            <!-- wp:social-link {"url":"#","service":"twitter"} /-->

            <!-- wp:social-link {"url":"#","service":"spotify"} /-->

            <!-- wp:social-link {"url":"#","service":"pinterest"} /-->

            <!-- wp:social-link {"url":"#","service":"linkedin"} /-->
        </ul>
        <!-- /wp:social-links -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->