.data-wrap:has(.wrap-left:empty) {
  display: none;
}
.data-wrap:not(:has(img)) {
  display: none !important;
}