<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Personal_Trainer
*/

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">

	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<?php do_action( 'wp_body_open' );  ?>

	<div id="page" class="site">
		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'personal-trainer' ); ?></a>

		<header id="masthead" class="site-header">
			<div class="site-header-main">
				<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>

				<?php get_template_part( 'template-parts/header/contact-info', 'top' ); ?>

				<?php get_template_part( 'template-parts/header/top', 'search' ); ?>

				<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
			</div> <!-- .site-header-main -->
		</header><!-- #masthead -->

		<div class="below-site-header">

			<div class="overlay"><span class="screen-reader-text"><?php esc_html_e( 'Overlay', 'personal-trainer' ); ?></span></div>

			<?php get_template_part( 'template-parts/slider/content', 'display' ); ?>

			<?php get_template_part( 'template-parts/header/header', 'media' ); ?>

			<?php get_template_part( 'template-parts/hero-content/content', 'hero' ); ?>

			<?php get_template_part( 'template-parts/services/content', 'display' ); ?>

			<?php
			if ( ! is_page_template( 'templates/page-about.php' ) ) {
				// We are removing it from about page because about page shows it in different place
				get_template_part( 'template-parts/professionals/display', 'professionals' );
			}
			?>

			<?php ! get_theme_mod( 'personaltrainer_featured_content_position' ) ? get_template_part( 'template-parts/featured-content/display', 'featured' ) : ''; ?>

			<?php ! get_theme_mod( 'personaltrainer_reservation_position' ) ? get_template_part( 'template-parts/reservation/display', 'reservation' ) : ''; ?>

			<?php ! get_theme_mod( 'personaltrainer_testimonial_position' ) ? get_template_part( 'template-parts/testimonials/content', 'display' ) : ''; ?>

			<div id="content" class="site-content<?php echo is_home() ? ' recent-blog' : '';?>"><!-- recent-blog class is enabled for posts page only -->
				<div class="wrapper">
