/* Images controlled through SCF: hidden until an editor explicitly adds one. */
.personal-photo,
.contact-avatar { display:none; }

.personal-photo.scf-image-visible,
.contact-avatar.scf-image-visible { display:block; }

/* These rules deliberately win over the optional portrait layout refinements.
   When an SCF image field is empty, its whole visual slot disappears. */
#tomasz-gros .personal-grid.personal-grid--without-photo {
  grid-template-columns:minmax(0, 780px) !important;
  justify-content:start;
}

#tomasz-gros .personal-grid.personal-grid--without-photo .personal-photo-wrap {
  display:none !important;
}

#zglos .contact-person.contact-person--without-avatar { gap:0; }
