.custom-linear-slider-container {
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    width: 100%;
}

.custom-linear-slider-container .swiper-wrapper {
    align-items: center;
}

.custom-linear-slider-wrapper .swiper-slide {
  height: auto; /* Let JS calculate height based on width and aspect ratio */
  max-height: 367px; /* Keep a max-height for desktop base */
  flex-shrink: 0;
}

.custom-linear-slider-wrapper .swiper-slide-inner {
  height: 100%;
  box-sizing: border-box;
  /* Masks are defined here */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 330 367' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.7368 17.3001C46.087 7.38933 54.5514 0 64.5537 0H309.184C321.303 0 330.637 10.692 329.001 22.6999L284.451 349.7C283.1 359.611 274.636 367 264.634 367H20.0033C7.88456 367 -1.44957 356.308 0.186373 344.3L44.7368 17.3001Z' fill='%23D9D9D9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 330 367' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.7368 17.3001C46.087 7.38933 54.5514 0 64.5537 0H309.184C321.303 0 330.637 10.692 329.001 22.6999L284.451 349.7C283.1 359.611 274.636 367 264.634 367H20.0033C7.88456 367 -1.44957 356.308 0.186373 344.3L44.7368 17.3001Z' fill='%23D9D9D9'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: center;
  padding: 0;
  margin: 0;
}

.custom-linear-slider-wrapper .swiper-slide-large .swiper-slide-inner {
  /* Masks are defined here */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 645 367' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.7368 17.3001C46.087 7.38933 54.5514 0 64.5537 0H624.184C636.303 0 645.637 10.692 644.001 22.6999L599.451 349.7C598.1 359.611 589.636 367 579.634 367H20.0033C7.88455 367 -1.44957 356.308 0.186373 344.3L44.7368 17.3001Z' fill='%23D9D9D9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 645 367' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.7368 17.3001C46.087 7.38933 54.5514 0 64.5537 0H624.184C636.303 0 645.637 10.692 644.001 22.6999L599.451 349.7C598.1 359.611 589.636 367 579.634 367H20.0033C7.88455 367 -1.44957 356.308 0.186373 344.3L44.7368 17.3001Z' fill='%23D9D9D9'/%3E%3C/svg%3E");
}

.custom-linear-slider-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
