

/* slider */

.hk-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 20px auto;
}

.hk-slider {
  display: flex;
  gap: 15px;
  align-items: center;
  animation: scroll 20s linear infinite;
}

.hk-slider-item img {
  width: auto;
  display: block;
  max-width: inherit;
  width:auto !important;
  max-height: 300px;
}

.hk-slider-fade {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hk-slider-fade.left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.hk-slider-fade.right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.hk-slider-dots {
  text-align: center;
  margin-top: 10px;
}

.hk-slider-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #cadfe2;
  border-radius: 50%;
  cursor: pointer;
}

.hk-slider-dots span.active {
  background: #83a997;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
