countdown-time-v8 {
  width: 100%;
}

.banner-countdown-v8__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .banner-countdown-v8__content {
    align-items: start;
  }
}

.banner-countdown-v8__title {
  font-size: clamp(3rem, calc(2.5vw + 2rem), 5rem);
  margin-bottom: 2rem;
  color: rgba(var(--color-foreground));
  font-family: var(--font-custom-family);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
}
@media (max-width: 767px) {
  .banner-countdown-v8__title {
    text-align: center;
  }
}

.banner-countdown-v8__description {
  margin-bottom: 5rem;
}
@media (max-width: 767px) {
  .banner-countdown-v8__description {
    text-align: center;
  }
}

.banner-countdown-v8__countdown {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 5rem;
}

.banner-countdown-v8__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner-countdown-v8__item span {
  text-transform: uppercase;
  font-size: clamp(1.4rem, calc(0.25vw + 1.3rem), 1.6rem);
  line-height: 1;
}
.banner-countdown-v8__item:not(:first-child) {
  --distance: var(--distance);
}
.banner-countdown-v8__item:not(:first-child) .banner-countdown-v8__number {
  position: relative;
  width: 100%;
  text-align: center;
}
.banner-countdown-v8__item:not(:first-child) .banner-countdown-v8__number::before {
  content: "";
  display: block;
  position: absolute;
  width: calc(var(--distance) / 4);
  height: 0.2rem;
  background-color: color-mix(in srgb, rgba(var(--color-foreground)) calc(0.2 * 100%), transparent);
  top: 50%;
}
[dir=ltr] .banner-countdown-v8__item:not(:first-child) .banner-countdown-v8__number::before {
  left: 0;
  transform: translate(calc(-50% - var(--distance) / 2), -50%);
}
[dir=rtl] .banner-countdown-v8__item:not(:first-child) .banner-countdown-v8__number::before {
  right: 0;
  transform: translate(calc(50% +....var(--distance) / 2), -50%);
}

.banner-countdown-v8__number {
  font-size: clamp(3rem, calc(3.75vw + 1.5rem), 6rem);
  line-height: 0.8;
  color: rgba(var(--color-foreground));
  font-family: var(--font-custom-family);
  margin-bottom: 2rem;
}