/* CLDF Vereinsheim: Bilder aus dem Admin-Texteditor flexibel darstellen.
   Bewusst nur auf der Vereinsheimseite eingebunden. */
.inner-main .page-panel {
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
  box-sizing: border-box;
}
.inner-main .page-panel img,
.inner-main .page-panel figure img,
.inner-main .page-panel .managed-rich img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  vertical-align: middle;
}
.inner-main .page-panel figure,
.inner-main .page-panel .managed-rich,
.inner-main .page-panel .detail-grid {
  max-width: 100%;
  min-width: 0;
}
.inner-main .page-panel figure { margin: 1em 0; }
.inner-main .page-panel iframe { max-width: 100%; }
.inner-main .page-panel { overflow-wrap: break-word; }
@media (max-width: 650px) {
  .inner-main .page-panel img { max-width: 100% !important; }
}
