.clip-wrapper {
  position: relative;
  overflow: hidden;
}

.elementor-widget-clip_widget {
  position: static !important;
}

.clip-wrapper[data-fit="contain"],
.clip-wrapper[data-fit="cover"] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.clip-wrapper[data-fit="cover"] .clip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.clip-wrapper[data-fit="contain"] .clip-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.clip-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.clip-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: #001f5c;
  transition: clip-path 0.6s ease;
}

.clip-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.clip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Clip path preset classes */
.clip-on-right {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.clip-on-left {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}

.clip-on-top {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.clip-on-bottom,
.clip-on {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.clip-off {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
