.landing-section-image {
  padding: 0.25rem 0 1.5rem;
}

.landing-section-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f2f6f2;
  box-shadow: 0 14px 34px rgba(63, 95, 77, 0.08);
}

.landing-section-figure--crop {
  position: relative;
  width: 100%;
  height: auto;
}

.landing-section-figure--crop .landing-section-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--landing-image-focus, center center);
}

.landing-section-image--bar-sm .landing-section-figure--crop {
  aspect-ratio: 14 / 1;
  min-height: 3rem;
  max-height: 4.25rem;
}

.landing-section-image--bar-compact .landing-section-figure--crop {
  aspect-ratio: 11 / 1;
  min-height: 4rem;
  max-height: 5.5rem;
}

.landing-section-image--bar-medium .landing-section-figure--crop {
  aspect-ratio: 9 / 1;
  min-height: 5rem;
  max-height: 6.5rem;
}

.landing-section-image--bar-md .landing-section-figure--crop {
  aspect-ratio: 7.5 / 1;
  min-height: 6.25rem;
  max-height: 8.25rem;
}

.landing-section-image--bar-lg .landing-section-figure--crop {
  aspect-ratio: 6 / 1;
  min-height: 7.75rem;
  max-height: 11rem;
}

.landing-section-image--bar-xl .landing-section-figure--crop {
  aspect-ratio: 4.75 / 1;
  min-height: 9rem;
  max-height: 14rem;
}

.landing-section-image-media {
  display: block;
  width: 100%;
  height: auto;
}

.landing-section-figure--crop .landing-section-image-media {
  height: 100%;
}

/* Admin preview: mismo ancho que la landing */
.ayudart-landing-section-image-preview-wrap {
  max-width: 860px;
  width: 100%;
}

.ayudart-landing-section-image-preview-wrap .landing-section-image {
  padding: 0;
}

.ayudart-landing-section-image-preview-wrap.is-empty {
  display: none;
}
