.pf-gallery-wrapper {
  position: relative;
  padding-bottom: 40px; /* space for nav */
}

.pf-gallery-carousel .swiper-wrapper {
  align-items: center;
}

.pf-gallery-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-gallery-carousel img {
  display: block;
  width: 100%;
  height: 420px;            /* adjust as needed */
  object-fit: cover;
  border-radius: 24px;      /* overridden by widget control */
}

/* caption (optional) */
.pf-gallery-caption {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

/* put extra space below slider for arrows */
.pf-gallery-wrapper {
  position: relative;
  padding-bottom: 0px;
}

/* arrows BELOW the images, centered */
.pf-gallery-wrapper .swiper-button-prev,
.pf-gallery-wrapper .swiper-button-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0c7a4a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

  top: auto;          /* remove vertical centering */
  bottom: 20px;       /* below gallery */
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.pf-gallery-wrapper .swiper-button-prev:after,
.pf-gallery-wrapper .swiper-button-next:after {
  font-size: 14px;
}

/* keep them next to each other in the middle */
.pf-gallery-wrapper .swiper-button-prev {
  left: 50%;
  transform: translateX(-120%);
}

.pf-gallery-wrapper .swiper-button-next {
  right: 50%;
  transform: translateX(120%);
}

.pf-gallery-wrapper .swiper-pagination {
  bottom: 6px;
}
