<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<?php
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis

/**
 * Category view template
 *
 * @var $block \Magento\Catalog\Block\Category\View
 */
use Magento\Framework\Escaper;
/** @var Escaper $escaper */
?>
<div class="hidden md:block">
    <div class="mb-3 text-black text-2xl tracking-custom2 uppercase leading-6 font-bold">
        <?=
           $escaper->escapeHtml($block->getCurrentCategory()->getName());
        ?>
    </div>
<?php if ($_description = $block->getCurrentCategory()->getDescription()) :?>
    <div class="category-description max-w-full text-justify">
        <?= /* @noEscape */ $this->helper(Magento\Catalog\Helper\Output::class)->categoryAttribute(
            $block->getCurrentCategory(),
            $_description,
            'description'
        ) ?>
    </div>
<?php endif; ?>
</div>
