/* "Zájemce měníme v zákazníky": Instagram profile mockups in the left column, swapped every 10s.
   The mockups are 9:16; a 3:4 frame with object-fit: cover shows the whole phone plus its paper background. */
#ajax-content-wrap .fl-ig {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 24px);
  background: #e4e4e4;
  box-shadow: 0 6px 14px rgba(45, 24, 84, .08), 0 24px 54px rgba(45, 24, 84, .16);
}

#ajax-content-wrap .fl-ig .fl-ig-slide {
  position: absolute !important;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1);
}

#ajax-content-wrap .fl-ig .fl-ig-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media only screen and (max-width: 690px) {
  #ajax-content-wrap .fl-ig {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ajax-content-wrap .fl-ig .fl-ig-slide {
    transition: none;
    transform: none;
  }
}
