<?php

/**
 * Title: NewsWP Post Magzine Layout with Slider
 * Slug: walker-core/newswp-pro-magzine-grid
 * Categories: newswp-pro
 */
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"40px","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"1280px"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:40px;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"style":{"border":{"bottom":{"color":"var:preset|color|primary","width":"2px"},"top":[],"right":[],"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
    <div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--primary);border-bottom-width:2px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"},"spacing":{"padding":{"top":"8px","bottom":"8px","left":"12px","right":"12px"}}},"backgroundColor":"primary","textColor":"white","fontSize":"normal"} -->
        <p class="has-white-color has-primary-background-color has-text-color has-background has-link-color has-normal-font-size" style="padding-top:8px;padding-right:12px;padding-bottom:8px;padding-left:12px;font-style:normal;font-weight:700;text-transform:uppercase"><?php esc_html_e('Magzine Layout Pro', 'walker-core') ?></p>
        <!-- /wp:paragraph -->
    </div>
    <!-- /wp:group -->

    <!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"25px","left":"25px"},"margin":{"top":"25px"}}}} -->
    <div class="wp-block-columns" style="margin-top:25px"><!-- wp:column {"width":"50%"} -->
        <div class="wp-block-column" style="flex-basis:50%"><!-- wp:walker-core/post-carousel {"clientId":"5fea3a5a-b24a-4bef-b3ed-3a9d037173a0","pagination":{"enabled":false,"default":{"width":10,"height":10,"borderRadius":10,"color":"#000","colorHover":""},"active":{"width":"","height":"","borderRadius":"","offset":0,"border":{"width":"","style":"","color":""},"color":"#f49805","borderColorHover":"","colorHover":""},"verticalPosition":-26,"gap":4},"navigation":{"enabled":true,"hoverShow":true,"size":16,"boxWidth":35,"boxHeight":35,"borderRadius":0,"border":{"color":"#0000001a","style":"solid","width":"1px"},"boxColor":"#0000001A","color":"#fff","boxColorHover":"#117DD1","borderColorHover":"","colorHover":""},"sliderOptions":{"direction":"horizontal","autoplay":{"enabled":true,"pauseOnMouseEnter":true,"delay":2500},"loop":true,"centeredSlides":false,"slidesPerView":1,"spaceBetween":30,"speed":1500,"effect":"none"}} -->
            <div class="wp-block-walker-core-post-carousel">
                <div class="walker-core-post-block layout-carousel  nav-hover-show  carousel-direction-horizontal" id="walkerCore_5fea3a5a_b24a_4bef_b3ed_3a9d037173a0"><!-- wp:query {"queryId":1,"query":{"perPage":5,"postType":"post","offset":0},"lock":{"move":false,"remove":true},"className":"walker-core-post__swiper-container"} -->
                    <div class="wp-block-query walker-core-post__swiper-container"><!-- wp:post-template {"lock":{"move":false,"remove":true},"className":"walker-core__grid-wrapper swiper-wrapper"} -->
                        <!-- wp:group {"style":{"spacing":{"blockGap":"24px"}},"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"height":"400px","className":"is-style-cover-hover-zoom-in"} /-->

                            <!-- wp:group {"style":{"spacing":{"blockGap":"15px"}},"layout":{"type":"constrained"}} -->
                            <div class="wp-block-group"><!-- wp:post-terms {"term":"category","className":"is-style-category-background-mixed","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontSize":"9px","textTransform":"uppercase"}},"textColor":"white"} /-->

                                <!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"very-large"} /-->

                                <!-- wp:group {"style":{"typography":{"textTransform":"capitalize"},"spacing":{"blockGap":"10px"}},"fontSize":"tiny","fontFamily":"inter","layout":{"type":"flex","flexWrap":"nowrap"}} -->
                                <div class="wp-block-group has-inter-font-family has-tiny-font-size" style="text-transform:capitalize"><!-- wp:post-author-name {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->

                                    <!-- wp:post-date /-->
                                </div>
                                <!-- /wp:group -->

                                <!-- wp:post-excerpt {"moreText":"\u003cstrong\u003eMore\u003c/strong\u003e","showMoreOnNewLine":false,"excerptLength":35,"style":{"elements":{"link":{"color":{"text":"var:preset|color|meta-color"}}}},"textColor":"meta-color"} /-->
                            </div>
                            <!-- /wp:group -->
                        </div>
                        <!-- /wp:group -->
                        <!-- /wp:post-template -->
                    </div>
                    <!-- /wp:query -->
                    <div class="swiper-button-prev"></div>
                    <div class="swiper-button-next"></div>
                </div>
            </div>
            <!-- /wp:walker-core/post-carousel -->
        </div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"50%"} -->
        <div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"queryId":15,"query":{"perPage":4,"pages":0,"offset":"5","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[],"format":[]}} -->
            <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"25px"}},"layout":{"type":"grid","columnCount":2}} -->
                <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"constrained"}} -->
                <div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"height":"220px","className":"is-style-cover-hover-zoom-in"} /-->

                    <!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:post-terms {"term":"category","className":"is-style-category-background-mixed","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontSize":"9px","textTransform":"uppercase"}},"textColor":"white"} /-->

                        <!-- wp:post-title {"level":5,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"slightly-large"} /-->

                        <!-- wp:group {"style":{"typography":{"textTransform":"capitalize"},"spacing":{"blockGap":"10px"}},"fontSize":"tiny","fontFamily":"inter","layout":{"type":"flex","flexWrap":"nowrap"}} -->
                        <div class="wp-block-group has-inter-font-family has-tiny-font-size" style="text-transform:capitalize"><!-- wp:post-author-name {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->

                            <!-- wp:post-date /-->
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:group -->
                <!-- /wp:post-template -->
            </div>
            <!-- /wp:query -->
        </div>
        <!-- /wp:column -->
    </div>
    <!-- /wp:columns -->
</div>
<!-- /wp:group -->