document.addEventListener("DOMContentLoaded", function () {
var hash = window.location.hash;
if (!hash) return;
var target = document.querySelector(hash);
if (!target) return;
// Scroll to the video section
setTimeout(function () {
target.scrollIntoView({ behavior: "smooth" });
}, 300);
// Trigger the Elementor lightbox link inside that column
setTimeout(function () {
var lightboxLink = target.querySelector("a[data-elementor-lightbox-slideshow], a[data-elementor-open-lightbox]");
if (lightboxLink) {
lightboxLink.click();
}
}, 900);
});