title: How to hide title of two different groups of Isotope elements
body: <p>I'm working with Isotope to filter two different groups of elements (National and International categories), with both buttons and search.</p>
  
  <p>On top of each group of elements I've got a title of each category.</p>
  
  <p>How can I hide the title if all the elements under it's category are hidden (each filtered elements gets a <code>display: none;</code> property)?</p>
  
  <p>For example, if all of the "International" elements get filtered (either by search or button) I also want to hide the div element with the title "International".</p>
  
  <p>Here's a CodePen with my code: <a href="https://codepen.io/koiastudio/pen/KrYMWm" rel="nofollow noreferrer">https://codepen.io/koiastudio/pen/KrYMWm</a></p>
  
  <p>Not sure what is the best approach.</p>
  
  <p>Thank you.</p>