.slider-wrapper {
    max-width: 100%;
    padding: 0 50px;
}
.custom-slider-wrapper {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background-color: #f7f1eb;
}

.custom-slider {
  display: flex;
  /* Width is set dynamically in the shortcode */
  
}

.slide {
  /* Width is set dynamically in the shortcode */
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: auto;
  display: block;
}

.right-overlay-shape {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  width: auto;
}

/* Zoom-in and shape slide effect */
.zoom-in {
  animation: zoomEffect 8s infinite;
}
.shape-animate {
  animation: slideInFromRight 8s infinite;
}



/* Mobile optimizations */
@media (max-width: 768px) {
    .slider-wrapper {
    max-width: 100%;
    padding: 0 15px;
}
  .custom-slider-wrapper {
    width: 100%;
  }
  
  .slide-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .right-overlay-shape {
    width: 30%;
    object-fit: cover;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .custom-slider-wrapper {
    width: 100%;
  }
  
  .right-overlay-shape {
    width: 25%;
    object-fit: cover;
  }
}

/* Large desktop optimizations */
@media (min-width: 1807px) {
  .custom-slider-wrapper {
    max-width: 100%;
  }
}
.right-overlay-shape {
    height: 100% !important;
}
