/* Only explicit cover-photo frames; never gallery, related cards, or inline photos. */
.bb-hero-frame { position: relative; overflow: hidden; background-color: var(--bb-hero-background, #073744); }
.bb-hero-frame > img.bb-hero-framed-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: var(--bb-hero-fit, cover);
  object-position: var(--bb-hero-x, 50%) var(--bb-hero-y, 50%);
  transform: scale(var(--bb-hero-zoom, 1));
  transform-origin: var(--bb-hero-x, 50%) var(--bb-hero-y, 50%);
}
.bb-hero-frame > img.bb-hero-framed-image.bb-hero-positioned {
  position: absolute; max-width: none; object-fit: fill; transform: none;
}
