.cs-slider-hero__slide {
  display: none;
}
.cs-slider-hero__slide.is-active {
  display: block;
}

.cs-slider-hero:not(.is-ready) .cs-slider-hero__slide:first-child {
  display: block;
}

.cs-slider-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--main--02);
}

.site-main .cs-slider-hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cs-slider-hero__bg img {
  width: 100%;
  object-fit: cover;
  height: 640px;
}

.home #content.site-content {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ------------------------------------------------------------------------ */

.cs-slider-hero__slide {
  display: none;
}

.cs-slider-hero__pagination {
  max-width: 1440px;
  width: calc(100% - 32px);
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin: auto;
}

.cs-slider-hero__dot {
  flex: 1;
  height: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #ffffff50;
  max-width: 100px;
  right: 0;
  bottom: 32px;
  display: flex;
  gap: 10px;
  width: 200px;
}

.cs-slider-hero__progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--main--03);
}

/* ------------------------------------------------------------------------ */

.cs-slider-hero__title {
  font-size: 72px;
  line-height: 120%;
  paint-order: stroke fill;
  -webkit-text-stroke: 12px var(--main--03);
  color: var(--white);
  text-align: center;
}

.cs-slider-hero__text {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height-h3);
  paint-order: stroke fill;
  -webkit-text-stroke: 8px var(--main--04);
  color: var(--white);
  text-align: center;
}

.cs-slider-hero__content {
  position: absolute;
  top: 60%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.cs-slider-hero__arrow {
  padding: 16px 24px;
  border-radius: var(--b--xl);
  border: solid 1px var(--main--03);
  background: var(--main--01);
}

.cs-slider-hero__nav {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 1440px;
  width: calc(100% - 32px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cs-slider-hero__arrow {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  pointer-events: auto;
}

.cs-slider-hero__arrow--prev {
  left: 0;
}
.cs-slider-hero__arrow--next {
  right: 0;
}

.hero-badge {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h-16);
  text-transform: uppercase;
  line-height: var(--line-height-h-16);
}

.hero-badge li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--b--xxl);
  padding: 16px;
  padding-bottom: 13px;
  white-space: nowrap;
  line-height: 1;
  -webkit-text-stroke: 0;
}

.hero-badge li:nth-child(1) {
  background: var(--additional---pomaranczowy-light);
  color: var(--additional---pomaranczowy);
}
.hero-badge li:nth-child(2) {
  background: var(--additional---zielony-light);
  color: var(--additional---zielony);
}
.hero-badge li:nth-child(3) {
  background: var(--additional---fioletowy-light);
  color: var(--additional---fioletowy);
}
.hero-badge li:nth-child(4) {
  background: var(--main--01);
  color: var(--main--03);
}

@media (max-width: 768px) {
  .cs-slider-hero__dot {
    width: 100%;
  }
  .cs-slider-hero__title {
    font-size: 48px;
  }
  .cs-slider-hero__content {
    top: 25%;
  }
  .cs-slider-hero__nav {
    top: 85%;
  }
  .cs-slider-hero__bg img {
    height: 70vh;
    max-height: 700px;
  }
  .hero-badge {
    font-size: var(--font-size-13);
    line-height: var(--font-size-13);
  }
  .hero-badge li {
    padding: 12px;
    padding-bottom: 10px;
  }
}

/* USP */
.cs-usp-slider {
  background: var(--main--02);
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cs-usp-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  --cs-usp-gap: 56px;
  --cs-usp-duration: 28s;
  padding-bottom: 4px;
}

.cs-usp-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--cs-usp-gap);
  width: max-content;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 6px 0;
  will-change: transform;
  animation: cs-usp-marquee-scroll var(--cs-usp-duration) linear infinite;
  transform: translate3d(0, 0, 0);
}

.cs-usp-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.cs-usp-marquee__item img {
  display: block;
  height: 24px;
  width: auto;
  max-width: none;
}

.cs-usp-marquee.is-hover-paused:hover .cs-usp-marquee__track {
  animation-play-state: paused;
}

@keyframes cs-usp-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--cs-usp-half-width, 0px)), 0, 0);
  }
}

@media (max-width: 767px) {
  .cs-usp-marquee {
    --cs-usp-gap: 20px;
  }

  .cs-usp-marquee__item img {
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-usp-marquee__track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}