<?php
/**
 * Title: Blogs
 * Slug: psychology-and-wellness/blogs
 * Categories: blogs
 * Block Types: core/template-part/blogs
 */

?>

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"className":"blogs-section","style":{"spacing":{"padding":{"right":"0px","left":"0px","top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group blogs-section" style="padding-top:0;padding-right:0px;padding-bottom:0;padding-left:0px">
    <!-- wp:group {"className":"blogs-head-box","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
    <div class="wp-block-group blogs-head-box">
        <!-- wp:heading {"className":"blog-sec-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"30px","textTransform":"none","fontStyle":"normal","fontWeight":"600","textAlign":"center"}},"textColor":"contrast"} -->
        <h2 class="wp-block-heading has-text-align-center blog-sec-title has-contrast-color has-text-color has-link-color"
            style="font-size:30px;font-style:normal;font-weight:600;text-transform:none">
            <?php esc_html_e('Latest Blogs & News', 'psychology-and-wellness'); ?></h2>
        <!-- /wp:heading -->

        <!-- wp:buttons {"className":"blog-sec-btn"} -->
        <div class="wp-block-buttons blog-sec-btn">
            <!-- wp:button {"backgroundColor":"primary","textColor":"base","style":{"spacing":{"padding":{"left":"20px","right":"20px","top":"5px","bottom":"5px"}},"typography":{"fontSize":"15px","textTransform":"uppercase"},"border":{"radius":{"topLeft":"20px","topRight":"20px","bottomLeft":"20px","bottomRight":"20px"}},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"fontFamily":"oswald"} -->
            <div class="wp-block-button"><a
                    class="wp-block-button__link has-base-color has-primary-background-color has-text-color has-background has-link-color has-oswald-font-family has-custom-font-size wp-element-button"
                    href="#"
                    style="border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;padding-top:5px;padding-right:20px;padding-bottom:5px;padding-left:20px;font-size:15px;text-transform:uppercase">
                    <?php esc_html_e('View All', 'psychology-and-wellness'); ?>
                </a></div>
            <!-- /wp:button -->
        </div>
        <!-- /wp:buttons -->
    </div>
    <!-- /wp:group -->

    <!-- wp:query {"queryId":22,"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-standard-posts","name":"Standard"},"className":"blogs-btm-box"} -->
    <div class="wp-block-query blogs-btm-box">
        <!-- wp:post-template {"className":"blog-boxes","style":{"typography":{"fontSize":"15px"}},"layout":{"type":"grid","columnCount":3}} -->
        <!-- wp:group {"className":"blog-img-box-main","style":{"border":{"width":"1px","color":"#var(--wp--preset--color--primary)","radius":{"topLeft":"20px","topRight":"20px","bottomLeft":"20px","bottomRight":"20px"}},"shadow":"var:preset|shadow|natural","spacing":{"padding":{"top":"10px","right":"10px","bottom":"10px","left":"10px"}}},"layout":{"type":"default"}} -->
        <div class="wp-block-group has-border-color blog-img-box-main"
            style="border-color:#var(--wp--preset--color--primary);border-width:1px;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;box-shadow:var(--wp--preset--shadow--natural)">
            <!-- wp:group {"align":"wide","className":"blog-img-box","style":{"dimensions":{"minHeight":"300px"},"color":{"background":"#aeaeae"},"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}},"layout":{"type":"constrained"}} -->
            <div class="wp-block-group alignwide blog-img-box has-background"
                style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;background-color:#aeaeae;min-height:300px">
                <!-- wp:post-featured-image {"isLink":true,"sizeSlug":"full","align":"wide","className":"blog-sec-img","style":{"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}}} /-->
            </div>
            <!-- /wp:group -->

            <!-- wp:group {"style":{"spacing":{"padding":{"top":"20px","bottom":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
            <div class="wp-block-group" style="padding-top:20px;padding-bottom:0px">
                <!-- wp:post-date {"datetime":"2026-05-11T04:48:11.976Z","style":{"color":{"text":"#494a48"},"elements":{"link":{"color":{"text":"#494a48"}}}}} /-->

                <!-- wp:post-author {"showAvatar":false,"style":{"color":{"text":"#494a48"},"elements":{"link":{"color":{"text":"#494a48"}}}}} /-->
            </div>
            <!-- /wp:group -->

            <!-- wp:post-title {"level":3,"isLink":true,"className":"blog-sec-title","style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"5px","bottom":"5px"}}},"textColor":"contrast"} /-->

            <!-- wp:post-excerpt {"moreText":"continue reading","excerptLength":15,"className":"blog-sec-desc","style":{"typography":{"fontSize":"14px"},"elements":{"link":{"color":{"text":"#494a48"}}},"color":{"text":"#494a48"},"spacing":{"margin":{"top":"0","bottom":"0"}}}} /-->
        </div>
        <!-- /wp:group -->
        <!-- /wp:post-template -->
    </div>
    <!-- /wp:query -->

    <!-- wp:spacer {"height":"40px"} -->
    <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
    <!-- /wp:spacer -->
</div>
<!-- /wp:group -->