.hero-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .hero-slider__swiper,
.hero-slider .hero-slider__swiper .swiper-wrapper,
.hero-slider .hero-slider__swiper .swiper-slide {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slider .hero-slider__swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .hero-slider__slide {
  width: 100%;
  height: 100%;
}

.hero-slider .hero-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 1 !important;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.95) 100%
  );
  opacity: 0.55;
  pointer-events: none;
}

.hero-slider__container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-slider__content {
  width: 100%;
  max-width: 140rem;
  padding-left: 0;
  color: #ffffff;
  z-index: 3;
}

.hero-slider__kicker {
  display: block;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-slider__heading {
  margin: 0 0 2rem;
  font-size: 9.6rem !important;
  font-weight: 700 !important;
  line-height: 1.05;
  color: var(--white) !important;
}

.hero-slider__description {
  max-width: 50rem;
  margin: 0 0 3.2rem;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 2.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border-radius: 0;
  border: 0.1rem solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.hero-slider__btn--primary {
  background-color: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
}

.hero-slider__btn--primary:hover {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #ffffff !important;
}

.hero-slider__btn--secondary {
  background-color: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.hero-slider__btn--secondary:hover {
  background-color: var(--secondary) !important;
  color: #ffffff !important;
  border-color: var(--secondary) !important;
}

.hero-slider .hero-slider__pagination.swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: auto;
  transform: translateX(-50%);
}

.hero-slider .hero-slider__pagination .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 !important;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5rem;
  opacity: 1;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.hero-slider .hero-slider__pagination .swiper-pagination-bullet-active {
  width: 2.8rem;
  background-color: #ffffff;
}

/* Breakpoints match the theme's own `respond()` mixin
   (grit/sass/sass-utilis/_mixins.scss) and grit-child/style.css:
   tab-land = 75em (1200px), phone = 47.938em (767px), min-phone = 35em (560px). */

@media only screen and (max-width: 75em) {
  .hero-slider {
    padding: 0 6rem;
  }
  .hero-slider__content {
    max-width: 100%;
  }

  .hero-slider__kicker {
    font-size: 1.4rem;
  }

  .hero-slider__heading {
    font-size: 6rem !important;
  }

  .hero-slider__description {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 47.938em) {
  .hero-slider {
    padding: 0 3.5rem;
    height: 65rem;
    align-items: center;
  }

  .hero-slider__container {
    padding: 0 2rem;
  }

  .hero-slider__content {
    max-width: 100%;
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .hero-slider__kicker {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .hero-slider__heading {
    font-size: 5rem !important;
  }

  .hero-slider__description {
    font-size: 1.6rem;
  }

  .hero-slider__actions {
    gap: 1rem;
  }

  .hero-slider__btn {
    padding: 1.4rem 2.2rem;
    font-size: 1.3rem;
  }

  .hero-slider .hero-slider__pagination.swiper-pagination {
    bottom: 2rem;
  }
}

@media only screen and (max-width: 35em) {
  .hero-slider__container {
    padding: 0 1.5rem;
  }

  .hero-slider__content {
    padding-bottom: 4rem;
  }

  .hero-slider__kicker {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .hero-slider__heading {
    font-size: 4.5rem !important;
  }

  .hero-slider__description {
    font-size: 1.4rem;
  }

  .hero-slider__actions {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .hero-slider__btn {
    width: 100%;
    padding: 1.3rem 2rem;
  }

  .hero-slider .hero-slider__pagination.swiper-pagination {
    bottom: 1.5rem;
  }
}
