/* Compact character cards when an image is absent or has been removed on error.
   Load after the page styles and art-direction.css. */
.portraits > .pic:not(:has(img[src])) {
  aspect-ratio: auto;
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem .75rem;
  background: #e3edce;
  color: #143d2c;
  border: 1px solid #7b9979;
  box-sizing: border-box;
}

.portraits > .pic:not(:has(img[src])) figcaption {
  position: static;
  width: 100%;
  padding: 0;
  background: none;
  color: inherit;
  overflow-wrap: anywhere;
}

.portraits > .pic:not(:has(img[src])) figcaption span {
  display: block;
  margin-bottom: .35rem;
  color: #3c6753;
}

.portraits > .pic:not(:has(img[src])) figcaption b {
  font-size: clamp(.88rem, 1.2vw, 1rem);
  line-height: 1.3;
}

@media (max-width: 700px) {
  .portraits > .pic:not(:has(img[src])) {
    min-height: 7rem;
    padding: 1rem .6rem;
  }
}
