// Minimal frontend JS placeholder for RSS NewsSync
// Place at includes/assets/js/frontend.js
// Currently kept small - reserved for progressive enhancements (e.g., lazy init, ARIA tweaks).

document.addEventListener('DOMContentLoaded', function () {
  // Example: add a small class if JS is enabled (used for CSS progressive enhancement)
  var containers = document.querySelectorAll('.rsp-container');
  containers.forEach(function (c) {
    c.classList.add('rsp-js');
  });

  // No heavy logic here; Swiper is loaded via CDN and initialised via inline script added by the shortcode.
});