/* Preserve the editor's original media placeholder geometry on every public page. */
.ph.cms-media-box, .cms-media-filled.ph {
  display:block!important;
  box-sizing:border-box!important;
  width:100%;
  max-width:100%!important;
  overflow:hidden!important;
  isolation:isolate;
  position:relative;
}
.ph.cms-media-box > :is(img,video,iframe),
.cms-media-filled.ph > :is(img,video,iframe) {
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:0!important;
  object-fit:cover;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  border:0;
  border-radius:inherit;
}
/* Fixed-sized original placeholders stay fixed when swapped for video/photo. */
.ph.cms-media-box[style*="height"], .cms-media-filled.ph[style*="height"] { min-height:0!important; }
@media (max-width:767px) {
 .ph.cms-media-box, .cms-media-filled.ph {max-width:100%!important;}
}
