.image-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #272624;
}

.image-frame .image-backdrop {
  position: absolute;
  z-index: 0;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: blur(22px) saturate(.85) brightness(.62);
  transform: scale(1.04);
}

.image-frame .image-foreground {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-frame figcaption,
.image-admin-preview span,
.image-admin-preview strong {
  z-index: 2;
}

/* En el administrador interesa reconocer la orientación real de cada archivo. */
.image-admin-preview.image-frame {
  aspect-ratio: auto;
}

.image-admin-preview.image-frame .image-foreground {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 680px;
  margin: 0 auto;
}
