/* Preserve the theme's image rules for Contao 5.7 content elements. */
.rte img { max-width: 100%; height: auto; }
.content-image figure img,
.content-text figure img,
.content-gallery figure img {
  border: 1px solid #af853b;
  max-width: 100%;
  height: auto;
}
.content-image figcaption,
.content-text figcaption,
.content-gallery figcaption {
  color: #fff;
  font-weight: bolder;
  font-size: 1.09375rem;
}
.ce_bs_grid_gallery .content-image figure { margin-bottom: 0; }
.ce_bs_grid_gallery .content-image figure a {
  position: relative;
  cursor: zoom-in;
  display: block;
  transition: transform .25s ease-in-out;
  transform: scale(1);
  transform-origin: center;
  z-index: 1;
  overflow: hidden;
}
.ce_bs_grid_gallery .content-image figure a:hover {
  transform: scale(1.1);
  z-index: 10;
}
