<?php
	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	$category = get_queried_object();

	$icon              = '';
	$short_description = '';

	if ( $category instanceof WP_Term ) {
		$icon              = get_term_meta( $category->term_id, 'icon', true );
		$short_description = term_description( $category->term_id, 'category' );
	}
?>
<div class="g-fdc4b4e9" data-test-wrap="efda784ec8" data-bs-qa="c6d45606" data-module-variant="filled" data-bs-action="click" data-block-action="focus">
<header class="g-787117dd" data-block-type="link" data-block-layout="c1836dcea2c" data-element-animation="slide">
	<div class="g-f7c09c01" id="elem-80eb951c7d861a5c">
		<?php if ( ! empty( $icon ) ) : ?>
			<div class="g-eda1c9a7 g-e073ab23" aria-hidden="true" data-widget-handler="0e83ae8fb" data-test-mock="3b8b624" data-section-handler="28aef2" data-bs-automation="351bd276f25f">
				<?php echo esc_html( $icon ); ?>
			</div>
		<?php endif; ?>
		<h1 class="g-50c596dc g-e073ab23" id="elem-232e838944839b03">
			<?php single_cat_title(); ?>
		</h1>
	</div>
	<?php if ( ! empty( $short_description ) ) : ?>
		<div class="g-ed3d01e8 g-175a508b" data-element-role="content" data-section-state="success">
			<?php echo wp_kses_post( wpautop( $short_description ) ); ?>
		</div>
	<?php endif; ?>
</header>
</div>