<!-- Move elements on mobile - need to check on real mobile -->
<script>
(function() {
const moveConfig = [
{
elementToMove: 'div#block-yui_3_17_2_1_1770496004545_25124',
targetElement: 'div#block-6e8e9995adc050cecb2e',
position: 'after'
}
];
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>