<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://imhoteptours.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://imhoteptours.com/wp-sitemap-posts-page-1.xml</loc></sitemap></sitemapindex>
<script id="webwadjet-a11y-fix">(function () {
  function parse(c) { var m = c.match(/rgba?\(([^)]+)\)/); if (!m) return null; var p = m[1].split(',').map(parseFloat); return { r: p[0], g: p[1], b: p[2], a: p.length > 3 ? p[3] : 1 }; }
  function lum(c) { function f(v) { v /= 255; return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4); } return 0.2126 * f(c.r) + 0.7152 * f(c.g) + 0.0722 * f(c.b); }
  function ratio(a, b) { var l1 = lum(a), l2 = lum(b); return (Math.max(l1, l2) + 0.05) / (Math.min(l1, l2) + 0.05); }
  function blend(c, white, t) { function f(v) { return Math.round(white ? v + (255 - v) * t : v * (1 - t)); } return { r: f(c.r), g: f(c.g), b: f(c.b) }; }
  function bgOf(el) { var n = el; while (n && n.nodeType === 1) { var cs = getComputedStyle(n); var c = parse(cs.backgroundColor); if (c && c.a > 0.5) return c; if (cs.backgroundImage && cs.backgroundImage !== 'none') return null; n = n.parentElement; } return { r: 255, g: 255, b: 255 }; }
  function fixContrast(el) {
    var cs = getComputedStyle(el); var fg = parse(cs.color); if (!fg) return;
    var bg = bgOf(el); if (!bg) return;
    var px = parseFloat(cs.fontSize); var bold = parseInt(cs.fontWeight, 10) >= 700;
    var need = (px >= 24 || (px >= 18.66 && bold)) ? 3 : 4.5;
    if (ratio(fg, bg) >= need - 0.01) return;
    var toWhite = lum(bg) < 0.35; var lo = 0, hi = 1, best = null;
    for (var i = 0; i < 24; i++) { var t = (lo + hi) / 2; var c = blend(fg, toWhite, t); if (ratio(c, bg) >= need) { best = c; hi = t; } else { lo = t; } }
    if (best) el.style.color = 'rgb(' + best.r + ',' + best.g + ',' + best.b + ')';
  }
  function labelButtons() {
    var all = document.querySelectorAll('button, [role="button"], input[type="submit"], input[type="button"]');
    Array.prototype.forEach.call(all, function (el) {
      if (el.getAttribute('aria-label') || el.getAttribute('aria-labelledby') || el.getAttribute('title')) return;
      var named = (el.value || el.getAttribute('alt') || '').trim();
      if (!named && el.tagName !== 'INPUT') named = (el.textContent || '').trim();
      if (!named) { var img = el.querySelector ? el.querySelector('img[alt]') : null; if (img) named = img.getAttribute('alt'); }
      if (!named) {
        var dots = document.querySelectorAll('.owl-dot');
        var idx = Array.prototype.indexOf.call(dots, el);
        named = idx >= 0 ? 'Go to slide ' + (idx + 1) : 'Unlabeled button';
      }
      el.setAttribute('aria-label', named);
    });
  }
  function fixHeadings() {
    var prev = 0;
    var hs = document.querySelectorAll('h1,h2,h3,h4,h5,h6');
    Array.prototype.forEach.call(hs, function (h) {
      var lvl = parseInt(h.tagName[1], 10);
      var next = (prev > 0 && lvl > prev + 1) ? prev + 1 : lvl;
      prev = next;
      if (next !== lvl) {
        var nh = document.createElement('h' + next);
        for (var i = 0; i < h.attributes.length; i++) nh.setAttribute(h.attributes[i].name, h.attributes[i].value);
        while (h.firstChild) nh.appendChild(h.firstChild);
        h.replaceWith(nh);
      }
    });
  }
  function run() {
    try {
      labelButtons(); fixHeadings();
      var w = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null); var els = new Set();
      while (w.nextNode()) { if (w.currentNode.textContent.trim()) els.add(w.currentNode.parentElement); }
      els.forEach(fixContrast);
    } catch (e) {}
  }
  var pending = false;
  function schedule(delay) {
    if (pending) return;
    pending = true;
    setTimeout(function () { pending = false; run(); }, delay || 0);
  }
  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', run); else run();
  window.addEventListener('load', run);
  if (window.MutationObserver) {
    new MutationObserver(function () { schedule(30); }).observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['class'] });
  }
  [0, 120, 350, 700, 1200, 2000, 3500].forEach(schedule);
})();</script>