/* Stats One Preview - matches stats-one web component and slider-common defaults */

.stats.stats--one {
  position: relative;
}

.stats--one .stats__content {
  position: relative;
  z-index: 2;
}

.stats--one .stats__stat-label {
  margin: 0;
}

.stats--one .stats__stat-item {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.stats--one .stats__stat-number {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color, #000);
  background-color: transparent !important;
}

/* Slider - from web component */
.stats--one .stats__slider,
.stats--one .stats__slider.slider-swiper {
  width: 100%;
  overflow: hidden;
}

.stats--one .stats__slider .swiper-wrapper {
  display: flex;
}

.stats--one .stats__slider .swiper-slide {
  width: calc(100% / 6);
  padding: 0 10px;
  flex-shrink: 0;
}

.stats--one .stats__slider-wrapper .slider-swiper-prev,
.stats--one .stats__slider-wrapper .slider-swiper-next,
.stats--one .stats__slider-wrapper .slider-swiper-pagination {
  pointer-events: auto;
}

/* Continuous mode - from web component */
.stats--one .stats__slider.slider-continuous .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Pagination and navigation - from slider-common/slider-pagination-nav-styles.ts */
.stats--one .slider-swiper-nav {
  display: flex;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.stats--one .slider-swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

.stats--one .slider-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.stats--one .slider-swiper-pagination .swiper-pagination-bullet-active {
  background: #000;
}

.stats--one .swiper-button-next:after,
.stats--one .swiper-button-prev:after {
  display: none;
}
