.bh-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bh-slider__viewport {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
}

.bh-slider__track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.bh-slider__slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
}

.bh-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.bh-slider__btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: none;
  background: var(--bh-slider-btn-bg, linear-gradient(to bottom, #e6363e, #f5464d));
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.bh-slider__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.bh-slider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bh-slider__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--bh-slider-dot-color, #e6363e);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.bh-slider__dot--active {
  background: var(--bh-slider-dot-color, #e6363e);
}

.bh-slider--case {
  --bh-slider-btn-bg: linear-gradient(180deg, #e6363e, #f5464d);
  --bh-slider-dot-color: #e6363e;
  max-width: 1200px;
  width: 100%;
}

.bh-slider--case .bh-slider__viewport {
  background:
    url(/wp-content/themes/bothelp.io/assets/images/vk-slide-deco.svg) right top / auto auto no-repeat,
    linear-gradient(180deg, #e6363e 0%, #f5464d 100%);
}

.bh-case-slide {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 31px 24px;
  position: relative;
  min-height: 361px;
}

.bh-case-slide__img {
  width: 421px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 17px 11px 37.8px rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 1;
}

.bh-case-slide__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.bh-case-slide__tags {
  display: flex;
  gap: 5px;
}

.bh-case-slide__title {
  color: #fff;
  font-size: 24px;
  font-family: "Ubuntu Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.bh-case-slide__desc {
  color: #fff;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.bh-case-slide__stat {
  display: flex;
  align-items: stretch;
  align-self: flex-start;
}

.bh-case-slide__stat-num {
  background: #fff;
  padding: 10px;
  border-radius: 10px 0 0 10px;
  font-size: 30px;
  font-family: "Ubuntu Sans", sans-serif;
  font-weight: 800;
  line-height: 28px;
  letter-spacing: -1px;
  color: #e6363e;
  white-space: nowrap;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.bh-case-slide__stat-label {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 0 10px 10px 0;
  font-size: 18px;
  font-family: "Ubuntu Sans", sans-serif;
  font-weight: 600;
  line-height: 28px;
  color: #fff;
}

@media (max-width: 768px) {
  .bh-case-slide {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
    min-height: auto;
  }

  .bh-case-slide__img {
    width: 100%;
    height: 180px;
  }

  .bh-case-slide__title {
    font-size: 20px;
  }

  .bh-case-slide__desc {
    font-size: 14px;
  }

  .bh-case-slide__stat {
    flex-direction: row;
    align-self: flex-start;
  }

  .bh-case-slide__stat-num {
    font-size: 22px;
    line-height: 22px;
    padding: 8px 10px;
    border-radius: 10px 0 0 10px;
  }

  .bh-case-slide__stat-label {
    font-size: 13px;
    line-height: 20px;
    padding: 8px 10px;
    border-radius: 0 10px 10px 0;
  }

  .bh-slider--case {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}
