<?php
/**
 * Title: Blogs
 * Slug: modern-bakery-shop/blogs
 * Categories: blogs
 * Block Types: core/template-part/blogs
 */

?>

<!-- wp:group {"className":"blogs-section","style":{"color":{"background":"#fff8f0"}},"layout":{"type":"constrained","contentSize":"85%"}} -->
<div class="wp-block-group blogs-section has-background" style="background-color:#fff8f0"><!-- wp:heading {"textAlign":"center","level":4,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"}},"textColor":"primary","fontFamily":"inter"} -->
<h4 class="wp-block-heading has-text-align-center has-primary-color has-text-color has-link-color has-inter-font-family" style="font-size:20px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Our Blogs','modern-bakery-shop'); ?></h4>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","className":"cake-subheading","style":{"typography":{"textTransform":"capitalize","fontSize":"40px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"bottom":"40px","top":"0px"}}},"textColor":"contrast","fontFamily":"kaushan-script"} -->
<p class="has-text-align-center cake-subheading has-contrast-color has-text-color has-link-color has-kaushan-script-font-family" style="margin-top:0px;margin-bottom:40px;font-size:40px;font-style:normal;font-weight:400;text-transform:capitalize"><?php esc_html_e('Our Recent News','modern-bakery-shop'); ?> &amp; <?php esc_html_e('Blogs','modern-bakery-shop'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:query {"queryId":40,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-medium-posts","name":"Image at left"},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template -->
<!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"66.66%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:66.66%"><!-- wp:group {"style":{"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}},"dimensions":{"minHeight":"350px"}},"backgroundColor":"secondary-third","layout":{"type":"default"}} -->
<div class="wp-block-group has-secondary-third-background-color has-background" style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;min-height:350px"><!-- wp:post-featured-image {"isLink":true,"height":"350px","sizeSlug":"full","style":{"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"33.33%","className":"blog-box-single"} -->
<div class="wp-block-column is-vertically-aligned-center blog-box-single" style="flex-basis:33.33%"><!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontFamily":"inter"} /-->

<!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"26px","textTransform":"capitalize","lineHeight":"1.5"},"spacing":{"margin":{"top":"10px","bottom":"10px"}}},"fontFamily":"kaushan-script"} /-->

<!-- wp:post-excerpt {"moreText":"Read More","style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"color":{"text":"#757575"},"elements":{"link":{"color":{"text":"#757575"}}},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"fontFamily":"inter"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->