/* Slider wrapper */
.mhs-slider-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Swiper container */
.mhs-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slide styling */
.mhs-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

/* Slide content above link */
.mhs-content {
    position: relative;
    z-index: 10;
    padding: 15px;
}

/* Featured image */
.mhs-swiper .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Full-slide clickable link */
.mhs-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Navigation arrows */
.mhs-prev, .mhs-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: #8d8d8d;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mhs-prev { left: 10px; }
.mhs-next { right: 10px; }

/* Pagination dots below slider */
.mhs-slider-wrap .mhs-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    z-index: 10;
}

.mhs-slider-wrap .mhs-pagination .swiper-pagination-bullet {
    margin: 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px){
    .mhs-prev, .mhs-next { width: 36px; height: 36px; }
}

.mhs-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* below content if needed */
}

/* Ensure content stays above link */
.mhs-content {
    position: relative;
    z-index: 10;
}

.mhs-prev, .mhs-next {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: all 0.3s;
}
.mhs-prev:hover, .mhs-next:hover {
  background: rgba(255,255,255,0.35);
  color: #000;
}
.mhs-prev::after, .mhs-next::after {
  font-size: 20px;
  font-weight: bold;
}

.mhs-slider {
  overflow: hidden;
}

.mhs-slider .swiper-slide {
  display: flex;
  align-items: center;       /* centers content vertically */
  justify-content: center;   /* centers content horizontally */
  height: 100%;
  box-sizing: border-box;
}

.mhs-swiper .swiper-wrapper {
  transition: height 0.3s ease;
  align-items: flex-start;
}
