/* Makes the DB-driven <image-slot> tags (no JS web component) display their
   image/video to fill the slot, matching the original component's `fit:cover`.
   The legacy selectors (.n2-gal image-slot, .afg-art image-slot, etc.) still
   own each slot's box; this only fills it. */
image-slot {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(18, 26, 40, 0.04);
}
image-slot .ms-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
image-slot[data-empty] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
}
image-slot[data-empty] .ms-ph {
  font-family: var(--mono, monospace);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint, #9aa3b0);
  max-width: 90%;
}
image-slot[data-empty]::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(18, 26, 40, 0.18);
  border-radius: inherit;
  pointer-events: none;
}
