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

	$page_id = get_queried_object_id();

	$short_description = get_post_meta(
		$page_id,
		'short_description',
		true
	);
?>
<header class="g-2cc62e04" data-bs-automation="51b79a" data-test-metric="f4ac3784">
	<div class="g-b24e2866" id="elem-902329b711be34af">
		<div class="g-a40467c3" data-module-mode="edit" data-section-trigger="debd4ed571" data-widget-variant="outlined">
			<?php if ( has_post_thumbnail( $page_id ) ) : ?>
				<div class="g-095aa8e4" id="elem-353a6c3b07ea0cd6">
					<figure class="g-b40fa270 g-5bbf1cf1">
						<?php
							echo get_the_post_thumbnail(
								$page_id,
								'',
								[
									'loading' => 'eager',
								]
							);
						?>
					</figure>
				</div>
			<?php endif; ?>
			<div class="g-3d267996" data-analytics-dismiss="6a0485e214" data-component-theme="dark" data-analytics-goal="5f0a08f6629" data-widget-type="tertiary" data-element-state="success">
				<h1 class="g-fa2fa5c3 g-5e158376" id="elem-c6da6a20959e0c40">
					<?php echo esc_html( get_bloginfo( 'name' ) ); ?>
				</h1>
				<?php if ( ! empty( $short_description ) ) : ?>
					<div class="g-a6d4942a g-69390e68" data-bs-wrap="457b269ab" data-element-target="3445d2353eb" data-widget-content="0b1f26962">
						<?php echo esc_html( $short_description ); ?>
					</div>
				<?php endif; ?>
				<div class="g-f17bb01e" id="elem-f7cb0215121f4f71">
					<?php get_template_part( 'templates/searchform' ); ?>
				</div>
			</div>
		</div>
	</div>
</header>