<!-- Move elements on mobile - need to check on real mobile -->
<script>
(function() {
  const moveConfig = [
    {
      elementToMove: '#block-yui_3_17_2_1_1769371373465_9437',
      targetElement: '#block-e3ea560a28ab76cfeeff',
      position: 'before'
    },
    {
      elementToMove: '#block-yui_3_17_2_1_1767816750858_206394',
      targetElement: '#block-ccf0cccc6f34d252d4d7',
      position: 'before'
    },
    {
      elementToMove: '#block-yui_3_17_2_1_1769371957100_63196',
      targetElement: '#block-e16dabdd29ad1c99b8e2',
      position: 'before'
    }
  ];

  function moveBlocks() {
    if (window.innerWidth <= 767) {
      moveConfig.forEach(config => {
        const blockToMove = document.querySelector(config.elementToMove);
        const targetBlock = document.querySelector(config.targetElement);
        
        if (blockToMove && targetBlock && !blockToMove.hasAttribute('data-moved')) {
          if (config.position === 'after') {
            targetBlock.parentNode.insertBefore(blockToMove, targetBlock.nextSibling);
          } else {
            targetBlock.parentNode.insertBefore(blockToMove, targetBlock);
          }
          blockToMove.setAttribute('data-moved', 'true');
        }
      });
    }
  }

  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', moveBlocks);
  } else {
    moveBlocks();
  }

  document.addEventListener('mercury:load', moveBlocks);
})();
</script>

 

Buy me a coffee