.palaty-gallery {
  position: relative;
}

.f-gallery-simple .img {
  border-radius: var(--M, 24px);
}

.f-gallery-simple .name {
  color: var(--Black, #2b3440);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  padding-top: 8px;
  padding-bottom: 16px;
}

.f-gallery-simple .swiper-slide .name {
  display: none;
}

.f-gallery-simple .swiper-slide.swiper-slide-active .name {
  display: block;
}

.f-gallery-simple .nav-btns {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2c66bc;
}

.f-gallery-simple .nav-btns .swiper-button-next,
.f-gallery-simple .nav-btns .swiper-button-prev {
  position: relative;
  left: inherit;
  right: inherit;
  border-radius: 28px;
  border: 1px solid #2c66bc;
  width: 40px;
  height: 40px;
  margin: 0;
}

.f-gallery-simple .nav-btns .swiper-button-next svg,
.f-gallery-simple .nav-btns .swiper-button-prev svg {
  max-width: 24px;
  min-height: 24px;
}

.f-gallery-simple .nav-btns .swiper-button-next:after,
.f-gallery-simple .nav-btns .swiper-button-prev:after {
  display: none;
}

.f-gallery-simple .nav-btns .swiper-pagination {
  position: relative;
  width: auto;
  padding: 0 16px;
  margin-top: 14px;
}

.f-gallery-simple .nav-btns .swiper-pagination .swiper-pagination-current {
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .f-gallery-simple .name {
    font-size: 16px;
  }
}
