<?php
/**
 * The header for our theme
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package Magazine Style
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> data-bs-theme="auto">
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<?php endif; ?>
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?> <?php magazinestyle_body_attributes(); magazinestyle_do_schema( 'html' ); ?>>
<?php do_action( 'wp_body_open' ); ?>
<?php wp_body_open(); ?>
<?php
	$headerstyle = get_theme_mod('magazinestyle_header_style', 'stylefive'); ?>
<div class="site <?php echo esc_attr( $headerstyle ); ?>-header" id="page">	
<!-- ******************* The Navbar Area ******************* -->
	
<header><?php get_template_part( 'layouts/header/layout', $headerstyle ); ?></header>
<div class="container">
	<?php do_action('magazinestyle_after_header');
	get_template_part( 'inc/run', 'down' ); 
	get_template_part( 'sidebar-templates/sidebar', 'below' );