<?php
/**
 * The template for displaying the header layout type 2
 *
 * @package Kandinsky
 */

?>

<header class="knd-header">
	<div class="knd-container-fluid">
		<div class="knd-header__inner knd-header__inner-desktop">
			<div class="knd-header__col knd-col-left">
				<?php knd_header_logo(); ?>
			</div>
			<div class="knd-header__col knd-col-right">
				<?php
					knd_header_nav_menu();
					if ( get_theme_mod( 'header_social' ) ) {
						knd_social_links();
					}
					knd_search_toggle();
					knd_header_additional_button();
					knd_header_button();
					knd_language_switcher();
					knd_offcanvas_toggle( get_theme_mod( 'header_offcanvas', true ) );
				?>
			</div>
		</div>
		<?php get_template_part( 'template-parts/navbar-mobile' ); ?>
	</div>
	<?php
		knd_header_search();
		get_template_part( 'template-parts/offcanvas' );
	?>
</header>
