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

	$page_id = get_queried_object_id();

	$short_description = get_post_meta(
		$page_id,
		'short_description',
		true
	);
?>
<header class="g-4e33ed4d" data-mui-component="13f9fb3" data-test-label="b92d9e228dc" data-component-target="5f9f16" data-test-color="error" data-block-theme="dark">
	<div class="g-fdc4b4e9" id="elem-8bbb9bc5fb0e1fba">
		<div class="g-9b11682c" data-mui-label="870017a3227c" data-test-unit="e017cba60" data-analytics-automation="e1b4007cdaa" data-mui-expanded="2028da8a">
			<?php if ( has_post_thumbnail( $page_id ) ) : ?>
				<div class="g-99d930f9" id="elem-3a23d71004402708">
					<figure class="g-3afe7304 g-4b68b70b">
						<?php
							echo get_the_post_thumbnail(
								$page_id,
								'',
								[
									'loading' => 'eager',
								]
							);
						?>
					</figure>
				</div>
			<?php endif; ?>
			<div class="g-44562c26" data-widget-size="xl" data-block-state="success" data-module-trigger="8c47fd5e6659" data-bs-track="a399d4">
				<h1 class="g-0d030b91 g-e073ab23" id="elem-783066f1826ce908">
					<?php echo esc_html( get_bloginfo( 'name' ) ); ?>
				</h1>
				<?php if ( ! empty( $short_description ) ) : ?>
					<div class="g-644370a0 g-175a508b" data-widget-layout="f7170ab0" data-widget-group="cd61dbff07f3" data-test-loading="d59c5cf311b3">
						<?php echo esc_html( $short_description ); ?>
					</div>
				<?php endif; ?>
				<div class="g-7c720bce" id="elem-8547a47194fd0786">
					<?php get_template_part( 'templates/searchform' ); ?>
				</div>
			</div>
		</div>
	</div>
</header>