

/* Promo Navideña: avoid overlapping the hero content on narrow desktop viewports. */
@media (min-width: 600px) and (max-width: 900px) {
  .calm-landings-library-hero--desktop .hero-content > .content {
    max-width: min(350px, calc(100vw - 300px)) !important;
    position: relative;
    z-index: 11;
  }
  .calm-landings-library-hero--desktop .hero-content > .image {
    left: auto !important;
    right: 0 !important;
    top: 20px !important;
  }
  .calm-landings-library-hero--desktop .hero-content > .image img {
    width: auto !important;
    height: 40vw !important;
  }
}

/* Promo Navideña: center the desktop image within the landing content. */
.calm-landings-library-hero--desktop .hero-content > .image {
  left: auto !important;
  right: clamp(40px, calc((min(100vw, 1366px) - 1076px) / 2), 145px) !important;
  top: calc(50% - 13px) !important;
  translate: 0 -50% !important;
}
.calm-landings-library-hero--desktop .hero-content > .image img {
  width: auto !important;
  height: min(460px, 32vw) !important;
}

/* Promo Navideña: let the mobile image extend slightly below the hero. */
.calm-landings-library-hero--mobile {
  height: auto !important;
  padding-bottom: 0 !important;
}
.calm-landings-library-hero--mobile .hero-content > .image img {
  position: relative !important;
  top: 32px !important;
}
