section.pages:not(:has(li)) {
  display: none;
}