Resources

Agency Posters, Brochures, & Toolkits

Community Partners
(function () { const breakpoint = '(max-width: 768px)'; const pairs = document.querySelectorAll('.merge-pair');
const states = [];
function initPair(pair) { const lists = pair.querySelectorAll(':scope > ul'); if (lists.length < 2) return null; const left = lists[0]; const right = lists[1]; const rightInitialCount = right.querySelectorAll(':scope > li').length;
function isPhone() { return window.matchMedia(breakpoint).matches; }
function merge() { if (right.children.length === 0) return; // already merged while (right.firstElementChild) left.appendChild(right.firstElementChild); right.style.display = 'none'; }
function restore() { if (right.children.length > 0) return; // already restored const allLeftLis = Array.from(left.querySelectorAll(':scope > li')); const toMoveBack = allLeftLis.slice(-rightInitialCount); toMoveBack.forEach(li => right.appendChild(li)); right.style.display = ''; }
function apply() { if (isPhone()) merge(); else restore(); }
apply();
return apply; }
pairs.forEach(pair => { const apply = initPair(pair); if (apply) states.push(apply); });
// Re-apply all on resize (cheap operations) window.addEventListener('resize', () => { states.forEach(apply => apply()); }); })();