.lwfs-slider-section {
  --lwfs-film-color: #f2b533;
  --lwfs-hole-color: #ffffff;
  --lwfs-hole-width: 16px;
  --lwfs-hole-gap: 16px;
  --lwfs-hole-height: 28px;
  --lwfs-hole-offset: 14px;
  --lwfs-distance: 0px;
  --lwfs-duration: 28s;

  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 0;
  contain: layout paint;
}

.lwfs-slider-section.lwfs-full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lwfs-slider-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.lwfs-slider-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation-duration: var(--lwfs-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.lwfs-slider-section.lwfs-direction-left .lwfs-slider-track {
  animation-name: lwfs-slide-left;
}

.lwfs-slider-section.lwfs-direction-right .lwfs-slider-track {
  animation-name: lwfs-slide-right;
}

.lwfs-slider-section.lwfs-pause-on-hover:hover .lwfs-slider-track,
.lwfs-slider-section.lwfs-pause-on-hover:focus-within .lwfs-slider-track,
.lwfs-slider-section.lwfs-is-offscreen .lwfs-slider-track,
.lwfs-slider-section.lwfs-not-ready .lwfs-slider-track {
  animation-play-state: paused;
}

.lwfs-film-strip {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 255px;
  padding: 0 26px;
  overflow: hidden;
  background: var(--lwfs-film-color);
  isolation: isolate;
}

.lwfs-film-strip::before,
.lwfs-film-strip::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: var(--lwfs-hole-height);
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    var(--lwfs-hole-color) 0,
    var(--lwfs-hole-color) var(--lwfs-hole-width),
    transparent var(--lwfs-hole-width),
    transparent calc(var(--lwfs-hole-width) + var(--lwfs-hole-gap))
  );
}

.lwfs-film-strip::before {
  top: var(--lwfs-hole-offset);
}

.lwfs-film-strip::after {
  bottom: var(--lwfs-hole-offset);
}

.lwfs-film-frame {
  position: relative;
  z-index: 2;
  flex: 0 0 260px;
  width: 260px;
  height: 155px;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
}

.lwfs-film-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.lwfs-empty-message {
  padding: 24px;
  border: 1px dashed #b5b5b5;
  background: #ffffff;
  color: #3c434a;
  text-align: center;
}

@keyframes lwfs-slide-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--lwfs-distance)), 0, 0);
  }
}

@keyframes lwfs-slide-right {
  from {
    transform: translate3d(calc(-1 * var(--lwfs-distance)), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lwfs-slider-section.lwfs-respect-reduced-motion .lwfs-slider-track {
    animation-play-state: paused !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

@media (max-width: 767px) {
  .lwfs-slider-section {
    --lwfs-hole-width: 11px;
    --lwfs-hole-gap: 11px;
    --lwfs-hole-height: 20px;
    --lwfs-hole-offset: 10px;
  }

  .lwfs-film-strip {
    height: 190px;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .lwfs-film-frame {
    width: 185px;
    height: 110px;
    flex-basis: 185px;
  }
}
