/* Enquadramento dos retratos com os arquivos originais. */
.portrait-frame {
  display: block;
  box-sizing: border-box;
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border: 4px solid #A48D81;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: #F5F2EF;
}

.modal-content .portrait-frame {
  width: 140px;
  height: 140px;
  border-width: 3px;
  margin-bottom: 20px;
}

.card .portrait-frame img,
.modal-content .portrait-frame img,
.portrait-frame img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  left: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  object-fit: cover;
}

.portrait-frame.image-missing {
  display: none;
}

.card .photo-fallback {
  width: 160px;
  height: 160px;
}

.modal-content .photo-fallback {
  width: 140px;
  height: 140px;
}
