/* Keep generated cards in the original Elementor grid and subgrid tracks. */
.mgr-endorsements-widget.elementor-widget,
.mgr-app-screens-widget.elementor-widget,
.mgr-endorsements-widget > .elementor-widget-container,
.mgr-app-screens-widget > .elementor-widget-container,
.mgr-endorsements-widget .elementor-shortcode,
.mgr-app-screens-widget .elementor-shortcode {
  display: contents !important;
}

.mgr-flyers-widget.elementor-widget,
.mgr-flyers-widget > .elementor-widget-container,
.mgr-flyers-widget .elementor-shortcode { display: contents !important; }
.mgr-flyer-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; color: var(--mgr-primary); }
.mgr-flyer-placeholder svg { width: 40px; height: 40px; }
.mgr-flyers-empty { grid-column: 1 / -1; }

/* The optional portrait should not leave an empty column in a new endorsement. */
.mgr-testimonial__attribution--without-photo.e-con > .e-con-inner {
  grid-template-columns: minmax(0, 1fr);
}

/* These cards use the theme's existing image/card/lightbox presentation. */
.mgr-testimonial--dynamic,
.mgr-app-visual--dynamic {
  min-width: 0;
}
