<!--[nav/header-nav]-->

<div class="container-fluid clearfix position-relative">

    <div class="row">

        <?php if(!wp_is_mobile()) : ?>

            <div class="col-12">

                <?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 14, "show_on_mobile" => false ]); ?>
                
            </div>

        <?php endif; ?>

        <div class="col-12 col-md-4 col-lg-5 col-xl-6">

            <div class="d-flex justify-content-between justify-content-lg-start align-items-center">

                <div class="d-flex flex-row d-md-block position-relative">

                    <div class="d-block d-md-none">

                        <input class="toggle-menu" type="checkbox" name="toggle" id="menuM" aria-label="Меню" />

                        <label class="toggle-menu background_checked" for="menuM">

                            <span></span>

                        </label>

                        <div class="burger">

                            <?php get_template_part("template-parts/nav/header-nav-burger", "", [ "type" => "M" ]) ?>

                            <?php get_template_part("template-parts/header/header-social-networks-mobile") ?>

                        </div>

                    </div>

                    <div class="d-flex flex-column d-md-block justify-content-center logo-height">

                        <?php get_template_part("template-parts/header/header-logo") ?>

                    </div>

                </div>

                <?php if ( is_single() or is_author() ) :?>
                    <div class="header__title header__title--black font-weight-bold m-0 ml-5">
                        <?php get_template_part("template-parts/header/category-name") ?>
                    </div>
                <?php else:?>    
                    <h1 class="header__title header__title--black font-weight-bold m-0 ml-5">
                        <?php //get_template_part("template-parts/header/category-name") ?>
                    </h1>
                <?php endif?>    

                <div class="d-md-none">

                    <a class="nav-link nav-link--feedback" href="/news">

                        Новости

                    </a>

                </div>

            </div>

        </div>

        <div class="col-12 order-xs-12 col-md-12 order-0 order-md-12">

            <div id="sticky-wrapper" class="sticky-wrapper position-relative">

                <div class="header__nav__stick stick js-stick-header js-is-sticky sticky-element-is-a-child-of-parent d-none d-md-block">
                   

                    <div class="header__nav header__nav--index clearfix">

                        <div class="float-xs-none float-md-left">

                            <ul class="nav d-block d-md-flex align-items-center">

                                <li class="nav-item">

                                    <input type="checkbox" class="toggle-menu__check" id="menuD" aria-label="Меню">

                                    <label class="toggle-menu" for="menuD">

                                        <span></span>

                                    </label>

                                    <div class="burger">

                                        <?php get_template_part("template-parts/nav/header-nav-burger", "", [ "type" => "D" ]) ?>

                                    </div>

                                </li>

                                <div class="logo-stick"><a href="https://profile.ru"><img src="https://cdn.profile.ru/wp-content/themes/profile/assets/img/profile-logo-delovoy.svg"></a></div>

                                <?php get_template_part("template-parts/nav/header-nav-main") ?>

                            </ul>

                        </div>

                        <div class="float-xs-none float-md-right d-block d-md-flex"></div>

                    </div>

                </div>

            </div>

        </div>

        <div class="col-12 col-md-8 col-lg-7 col-xl-6">

            <?php get_template_part("template-parts/header/header-social-networks") ?>

        </div>

    </div>

</div>

<!--[/nav/header-nav]-->