.etl-hbc {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.etl-hbc__container,
.etl-hbc__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.etl-hbc__viewport {
  touch-action: pan-y;
  cursor: grab;
}

.etl-hbc__viewport.is-dragging {
  cursor: grabbing;
}

.etl-hbc__track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  will-change: transform;
  transform: translate3d(-12.6%, 0, 0);
}

.etl-hbc__track > * {
  flex: 0 0 calc((100% - 30px) / 4);
  width: calc((100% - 30px) / 4);
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

/* Swiper owns slide spacing, widths and transforms after initialization. */
.etl-hbc__viewport.swiper .etl-hbc__track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  gap: 0;
  box-sizing: content-box;
  transition-property: transform;
}

.etl-hbc__viewport.swiper .etl-hbc__track > .swiper-slide {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  transition-property: transform;
}

.etl-hbc__slide,
.etl-hbc__link,
.etl-hbc__image,
.etl-hbc__image > *,
.etl-hbc__image picture {
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

.etl-hbc__slide {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.etl-hbc__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4ece0;
}

.etl-hbc__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  user-select: none;
  -webkit-user-drag: none;
}

.etl-hbc__arrows,
.etl-hbc__thumbs {
  display: none !important;
}

.etl-hbc__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
}

.etl-hbc__dot {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.etl-hbc__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  transition: background 0.3s ease, transform 0.3s ease;
}

.etl-hbc__dot.is-active::before {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.2);
}

.etl-hbc__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
  border-radius: 50%;
}

@media (max-width: 799px) {
  .etl-hbc__track {
    gap: 8px;
    /* Keep the first mobile banner in the first paint; JS handles looping. */
    transform: translate3d(0, 0, 0);
  }

  .etl-hbc__track > * {
    flex-basis: 100%;
    width: 100%;
  }

  .etl-hbc__dots {
    bottom: 8px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etl-hbc__track,
  .etl-hbc__dot::before {
    transition-duration: 0.01ms !important;
  }
}
