.custom-home-slider {
  position: relative;
  width: 100%;
  max-width: 98%;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 36px;
  height: 780px;
  background: #000;
}

.custom-home-slider__slide {
  display: none !important;
  position: relative;
  width: 100%;
  min-height: 780px;
}

.custom-home-slider__slide--active {
  display: block !important;
}

.custom-home-slider__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.75);
}

.custom-home-slider__content {
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  max-width: 440px;
  color: #fff;
  text-align: left;
  z-index: 2;
}

.custom-home-slider__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8f8f8;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-home-slider__title {
  font-family: "Bitter", serif;
  margin: 0 0 18px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.custom-home-slider__subtitle {
  font-family: "Bitter", serif;
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.custom-home-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.custom-home-slider__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.custom-home-slider__controls {
  display: none;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  /*display: flex;*/
  gap: 10px;
  z-index: 3;
}

.custom-home-slider__control {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.custom-home-slider__control--active {
  background: #ffd05b;
  transform: scale(1.2);
  border-color: transparent;
}

@media (max-width: 991px) {
  .custom-home-slider {
    min-height: 520px;
    border-radius: 24px;
  }
  .custom-home-slider__content {
    right: 24px;
    left: 24px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .custom-home-slider {
    min-height: 360px;
    max-width: 100%;
    margin: 0 auto -20px;
    overflow: hidden;
    border-radius: 0px;
    height: 380px;
    background: #000;
  }
  .custom-home-slider__content {
    top: 36px;
    bottom: 36px;
    right: 24px;
    left: 24px;
    transform: none;
  }
  .custom-home-slider__title {
    font-size: clamp(32px, 8vw, 48px);
  }
  .custom-home-slider__button {
    width: 250px;
    padding: 16px 24px;
  }
}
