/* Ajuste de mídia (escala + posição) — controlado pelo admin */
.img-fit {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.img-fit > img,
.img-fit > video {
  display: block;
  height: 100%;
  object-fit: var(--img-fit-mode, cover);
  object-position: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
  transform: scale(var(--img-scale, 1));
  transform-origin: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
  width: 100%;
}

.img-fit--contain > img,
.img-fit--contain > video {
  object-fit: contain;
}

.img-fit--cover > img,
.img-fit--cover > video {
  object-fit: cover;
}

.b59__poster.img-fit {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.b59__slide .img-fit {
  align-items: center;
  display: flex;
  height: 5rem;
  justify-content: center;
  width: 100%;
}

.b60__card-image > .img-fit {
  inset: 0;
  position: absolute;
}

.block-cta-3d-carousel__item {
  position: relative;
}

.block-cta-3d-carousel__item > .img-fit {
  inset: 0;
  position: absolute;
}

.b56__logo .img-fit {
  max-height: 5.25rem;
  max-width: 15rem;
  width: auto;
}

.b56__logo .img-fit > img {
  height: auto;
  max-height: 5.25rem;
  width: auto;
  max-width: 15rem;
}

.b56__media > .img-fit {
  height: 100%;
  width: 100%;
}

.rotating-3-pillars-carousel__nav-icon .img-fit {
  height: 100%;
  width: 100%;
}

.rotating-3-pillars-carousel__preheading--image .img-fit {
  max-width: 100%;
}

.rotating-3-pillars-carousel__media .img-fit {
  height: 100%;
  width: 100%;
}

.flywheel .img-fit {
  height: 100%;
  width: 100%;
}

.g02__logo-link .img-fit {
  max-height: 4rem;
  width: auto;
}

.g02__logo-link .img-fit > img {
  height: auto;
  max-height: 4rem;
  width: auto;
}
