document.addEventListener("DOMContentLoaded", function() {
// 1. Fix Newton Button
var newtonSection = Array.from(document.querySelectorAll('h3')).find(el => el.textContent.includes('Newton'));
if (newtonSection) {
var newtonBtn = newtonSection.closest('.multicolumn-card__info').querySelector('a');
if (newtonBtn) {
// REPLACE THE URL BELOW WITH YOUR ACTUAL NEWTON PAGE OR MAPS LINK
newtonBtn.href = "https://www.google.com/maps?q=7380+King+George+Blvd+500+Surrey+BC";
}
}
// 2. Fix Guildford Button
var guildfordSection = Array.from(document.querySelectorAll('h3')).find(el => el.textContent.includes('Guildford'));
if (guildfordSection) {
var guildfordBtn = guildfordSection.closest('.multicolumn-card__info').querySelector('a');
if (guildfordBtn) {
// REPLACE THE URL BELOW WITH YOUR ACTUAL GUILDFORD PAGE OR MAPS LINK
guildfordBtn.href = "https://www.google.com/maps?q=15691+104+Ave+104+Surrey+BC";
}
}
});