<?php

/**
 * Title: Featured Articles
 * Slug: sophia/featured-articles
 * Categories: sophia, page
 */
?>

<!-- wp:group {"metadata":{"categories":["sophia","page"],"patternName":"sophia/featured-articles","name":"Featured Articles"},"align":"full","className":"wp-block-section wp-block-featured-articles","backgroundColor":"body-background","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull wp-block-section wp-block-featured-articles has-body-background-background-color has-background">
    <!-- wp:group {"align":"wide","className":"wp-block-group-heading","style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|60"}}}} -->
    <div class="wp-block-group alignwide wp-block-group-heading" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:heading {"textAlign":"center","style":{"typography":{"textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"}},"fontSize":"post-title","fontFamily":"switzer"} -->
        <h2 class="wp-block-heading has-text-align-center has-switzer-font-family has-post-title-font-size" style="font-style:normal;font-weight:500;text-transform:capitalize"><?php echo esc_html__( 'Featured Articles', 'sophia-lite' ); ?></h2>
        <!-- /wp:heading -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"align":"wide","className":"wp-block-group-content"} -->
    <div class="wp-block-group alignwide wp-block-group-content">
        <!-- wp:query {"queryId":11,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"include","inherit":false,"parents":[]},"metadata":{"categories":["sophia","posts"],"patternName":"sophia/archive","name":"List of posts - Archive"},"align":"wide","layout":{"type":"constrained"}} -->
        <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":3,"minimumColumnWidth":null}} -->
            <!-- wp:group {"className":"wp-block-post-group","style":{"border":{"radius":"10px"}},"layout":{"type":"default"}} -->
            <div class="wp-block-group wp-block-post-group" style="border-radius:10px"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2"} /-->

                <!-- wp:group {"className":"wp-block-entry-content","style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"background","layout":{"type":"default"}} -->
                <div class="wp-block-group wp-block-entry-content has-background-background-color has-background" style="margin-top:0;margin-bottom:0"><!-- wp:group {"layout":{"type":"default"}} -->
                    <div class="wp-block-group">

                        <!-- wp:post-title {"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}},"fontSize":"post-title","fontFamily":"switzer"} /-->

                        <!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":18,"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->

                        <!-- wp:group {"className":"wp-block-post-meta","layout":{"type":"flex","flexWrap":"wrap"}} -->
                        <div class="wp-block-group wp-block-post-meta"><!-- wp:post-author {"showAvatar":false,"isLink":true} /--></div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:group -->
            </div>
            <!-- /wp:group -->
            <!-- /wp:post-template -->
        </div>
        <!-- /wp:query -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->