/* Ensure the slider container and images are full width */
.slider {
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden; /* Hide overflow content */
  position: relative; /* For positioning arrows and dots correctly */
}

.slider.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.module-title {
  display: none;
}

/* Set a fixed height for each slide */
.slider .slick-track,
.slider .slick-list {
  display: block;
  height: 100%; /* Ensure the list and track take up full container height */
}

.slider div.slick-slide {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  height: 100%; /* Make the slides fill the container height */
  width: 100%;
}

.slider div.slick-slide div {
  height: 100%;
  width: 100%;
}

/* Style images to cover the container and avoid overflow */
.slider div.slick-slide img {
  width: 100%; /* Make the image fill the width */
  height: 100%; /* Make the image fill the height */
  object-fit: cover; /* Ensure the image fills the container without distortion */
  margin: 0;
}

/* Slick Arrow Styling */
.slick-arrow {
  display: block;
  position: absolute;
  z-index: 1;
  width: auto;
  height: max-content;
  cursor: pointer;
  padding: 12px;
}

.slick-arrow svg {
  width: 30px;
  height: auto;
}

.slick-arrow.slick-prev {
  left: 18px;
}

.slick-arrow.slick-next {
  right: 18px;
}

.slick-arrow.slick-next svg {
  transform: rotate(180deg);
}

.slick-arrow.slick-prev::before,
.slick-arrow.slick-next::before {
  display: none;
}

/* Dot navigation */
.slick-dots {
  position: absolute;
  bottom: 40px;
}

.slick-dots li {
  margin: 0 4px;
}

.slick-dots li button {
  width: max-content;
  height: max-content;
}

.slick-dots li button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid white;
  opacity: 1;
}

.slick-dots li.slick-active button::before {
  border: 1px solid white;
  background-color: white;
  opacity: 1;
}

/* Optional: Media queries for responsiveness */
@media (max-width: 1024px) {
  .slick-arrow {
    padding: 10px; /* Adjust the size of arrows */
  }

  .slider {
    width: 100%;
    height: 560px;
  }

  .slick-arrow svg {
    width: 16px;
    height: auto;
  }
  .slick-dots {
    bottom: 20px; /* Adjust position of dots */
  }
}

@media (min-width: 1024px) {
  .slider {
    height: 600px;
  }

  .hero.module.bordered .image-wrap .slider img {
    width: 100%;
    height: 100%;
    margin: 0;
  }
}
