.home-early-booking {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #0abab5;
}

.home-early-booking__viewport {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0abab5;
  border-top: 1px solid rgba(37, 30, 26, 0.14);
  border-bottom: 1px solid rgba(37, 30, 26, 0.14);
  box-shadow: 0 12px 26px rgba(63, 49, 43, 0.09);
}

.home-early-booking__track {
  display: flex;
  flex: none;
  width: max-content;
  min-width: 100%;
  will-change: transform;
  animation: home-early-booking-scroll 28s linear infinite;
}

.home-early-booking__group {
  display: flex;
  flex: none;
  align-items: center;
}

.home-early-booking__item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-early-booking__item::before {
  width: 8px;
  height: 8px;
  flex: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.home-early-booking:hover .home-early-booking__track {
  animation-play-state: paused;
}

.home-early-booking__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes home-early-booking-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .home-early-booking__viewport {
    height: 48px;
    box-shadow: 0 8px 18px rgba(63, 49, 43, 0.08);
  }

  .home-early-booking__track {
    animation-duration: 20s;
  }

  .home-early-booking__item {
    gap: 20px;
    padding-right: 20px;
    font-size: 12px;
    line-height: 1.25;
  }

  .home-early-booking__item::before {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-early-booking__track {
    width: 100%;
    animation: none;
  }

  .home-early-booking__group {
    width: 100%;
    justify-content: center;
  }

  .home-early-booking__group[aria-hidden="true"],
  .home-early-booking__item:not(:first-child) {
    display: none;
  }

  .home-early-booking__item {
    padding: 0 24px;
    text-align: center;
  }

  .home-early-booking__item::before {
    display: none;
  }
}
