.ehsf-slider-wrapper {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

.ehsf-slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.ehsf-track {
  display: flex;
  height: 100%;
  will-change: transform;
  gap: 100px;
  padding-right: 100px;
}

.ehsf-slide {
  flex: 0 0 100vw;
  
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ehsf-split-slide {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.ehsf-split-slide .ehsf-text-inner,
.ehsf-split-slide .ehsf-image-inner {
  flex: 0 0 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ehsf-split-slide .ehsf-text-inner {
  padding: 60px;
  flex-direction: column;
  display: flex;
  text-align: center;
}

.ehsf-split-slide .ehsf-text-inner h2,
.ehsf-split-slide .ehsf-text-inner p {
  margin: 0 0 20px;
}

.ehsf-slide img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.ehsf-counter {
  position: fixed;
  left: 20px;
  bottom: 20px;
  font-size: 32px;
  font-weight: bold;
  z-index: 9999;
  transform: rotate(-90deg);
}

.ehsf-next-project {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 768px) {
  .ehsf-slider-wrapper,
  .ehsf-slider {
    height: auto;
    overflow: visible;
  }

  .ehsf-track {
    flex-direction: column;
    transform: none !important;
    gap: 0;
    padding: 0;
  }

  .ehsf-slide,
  .ehsf-split-slide,
  .ehsf-next-project {
    flex: 0 0 auto;
    width: 100vw;
    height: auto;
  }

  .ehsf-split-slide {
    flex-direction: column;
  }

  .ehsf-split-slide .ehsf-text-inner,
  .ehsf-split-slide .ehsf-image-inner {
    width: 100%;
    height: auto;
    flex: none;
    padding: 20px;
  }

  .ehsf-slide img {
    max-width: 100%;
    height: auto;
  }

  .ehsf-counter {
    display: none;
  }
}


.ehsf-counter {
  position: fixed;
  left: 20px;
  bottom: 20px;
  height: 32px;
  width: 40px;
  overflow: hidden;
  z-index: 9999;
  transform: rotate(-90deg);
  font-size: 32px;
  font-weight: bold;
}

.ehsf-counter-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease-in-out;
}

.ehsf-counter-digit {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
