.hero-slider {
  position: relative;
  width: 100%;
  max-height: 600px;
  height: calc(100vh - 84px - 100px - 54px);
  overflow: hidden;
  background-color: var(--color-black-soft);
  border-radius: 30px;
  max-width: 1900px;
  margin: 0 auto;
}

.hero-slider__slide {
  position: relative;
}

.hero-slider__slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* .hero-slider__slide::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url("../img/main/hero/bg.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top -250px right -400px;
  pointer-events: none;
  z-index: 4;
} */

.hero-slider__bg {
  /* width: 75%; */
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  align-self: start;
  transition: all 0.3s ease;
}

.hero-slider__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 50px;
  color: var(--color-white);
  z-index: 4;
}

.hero-slider__category {
  display: inline-block;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.1);
  padding: 8px 18px;
  border-radius: 140px;

  -webkit-backdrop-filter: blur(21px);
  backdrop-filter: blur(21px);
}

.hero-slider__title {
  font-size: var(--font-size-5xl);
  line-height: 90%;
  font-weight: var(--font-weight-semibold);
  margin-top: 15px;
  max-width: 90%;
}

.hero-slider__navigation {
  position: absolute;
  right: 43px;
  bottom: 60px;
  z-index: 5;
  display: flex;
  gap: 14px;
  height: 56px;
}

.hero-slider__arrow {
  position: static;
  width: 56px;
  height: 56px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(21px);
  backdrop-filter: blur(21px);
  cursor: pointer;
  margin: 0;
}

.hero-slider__arrow:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-slider__arrow::after {
  color: white;
  font-size: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}

.hero-slider__slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  background: rgba(50, 50, 50, 1);
}

/* .hero-slider__slide-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to left,
    rgba(50, 50, 50, 1) 0%,
    rgba(50, 50, 50, 0) 100%
  );
} */

.hero-slider__slide-link:hover {
  color: inherit;
}

.hero-slider__slide-link:hover .hero-slider__title {
  text-decoration: none;
}

.hero-slider .swiper-lazy-preloader {
  border-color: var(--color-primary);
  border-top-color: transparent;
}

@media (max-width: 1700px) {
  .hero-slider {
    height: calc(100vh - 72px - 70px - 54px);
    height: calc(100svh - 72px - 70px - 54px);
    height: calc(100dvh - 72px - 70px - 54px);
  }

  .hero-slider__content {
    padding: 80px 35px;
  }

  .hero-slider__category {
    padding: 6px 14px;
    border-radius: 100px;
  }

  .hero-slider__title {
    margin-top: 10px;
  }

  .hero-slider__navigation {
    right: 30px;
    bottom: 80px;
    gap: 10px;
    height: 40px;
  }

  .hero-slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 7px;
  }

  .hero-slider__arrow::after {
    color: white;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .hero-slider__bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    align-self: start;
    transition: all 0.3s ease;
  }

  /* .hero-slider__slide::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url("../img/main/hero/bg-mobile.svg");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top 150px right -200px;
    pointer-events: none;
    z-index: 4;
  } */

  /* .hero-slider__slide-link::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: auto;
    bottom: 30%;
    width: 100%;
    height: 80%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      to top,
      rgba(50, 50, 50, 1) 0%,
      rgba(50, 50, 50, 0) 100%
    );
  } */
}

@media (max-width: 768px) {
  .hero-slider__content {
    padding: 50px 20px;
  }

  .hero-slider__category {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
  }

  .hero-slider__title {
    margin-top: 10px;
    width: 100%;
  }

  .hero-slider__navigation {
    top: 20px;
    right: 20px;
    bottom: auto;
  }
}
