.home .ott-service-section {
  overflow: hidden;
}

.home .ott-service-rail {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: 100%;
  max-width: none;
  margin-top: 24px;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home .ott-service-rail::-webkit-scrollbar {
  display: none;
}

.home .ott-service-loop {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 14px;
  padding-right: 14px;
  animation: mogoo-ott-marquee 60s linear infinite;
  will-change: transform;
}

@keyframes mogoo-ott-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.home .ott-service-loop .ott-service {
  flex: 0 0 188px !important;
  width: 188px;
  min-width: 188px !important;
  min-height: 148px;
  box-sizing: border-box;
  padding: 18px 14px 15px;
}

@media (max-width: 600px) {
  .home .ott-service-section {
    overflow: hidden;
  }

  .home .ott-service-rail {
    width: auto;
    margin-right: -20px;
    padding: 0 0 8px;
    overflow-x: hidden;
    touch-action: pan-x;
  }

  .home .ott-service-loop {
    gap: 10px;
    padding-right: 10px;
  }

  .home .ott-service-loop .ott-service {
    flex-basis: 152px !important;
    width: 152px;
    min-width: 152px !important;
    min-height: 128px;
    padding: 14px 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .ott-service-rail {
    overflow-x: auto;
  }

  .home .ott-service-loop {
    animation: none;
  }

  .home .ott-service-loop[aria-hidden="true"] {
    display: none;
  }
}
