<?php
/**
 * Title: Blog Post
 * Slug: swp-painting/blog-post
 * Categories: posts, swp-painting
 * Description: Latest posts grid with date badge, category and read-more.
 */
?>
<!-- wp:group {"metadata":{"patternName":"swp-painting/blog-post","name":"Blog Post","description":"Latest posts grid with date badge, category and read-more.","categories":["posts","swp-painting"]},"className":"swp-parent-container-1 swp-blog","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"light-background","layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group swp-parent-container-1 swp-blog has-light-background-background-color has-background" style="margin-top:0;margin-bottom:0"><!-- wp:columns {"verticalAlignment":"bottom","style":{"spacing":{"blockGap":{"left":"24px"},"margin":{"bottom":"12px"}}}} -->
<div class="wp-block-columns are-vertically-aligned-bottom" style="margin-bottom:12px"><!-- wp:column {"verticalAlignment":"bottom","width":"86%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:86%"><!-- wp:heading {"level":6,"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-deep"}}}},"textColor":"accent-deep","fontSize":"subtitle"} -->
<h6 class="wp-block-heading has-accent-deep-color has-text-color has-link-color has-subtitle-font-size">● From the journal</h6>
<!-- /wp:heading -->

<!-- wp:heading {"style":{"spacing":{"margin":{"top":"14px"}}},"fontSize":"h2"} -->
<h2 class="wp-block-heading has-h-2-font-size" style="margin-top:14px">Read our latest <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">blogs</mark></h2>
<!-- /wp:heading --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"bottom","width":"14%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:14%"><!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-buttons"><!-- wp:button {"className":"swp-btn-ghost"} -->
<div class="wp-block-button swp-btn-ghost"><a class="wp-block-button__link wp-element-button" href="#">View all posts</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

<!-- wp:query {"queryId":8,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-grid-posts","name":"Grid"},"layout":{"type":"default"}} -->
<div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"margin":{"top":"48px","bottom":"0"},"blockGap":"24px"}},"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:group {"className":"swp-blog-card","style":{"border":{"color":"#17130f14","width":"1px","radius":"18px"},"spacing":{"padding":"0","blockGap":"0"}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-group swp-blog-card has-border-color has-white-background-color has-background" style="border-color:#17130f14;border-width:1px;border-radius:18px;padding:0"><!-- wp:group {"className":"swp-blog-thumb","style":{"spacing":{"padding":"0","blockGap":"0"}}} -->
<div class="wp-block-group swp-blog-thumb" style="padding:0"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"16/10"} /-->

<!-- wp:post-date {"format":"j M","metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"className":"swp-blog-date","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontStyle":"normal","fontWeight":"800"}},"textColor":"white","fontFamily":"archivo"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"24px","bottom":"26px","left":"24px","right":"24px"},"blockGap":"12px"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group" style="padding-top:24px;padding-right:24px;padding-bottom:26px;padding-left:24px"><!-- wp:post-terms {"term":"category","className":"swp-blog-tags","style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-deep"}}},"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase","letterSpacing":"0.06em"}},"textColor":"accent-deep","fontSize":"subtitle","fontFamily":"archivo"} /-->

<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading"}}},"typography":{"lineHeight":"1.2","fontStyle":"normal","fontWeight":"700"}},"textColor":"heading","fontSize":"h4"} /-->

<!-- wp:read-more {"content":"Read article →","className":"swp-blog-more","style":{"typography":{"textTransform":"uppercase","letterSpacing":"0.08em","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|accent-deep"}}},"spacing":{"margin":{"top":"20px"}}},"textColor":"accent-deep","fontSize":"subtitle","fontFamily":"archivo"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->