<?php if (!defined('ABSPATH')) { exit; } ?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>

<header class="bp-header">
    <div class="bp-shell bp-header-inner">
        <a class="bp-brand" href="<?php echo esc_url(home_url('/')); ?>">
            <?php echo esc_html(get_bloginfo('name')); ?>
        </a>
        <nav class="bp-nav" aria-label="Main categories">
            <?php foreach (backpro_news_parent_categories() as $cat): ?>
                <a href="<?php echo esc_url(get_category_link($cat)); ?>">
                    <?php echo esc_html($cat->name); ?>
                </a>
            <?php endforeach; ?>
        </nav>
    </div>
</header>

<main class="bp-main">
    <div class="bp-shell">

