<?php

/**
 * Title: Main Banner
 * Slug: magazine-blocks/main-banner
 */

?>

<!-- wp:group {"className":"cat-post","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group cat-post" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group"><!-- wp:query {"queryId":22,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[],"format":[]},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-query"><!-- wp:post-template {"className":"cat-position owl-carousel","style":{"spacing":{"blockGap":"0"},"typography":{"fontSize":"13px","fontStyle":"normal","fontWeight":"600"}},"layout":{"type":"grid","columnCount":3,"minimumColumnWidth":null}} -->
<!-- wp:columns {"align":"wide","className":"cat-column"} -->
<div class="wp-block-columns alignwide cat-column"><!-- wp:column {"width":"100px","className":"cat-img","style":{"border":{"radius":"8px"}},"backgroundColor":"border-color"} -->
<div class="wp-block-column cat-img has-border-color-background-color has-background" style="border-radius:8px;flex-basis:100px"><!-- wp:post-featured-image {"isLink":true,"className":"cat-img-box","style":{"border":{"radius":"8px"}}} /--></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"","className":"cat-content"} -->
<div class="wp-block-column is-vertically-aligned-center cat-content"><!-- wp:post-terms {"term":"category","className":"cat-category","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"12px","fontStyle":"normal","fontWeight":"600","textTransform":"capitalize"},"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}},"border":{"radius":"3px"}},"textColor":"primary"} /-->

<!-- wp:post-title {"level":5,"isLink":true,"className":"cat-title","style":{"elements":{"link":{"color":{"text":"#283941"}}},"color":{"text":"#283941"},"spacing":{"margin":{"top":"var:preset|spacing|20"}},"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":1.6}},"fontSize":"small"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"main-slider","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group main-slider" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"className":"sub-slider","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group sub-slider"><!-- wp:query {"queryId":22,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[],"format":[]},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-query"><!-- wp:post-template {"className":"slider-box owl-carousel","style":{"spacing":{"blockGap":"0"},"typography":{"fontSize":"13px","fontStyle":"normal","fontWeight":"600"},"border":{"radius":"15px"}},"layout":{"type":"grid","columnCount":1,"minimumColumnWidth":null}} -->
<!-- wp:group {"className":"test-position","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group test-position"><!-- wp:group {"className":"banner-img-height","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"border":{"radius":"15px"}},"backgroundColor":"border-color","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group banner-img-height has-border-color-background-color has-background" style="border-radius:15px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-featured-image {"isLink":true,"className":"slider-img","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0","left":"0","right":"0"}},"border":{"radius":"15px"}}} /-->

<!-- wp:post-terms {"term":"category","className":"slide-category","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"typography":{"fontSize":"12px","fontStyle":"normal","fontWeight":"600","textTransform":"capitalize"},"spacing":{"padding":{"top":"8px","bottom":"8px","left":"8px","right":"8px"}},"border":{"radius":"3px"}},"backgroundColor":"primary","textColor":"background"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"className":"slider-content","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group slider-content" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-title {"textAlign":"left","isLink":true,"className":"slider-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"margin":{"top":"var:preset|spacing|20"},"padding":{"top":"0","bottom":"0"}},"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":1.6,"fontSize":"22px"}},"textColor":"background","fontFamily":"ibm-plex-sans"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:avatar {"className":"slide-avatar"} /-->

<!-- wp:group {"className":"trending-author","style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group trending-author has-background-color has-text-color has-link-color" style="font-style:normal;font-weight:400"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}}} -->
<p style="font-style:normal;font-weight:400"><?php esc_html_e('By','magazine-blocks'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:post-author-name {"style":{"spacing":{"margin":{"top":"0","bottom":"0","left":"0","right":"0"},"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"typography":{"fontStyle":"normal","fontWeight":"400"}}} /--></div>
<!-- /wp:group -->

<!-- wp:post-date {"format":"d-m-Y","displayType":"modified","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->