{{# @name Magician's Corner (Blog Index) @desc Articles and event insights with taxonomy filters and optional bottom CMS blocks #}}
{{# 1. Page Header #}}
{{ functional_page_headers:blog_kicker ?? kicker ?? 'INSIGHTS & STORIES' }}

{{ (functional_page_headers:blog_page_title ?? title ?? "Magician's Corner") | title_flourish }}

{{ functional_page_headers:blog_strapline ?? strapline ?? 'Event entertainment advice, behind-the-scenes stories, and close-up magic insights from Rick Naylor.' }}

{{# Category Filter Buttons #}}
{{# 2. Articles Grid #}}
{{ collection:posts sort="date:desc" }}
{{ if featured_image }} {{ featured_image:alt ?? title }} {{ else }}
♣ Magician’s Corner
{{ /if }} {{ if post_categories }}
{{ post_categories }} {{ title }} {{ /post_categories }}
{{ /if }}

{{ title }}

{{ /collection:posts }}
{{# 3. Flexible Bottom CMS Blocks #}} {{ if page_builder }}
{{ page_builder scope="block" }} {{ partial src="page_builder/{type}" }} {{ /page_builder }}
{{ /if }}