<!--[archive/header/category]-->

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

        <div class="mb-4 position-relative">

            <?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 12 ]) ?>

        </div>

    <?php endif; ?>

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

        <?php

            $term_id = get_current_page_main_taxonomy_term_id( );

            $color = get_term_meta( $term_id, "color", true );

            $color = $color ? $color : "grey";

        ?>

    <div class="col-12 col-md-6 col-xl-4 float-left">

        <div class="section__title section__title--<?= $color ?> d-block d-md-none mb-3">

            <?= get_term( get_queried_object_id() )->name ?>

        </div>

    </div>
    <?php else : ?>

    <div class="col-12 col-md-6 col-xl-4 float-left">

            <?= str_replace("<p></p>", "", term_description( get_queried_object()->term_id )); ?>

    </div>

    <?php endif; ?>

<!--[/archive/header/category]-->