<?php

/**
 * Title: Latest News
 * Slug: mediora/latest-news
 * Categories: mediora
 */
?>
<!-- wp:group {"metadata":{"name":"Latest News","patternName":"mediora/latest-news","categories":["mediora"]},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","right":"var:preset|spacing|30","left":"var:preset|spacing|30"}},"border":{"width":"0px","style":"none"}},"backgroundColor":"background-secondary","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-background-secondary-background-color has-background"
    style="border-style:none;border-width:0px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--30)">
    <!-- wp:group {"style":{"spacing":{"blockGap":"0px","padding":{"top":"0px","right":"0px","bottom":"var:preset|spacing|20","left":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
    <div class="wp-block-group"
        style="padding-top:0px;padding-right:0px;padding-bottom:var(--wp--preset--spacing--20);padding-left:0px">
        <!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"default"}} -->
        <div class="wp-block-group">
            <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
            <div class="wp-block-group">
                <!-- wp:paragraph {"style":{"typography":{"textAlign":"center","fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"border":{"radius":{"topLeft":"25px","topRight":"25px","bottomLeft":"25px","bottomRight":"25px"},"width":"1px"},"spacing":{"padding":{"right":"var:preset|spacing|10","left":"var:preset|spacing|10"}}},"textColor":"primary","fontSize":"extra-small","borderColor":"primary"} -->
                <p class="has-text-align-center has-border-color has-primary-border-color has-primary-color has-text-color has-link-color has-extra-small-font-size"
                    style="border-width:1px;border-top-left-radius:25px;border-top-right-radius:25px;border-bottom-left-radius:25px;border-bottom-right-radius:25px;padding-right:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--10);font-style:normal;font-weight:500">
                    <?php echo esc_html__('News articles', 'mediora'); ?>&nbsp;</p>
                <!-- /wp:paragraph -->
            </div>
            <!-- /wp:group -->

            <!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"textColor":"white","layout":{"type":"default"}} -->
            <div class="wp-block-group has-white-color has-text-color">
                <!-- wp:heading {"className":" animated animated-fadeInUp","style":{"typography":{"lineHeight":"1.3","textTransform":"capitalize","textAlign":"center"}},"fontSize":"big"} -->
                <h2 class="wp-block-heading has-text-align-center animated animated-fadeInUp has-big-font-size"
                    style="line-height:1.3;text-transform:capitalize"><?php echo esc_html__('news articles', 'mediora'); ?></h2>
                <!-- /wp:heading -->
            </div>
            <!-- /wp:group -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignwide">
        <!-- wp:query {"queryId":1,"query":{"perPage":3,"pages":"3","offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"inherit":false}} -->
        <div class="wp-block-query alignwide">
            <!-- wp:post-template {"align":"wide","className":"mobile-horizontal-scroll","layout":{"type":"grid","columnCount":3}} -->
            <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|20","right":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20"},"blockGap":"var:preset|spacing|10"},"border":{"radius":"10px","width":"0px","style":"none"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
            <div class="wp-block-group alignwide has-background-background-color has-background"
                style="border-style:none;border-width:0px;border-radius:10px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
                <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide","className":"image-zoom-hover","style":{"layout":{"columnSpan":1,"rowSpan":1},"border":{"radius":"10px"}}} /-->

                <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|20","right":"0","bottom":"0","left":"0"},"margin":{"top":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
                <div class="wp-block-group alignwide"
                    style="margin-top:0px;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:0;padding-left:0">
                    <!-- wp:post-date {"format":"F j, Y","isLink":true,"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"extra-small"} /-->

                    <!-- wp:post-title {"level":3,"isLink":true,"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"textColor":"foreground"} /-->

                    <!-- wp:post-excerpt {"moreText":"<?php echo esc_attr__('Know More', 'mediora'); ?>","excerptLength":11} /-->
                </div>
                <!-- /wp:group -->
            </div>
            <!-- /wp:group -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->