.ba-module__gallery .ba-cheetah-photo-caption-below {
  padding: 3px 5px !important;
  min-height: 24px;
}
.ba-module__gallery-no-media {
  text-align: center;
}
.ba-module__gallery.ba-module__gallery-grid {
  display: grid;
}
.ba-module__gallery.ba-module__gallery-grid .gallery__item {
  width: 100%;
  height: 100%;
}
.ba-module__gallery.ba-module__gallery-grid .gallery__item .ba-cheetah-photo {
  width: 100%;
}
.ba-module__gallery.ba-module__gallery-grid .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content {
  width: 100%;
  height: 100%;
}
.ba-module__gallery.ba-module__gallery-grid .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item {
  float: left;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content {
  width: 100%;
  height: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content.ba-cheetah-photo-with-caption {
  height: calc(100% - 24px);
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content > img {
  width: 100%;
  height: 100%;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content > a {
  width: 100%;
}
.ba-module__gallery.ba-module__gallery-mosaic .gallery__item .ba-cheetah-photo .ba-cheetah-photo-content > a > img {
  width: 100%;
  height: 100%;
}