Buy me a coffee
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
  const header = $('#header');
  const targetSections = $('article > section:nth-child(n+2)');

  $(window).scroll(function() {
    const scrollPosition = $(window).scrollTop();
    const headerHeight = header.outerHeight();
    let isInAnySection = false;

    targetSections.each(function() {
      const sectionTop = $(this).offset().top;
      const sectionBottom = sectionTop + $(this).outerHeight();

      if (scrollPosition >= sectionTop - headerHeight && scrollPosition < sectionBottom) {
        isInAnySection = true;
        return false;
      }
    });

    header.toggleClass('add-new', isInAnySection);
  });
});
</script>
<style>
body.scroll-past div#block-yui_3_17_2_1_1778699224320_2779 {
    opacity: 0 !important;
}
</style>