
    <header class="healthedia-global-header">
        <div class="healthedia-header-container">
            <!-- Left-aligned Logo & Nav Group -->
            <div class="healthedia-header-left-group">
                <a href="https://healthedia.org/" class="healthedia-logo-group">
                    <span class="healthedia-logo-title">Healthedia</span>
                    <span class="healthedia-logo-sub">GLOBAL HEALTH ARCHIVE</span>
                </a>

                <!-- Desktop Navigation Links -->
                <nav class="healthedia-nav">
                    <a href="https://healthedia.org/healthedia-search/" class="healthedia-nav-item ">Archive Search</a><a href="https://healthedia.org/healthedia-dashboard/" class="healthedia-nav-item ">Researchers</a><a href="#" class="healthedia-nav-item ">Institutions</a><a href="#" class="healthedia-nav-item ">Scientific Journal</a>
                </nav>

                <!-- Mobile Dropdown Navigation Trigger -->
                <div class="healthedia-mobile-nav-trigger-container" id="healthedia-mobile-trigger-container">
                    <button class="healthedia-mobile-menu-btn" id="mobile-menu-toggle-btn">
                        <span>MENU</span>
                        <svg class="healthedia-dropdown-chevron" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3"><polyline points="6 9 12 15 18 9"></polyline></svg>
                    </button>
                    <div class="healthedia-mobile-dropdown-menu" id="mobile-dropdown-menu-list">
                        <a href="https://healthedia.org/healthedia-search/" class="healthedia-nav-item ">Archive Search</a><a href="https://healthedia.org/healthedia-dashboard/" class="healthedia-nav-item ">Researchers</a><a href="#" class="healthedia-nav-item ">Institutions</a><a href="#" class="healthedia-nav-item ">Scientific Journal</a>
                    </div>
                </div>
            </div>

            <!-- Right-aligned Authentication Area -->
            <div class="healthedia-auth-btn-wrapper">
                <a href="https://healthedia.org/healthedia-auth/" class="healthedia-btn-login">LOGIN</a>
            </div>
        </div>
    </header>

    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

        :root {
            --healthedia-font: 'Inter', system-ui, -apple-system, sans-serif;
            --healthedia-black: #000000;
            --healthedia-white: #ffffff;
            --healthedia-grey: #666666;
            --healthedia-light-grey: #f7f7f7;
            --healthedia-border: #e5e5e5;
        }

        .healthedia-global-header {
            width: 100%;
            max-width: 1400px;
            margin: 20px auto;
            padding: 0 20px;
            box-sizing: border-box;
            font-family: var(--healthedia-font);
        }

        .healthedia-header-container {
            background: var(--healthedia-white);
            border: 1px solid var(--healthedia-border);
            border-radius: 50px;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
            box-sizing: border-box;
            height: 60px; /* Reduced from 70px for a more compact and elegant profile */
        }

        .healthedia-header-left-group {
            display: flex;
            align-items: center;
            gap: 40px; /* Positions navigation items directly to the right of the logo with consistent spacing */
        }

        .healthedia-logo-group {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--healthedia-black);
            line-height: 1.1;
        }

        .healthedia-logo-title {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .healthedia-logo-sub {
            font-size: 8px;
            font-weight: 700;
            color: #999999;
            letter-spacing: 1.5px;
            margin-top: 2px;
        }

        .healthedia-nav {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .healthedia-nav-item {
            text-decoration: none;
            color: var(--healthedia-grey);
            font-size: 14px;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 30px;
            transition: all 0.2s ease;
        }

        .healthedia-nav-item:hover {
            color: var(--healthedia-black);
        }

        .healthedia-nav-item.active {
            background: var(--healthedia-black);
            color: var(--healthedia-white) !important;
        }

        .healthedia-btn-login {
            background: var(--healthedia-black);
            color: var(--healthedia-white);
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            padding: 10px 28px;
            border-radius: 30px;
            letter-spacing: 1px;
            transition: transform 0.2s ease, opacity 0.2s ease;
            display: inline-block;
        }

        .healthedia-btn-login:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        /* User Dropdown Premium Styling */
        .healthedia-user-dropdown-container {
            position: relative;
            display: inline-block;
        }

        .healthedia-dropdown-trigger {
            background: none;
            border: 1px solid var(--healthedia-border);
            border-radius: 30px;
            padding: 4px 14px 4px 6px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .healthedia-dropdown-trigger:hover {
            border-color: var(--healthedia-black);
            background-color: #fafafa;
        }

        .healthedia-header-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: var(--healthedia-black);
            color: var(--healthedia-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 12px;
        }

        .healthedia-header-user-name {
            font-size: 13px;
            font-weight: 600;
            color: #333333;
        }

        .healthedia-dropdown-chevron {
            color: #888888;
            transition: transform 0.2s ease;
        }

        .healthedia-user-dropdown-container.open .healthedia-dropdown-chevron {
            transform: rotate(180deg);
        }

        .healthedia-dropdown-menu {
            display: none;
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            background: #ffffff !important; /* Robust solid white background */
            border: 1px solid var(--healthedia-border);
            border-radius: 16px;
            width: 220px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            padding: 12px;
            box-sizing: border-box;
            z-index: 10000;
            animation: dropdownFadeIn 0.2s ease;
        }

        .healthedia-user-dropdown-container.open .healthedia-dropdown-menu {
            display: block;
        }

        @keyframes dropdownFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .healthedia-dropdown-header {
            padding: 4px 8px 10px 8px;
            text-align: left;
        }

        .healthedia-dropdown-welcome {
            font-size: 11px;
            font-weight: 700;
            color: #999999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .healthedia-dropdown-user-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--healthedia-black);
            margin-top: 2px;
        }

        .healthedia-dropdown-divider {
            border: 0;
            border-top: 1px solid var(--healthedia-border);
            margin: 6px 0;
        }

        .healthedia-dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            font-size: 13px;
            font-weight: 600;
            color: #555555;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            text-align: left;
        }

        .healthedia-dropdown-item:hover {
            background-color: #f5f5f5;
            color: var(--healthedia-black);
        }

        .healthedia-dropdown-item.healthedia-logout-btn {
            color: #bf271b;
        }

        .healthedia-dropdown-item.healthedia-logout-btn:hover {
            background-color: #fbeae9;
            color: #bf271b;
        }

        /* Desktop specific mobile menu display reset */
        .healthedia-mobile-nav-trigger-container {
            display: none;
        }

        /* Mobile layout optimization */
        @media (max-width: 768px) {
            .healthedia-header-container {
                border-radius: 20px;
                height: 60px;
                padding: 12px 16px;
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
            }
            .healthedia-header-left-group {
                display: flex !important;
                align-items: center !important;
                gap: 12px !important;
            }
            .healthedia-nav {
                display: none !important; /* Hide desktop linear navigation menu completely */
            }

            /* Mobile Navigation Dropdown */
            .healthedia-mobile-nav-trigger-container {
                display: inline-block !important;
                position: relative;
            }
            .healthedia-mobile-menu-btn {
                background: none;
                border: 1px solid var(--healthedia-border);
                border-radius: 20px;
                padding: 6px 14px;
                font-size: 11px;
                font-weight: 700;
                color: var(--healthedia-black);
                display: flex;
                align-items: center;
                gap: 6px;
                cursor: pointer;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            .healthedia-mobile-menu-btn:hover {
                border-color: var(--healthedia-black);
            }
            .healthedia-mobile-dropdown-menu {
                display: none;
                position: absolute;
                left: 0;
                top: calc(100% + 8px);
                background-color: #ffffff !important; /* Force solid white background */
                background: #ffffff !important;
                border: 1px solid var(--healthedia-border) !important;
                border-radius: 12px;
                width: 180px;
                box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
                padding: 8px;
                box-sizing: border-box;
                z-index: 100000 !important; /* Ensure it floats above background content */
                animation: mobileDropdownFadeIn 0.2s ease;
            }
            .healthedia-mobile-nav-trigger-container.open .healthedia-mobile-dropdown-menu {
                display: block !important;
            }
            @keyframes mobileDropdownFadeIn {
                from { opacity: 0; transform: translateY(6px); }
                to { opacity: 1; transform: translateY(0); }
            }
            .healthedia-mobile-dropdown-menu .healthedia-nav-item {
                display: block !important;
                padding: 10px 14px !important;
                font-size: 13px !important;
                font-weight: 600 !important;
                color: var(--healthedia-grey) !important;
                text-decoration: none !important;
                border-radius: 8px !important;
                transition: all 0.2s ease !important;
                text-align: left !important;
                background: none !important;
            }
            .healthedia-mobile-dropdown-menu .healthedia-nav-item:hover,
            .healthedia-mobile-dropdown-menu .healthedia-nav-item.active {
                background-color: var(--healthedia-light-grey) !important;
                color: var(--healthedia-black) !important;
            }

            .healthedia-btn-login {
                padding: 8px 18px;
                font-size: 12px;
            }
            .healthedia-dropdown-trigger {
                padding: 4px 10px 4px 4px;
                gap: 6px;
            }
            .healthedia-header-avatar {
                width: 28px;
                height: 28px;
                font-size: 10px;
            }
            .healthedia-header-user-name {
                font-size: 11px;
            }
            .healthedia-dropdown-menu {
                width: 180px;
                top: calc(100% + 6px);
            }
        }
    </style>

    <script id="healthedia-header-script">
        document.addEventListener('DOMContentLoaded', function() {
            // Deskop user profile dropdown
            const dropdownContainer = document.getElementById('healthedia-header-dropdown');
            const dropdownBtn = document.getElementById('header-user-dropdown-btn');

            if (dropdownBtn && dropdownContainer) {
                dropdownBtn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    dropdownContainer.classList.toggle('open');
                });

                document.addEventListener('click', function(e) {
                    if (!dropdownContainer.contains(e.target)) {
                        dropdownContainer.classList.remove('open');
                    }
                });
            }

            // Mobile menu navigation dropdown
            const mobileTrigger = document.getElementById('healthedia-mobile-trigger-container');
            const mobileBtn = document.getElementById('mobile-menu-toggle-btn');

            if (mobileBtn && mobileTrigger) {
                mobileBtn.addEventListener('click', function(e) {
                    e.stopPropagation();
                    mobileTrigger.classList.toggle('open');
                });

                document.addEventListener('click', function(e) {
                    if (!mobileTrigger.contains(e.target)) {
                        mobileTrigger.classList.remove('open');
                    }
                });
            }
        });
    </script>
    
    <style id="healthedia-override-css">
        /* Hide theme default headers and footers completely, excluding Healthedia custom elements */
        header:not(.healthedia-global-header),
        footer:not(.healthedia-global-footer),
        .site-header, .site-footer,
        #masthead, #colophon,
        .ast-primary-header-bar, .ast-theme-transparent-header,
        .site-footer-width, .main-header-bar, .ast-footer-builder-area,
        .ast-header-bar-wrap, .ast-footer-copyright,
        .theme-default-header, .theme-default-footer {
            display: none !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            opacity: 0 !important;
            visibility: hidden !important;
        }
        body {
            margin: 0 !important;
            padding: 0 !important;
            background: #ffffff !important;
        }
    </style>
    <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://healthedia.org/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://healthedia.org/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://healthedia.org/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://healthedia.org/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://healthedia.org/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://healthedia.org/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>

    <footer class="healthedia-global-footer">
        <div class="healthedia-footer-container">
            <div class="healthedia-footer-copyright">
                © 2026 Healthedia. All Rights Reserved. Permanent Open-Access Repository.
            </div>
            <div class="healthedia-footer-links">
                <a href="/privacy-policy" class="healthedia-footer-link">Privacy Policy</a><span class="healthedia-footer-dot"></span><a href="#" class="healthedia-footer-link">Terms &amp; Conditions</a><span class="healthedia-footer-dot"></span><a href="#" class="healthedia-footer-link">Publication Policies</a><span class="healthedia-footer-dot"></span><a href="#" class="healthedia-footer-link">Certificate Verification</a><span class="healthedia-footer-dot"></span><a href="#" class="healthedia-footer-link">Support</a>
            </div>
        </div>
    </footer>

    <style>
        .healthedia-global-footer {
            width: 100%;
            max-width: 1400px;
            margin: 40px auto 20px auto;
            padding: 0 20px;
            box-sizing: border-box;
            font-family: var(--healthedia-font);
        }

        .healthedia-footer-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--healthedia-border);
            padding-top: 24px;
            flex-wrap: wrap;
            gap: 16px;
        }

        .healthedia-footer-copyright {
            font-size: 13px;
            color: #999999;
            font-weight: 500;
        }

        .healthedia-footer-links {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .healthedia-footer-link {
            text-decoration: none;
            font-size: 13px;
            color: #666666;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .healthedia-footer-link:hover {
            color: var(--healthedia-black);
        }

        .healthedia-footer-dot {
            width: 4px;
            height: 4px;
            background-color: #cccccc;
            border-radius: 50%;
            display: inline-block;
        }

        /* Mobile footer styling optimization */
        @media (max-width: 768px) {
            .healthedia-footer-container {
                flex-direction: column;
                text-align: center;
                gap: 16px;
                padding-top: 16px;
            }
            .healthedia-footer-copyright {
                font-size: 12px;
                line-height: 1.4;
            }
            .healthedia-footer-links {
                justify-content: center;
                gap: 10px;
            }
            .healthedia-footer-link {
                font-size: 12px;
                padding: 4px 8px;
                background-color: #f7f7f7;
                border-radius: 6px;
            }
            .healthedia-footer-dot {
                display: none; /* Hide static separators on mobile to prevent layout leakage on wraps */
            }
        }
    </style>
    