<?php
/**
 * Title: Latest News
 * Slug: tutu/latest-news
 * Categories: tutu, query
 * Block Types: core/query
 */
?>

<!-- wp:group {"metadata":{"name":"Latest News"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--50)"><!-- wp:heading {"level":5,"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|accent"}}},"typography":{"fontStyle":"normal","fontWeight":"700","textDecoration":"underline"}},"textColor":"accent","className":"is-style-sub-headline"} -->
    <h5 class="wp-block-heading alignwide is-style-sub-headline has-accent-color has-text-color has-link-color" style="font-style:normal;font-weight:700;text-decoration:underline"><?php echo __( 'Latest News:', 'tutu' ); ?></h5>
    <!-- /wp:heading -->

    <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|30"}}}} -->
    <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
        <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:query {"query":{"perPage":"6","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"align":"wide","layout":{"type":"default"}} -->
            <div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"default","columnCount":3}} -->
                <!-- wp:columns {"verticalAlignment":"center"} -->
                <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"30%"} -->
                    <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:30%"><!-- wp:post-featured-image {"isLink":true} /--></div>
                    <!-- /wp:column -->

                    <!-- wp:column {"verticalAlignment":"center","width":"70%"} -->
                    <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:70%"><!-- wp:post-title {"level":3,"isLink":true} /-->

                        <!-- wp:template-part {"slug":"post-meta","theme":"tutu"} /-->

                        <!-- wp:post-excerpt {"excerptLength":25} /-->
                    </div>
                    <!-- /wp:column -->
                </div>
                <!-- /wp:columns -->
                <!-- /wp:post-template -->
            </div>
            <!-- /wp:query -->
        </div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"33.33%"} -->
        <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|20","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
            <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|20"}},"typography":{"textDecoration":"underline"}}} -->
                <h3 class="wp-block-heading" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--20);text-decoration:underline"><?php echo __( 'Trending News', 'tutu' ); ?></h3>
                <!-- /wp:heading -->

                <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
                <div class="wp-block-query alignwide"><!-- wp:post-template -->
                    <!-- wp:post-title {"level":5,"isLink":true,"style":{"typography":{"lineHeight":"1.1"},"spacing":{"margin":{"top":"var:preset|spacing|10","bottom":"var:preset|spacing|10"}}},"fontSize":"medium"} /-->

                    <!-- wp:separator {"backgroundColor":"accent","className":"alignwide is-style-wide"} -->
                    <hr class="wp-block-separator has-text-color has-accent-color has-alpha-channel-opacity has-accent-background-color has-background alignwide is-style-wide" />
                    <!-- /wp:separator -->
                    <!-- /wp:post-template -->
                </div>
                <!-- /wp:query -->
            </div>
            <!-- /wp:group -->

            <!-- wp:group {"layout":{"type":"constrained"}} -->
            <div class="wp-block-group"><!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|20"}},"typography":{"textDecoration":"underline"}}} -->
                <h3 class="wp-block-heading" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--20);text-decoration:underline"><?php echo __( 'Trending Hashtags', 'tutu' ); ?></h3>
                <!-- /wp:heading -->

                <!-- wp:tag-cloud /-->
            </div>
            <!-- /wp:group -->
        </div>
        <!-- /wp:column -->
    </div>
    <!-- /wp:columns -->
</div>
<!-- /wp:group -->