<?php
/**
 * Title: Query List
 * Slug: absolute-2026/query-list
 * Description: Shared inherited result list for the theme's Home, Archive, Search, and Index templates.
 * Inserter: no
 * Template Types: home, archive, search, index
 */
?>

<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"className":"query-list"} -->
<div class="wp-block-query query-list"><!-- wp:post-template {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<!-- wp:group {"tagName":"article","className":"query-list__post has-reveal","style":{"border":{"top":{"color":"var:preset|color|border","style":"solid","width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|200","bottom":"var:preset|spacing|200"}}},"layout":{"type":"default"}} -->
<article class="wp-block-group query-list__post has-reveal" style="border-top-color:var(--wp--preset--color--border);border-top-style:solid;border-top-width:1px;padding-top:var(--wp--preset--spacing--200);padding-bottom:var(--wp--preset--spacing--200)"><!-- wp:group {"className":"query-list__post-content","style":{"spacing":{"blockGap":"var:preset|spacing|100"}},"layout":{"type":"constrained","contentSize":"1024px"}} -->
<div class="wp-block-group query-list__post-content"><!-- wp:post-title {"isLink":true,"level":2} /-->

<!-- wp:group {"className":"query-list__meta","style":{"spacing":{"blockGap":"var:preset|spacing|100"}},"textColor":"muted","fontSize":"abs-small","layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group query-list__meta has-muted-color has-text-color has-abs-small-font-size"><!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}}} /-->

<!-- wp:post-author-name /--></div>
<!-- /wp:group -->

<!-- wp:post-excerpt {"moreText":"Read more →"} /--></div>
<!-- /wp:group --></article>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:query-pagination {"style":{"border":{"top":{"color":"var:preset|color|border","style":"solid","width":"1px"},"bottom":{"color":"var:preset|color|border","style":"solid","width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|150","bottom":"var:preset|spacing|150"},"margin":{"top":"0"}}},"fontSize":"abs-small","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
<!-- wp:query-pagination-previous {"label":"← Previous"} /-->

<!-- wp:query-pagination-numbers /-->

<!-- wp:query-pagination-next {"label":"Next →"} /-->
<!-- /wp:query-pagination -->

<!-- wp:query-no-results -->
<!-- wp:group {"style":{"border":{"top":{"color":"var:preset|color|border","style":"solid","width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|200"}}},"layout":{"type":"constrained","contentSize":"640px","justifyContent":"left"}} -->
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--border);border-top-style:solid;border-top-width:1px;padding-top:var(--wp--preset--spacing--200)"><!-- wp:paragraph {"className":"is-style-lead"} -->
<p class="is-style-lead"><?php echo esc_html_x( 'No content was found.', 'Message shown when an inherited template query has no results', 'absolute-2026' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query -->
