.AspectRatioFence_wrap_2HH2L {
  position: relative;
  width: 100%;
}

.AspectRatioFence_wrap_2HH2L:before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: calc(100% / (var(--ratio)));
}

.AspectRatioFence_wrap_2HH2L > :first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.AspectRatioImg_img_-WkaR {
  object-fit: contain;
}

.AspectRatioFenceLegacy_wrap_ZYFye {
  position: relative;
  width: 100%;
}

.AspectRatioFenceLegacy_container_3VjLm {
  width: 100%;
  height: 0;
}

.AspectRatioFenceLegacy_container_3VjLm > :first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.AspectRatioImgLegacy_img_1d-Cg {
  object-fit: contain;
}

.SquareFence_wrap_3jTo2 {
  position: relative;
  width: 100%;
}

.SquareFence_wrap_3jTo2:before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

.SquareFence_wrap_3jTo2 > :first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.SquareImg_img_2gAcq {
  object-fit: contain;
}
