/* The first gallery frame is visible until the original slider enhances it. */
.carouselLeft:not(.flickity-enabled) > figure,
.carouselRight:not(.flickity-enabled) > figure,
.dce-fullscreen-imageslider:not(.flickity-enabled) > figure { visibility: hidden; }
.carouselLeft:not(.flickity-enabled) > figure:first-of-type,
.carouselRight:not(.flickity-enabled) > figure:first-of-type,
.dce-fullscreen-imageslider:not(.flickity-enabled) > figure:first-of-type { visibility: visible; }
html.js .ce-textpic .image { opacity: 1; }
/* The current provider's medium preset is 1000px; keep its controls visible
   inside the original ZECH content column, including narrow viewports. */
#sattler_mf_iframe_container iframe:not(.sds-app-fullscreen-iframe) {
  max-width: 100%;
  border: 0;
}
.carouselLeft:not(.flickity-enabled):has(> .sentinel) > figure,
.carouselRight:not(.flickity-enabled):has(> .sentinel) > figure { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Match the mobile gallery width before Flickity initializes, including no-JS. */
@media (max-width: 767px) {
  .dce-startseiteintro .carouselLeft:not(.flickity-enabled) {
    float: none;
    width: 100%;
  }
}
