.swiper {
  margin: 1.5rem 0;
}
.list-swiper-wrapper {
  position: relative;
  height: 100%;
}
.list-swiper-wrapper .slide-button {
  position: absolute;
  top: 0;
  outline: none;
  border: none;
  height: 100%;
  width: 40px;
  z-index: 50;
  color: #fff;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;

}

.list-swiper-wrapper .slide-button:hover {

}

.list-swiper-wrapper .slide-button#prev-slide, .list-swiper-wrapper .slide-button.prev-slide {
  /*left: -20px;*/
  display: none;
}

.list-swiper-wrapper .slide-button#next-slide, .list-swiper-wrapper .slide-button.next-slide {
  /*right: -20px;*/
}
.list-swiper-wrapper .la--angle-right, .list-swiper-wrapper .la--angle-left {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #8080803d;
  transition: background .4s ease;
  backdrop-filter: saturate(90%) invert(100%) opacity(40%) brightness(130%);
}
.list-swiper-wrapper .slide-button:hover .la--angle-right, .list-swiper-wrapper .slide-button:hover .la--angle-left {
  background-color: #555555ab;
}

#swiper_service .list-swiper-wrapper::before,#swiper_service .list-swiper-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 5%;
}
.list-swiper-wrapper::before {
  background: linear-gradient(to right,#fff,transparent);
  left: 0;
  z-index: 1;
}
.list-swiper-wrapper::after {
  background: linear-gradient(to left,#fff,transparent);
  right: 0;
}
.list-swiper-wrapper .image-list {

  display: flex;
  overflow: scroll;
  margin-bottom: .75rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: .3rem;

}
.list-swiper-wrapper .image-list::-webkit-scrollbar {
  display: none;
}

.list-swiper-wrapper .image-list > * {
  padding: 0 .2rem;
  width: 100%;
  flex: 0 0 auto;
  /*aspect-ratio: 4 / 3;*/
}
[id^="gallery"] .list-swiper-wrapper .image-list > * {
    aspect-ratio: 1;
}
.list-swiper-wrapper .image-list .content-wrap .footer-wrap {
  padding: .3rem
}
.list-swiper-wrapper .image-list .n-item.category-post-item-imgbg .content-wrap .entry-title {
  height: 1.4rem;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
font-weight: bold;
font-size: 1.2rem;
line-height: 1.4rem;
padding: 0;
margin-bottom: .7rem;
}
.list-swiper-wrapper .image-list .n-item.category-post-item-imgbg .content-wrap .entry-subtitle {
  font-weight: 500;
  font-size: .9rem;
  line-height: 1.1rem;
  padding: 0;
  margin-bottom: .7rem;
}
.list-swiper-wrapper .image-list .n-item.category-post-item-imgbg .content-wrap .entry-content {
  font-size: .8rem;
  line-height: 1.1rem;
height: 11.0rem;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 10;
-webkit-box-orient: vertical
}
.list-swiper-wrapper .swiper-item {
  position: relative;
}
.list-swiper-wrapper .content-link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin-left: 0;
  z-index: 5;
}
.list-swiper-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-swiper-wrapper .image-list .n-item.category-post-item-imgbg {
  position: relative;
  margin: 0;
  height: 100%;
  border-radius: .3rem;
  overflow: hidden;
  padding: .7rem;
  background-color: #fff;
  border-radius: .5rem;
}
.list-swiper-wrapper .n-item.category-post-item-imgbg .img-wrap {
  aspect-ratio: 5 / 3;
}
.list-swiper-wrapper .n-item.category-post-item-imgbg img {
  height: auto;
}
.container .slider-scrollbar {
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.list-swiper-wrapper .n-item.category-post-item-imgbg .img-wrap::before {

    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;

}
.list-swiper-wrapper .n-item.category-post-item-imgbg .footer-wrap::before {
  content: none;
}
.list-swiper-wrapper .n-item.category-post-item-imgbg .content-wrap::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
  z-index: -1;
}
.slider-scrollbar .scrollbar-track {
  background: rgb(217, 217, 217);
  width: 100%;
  height: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
}

.slider-scrollbar:hover .scrollbar-track .scrollbar-thumb {
  background: #6d1d47;
}

.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  background: rgb(149, 149, 149);
  top: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  cursor: grab;
  border-radius: inherit;
}

.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  background: #6d1d47;

}

.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}
.disable-link {
  pointer-events: none; /* Не доступно для взаимодействия */
}
.xonly 
{
  padding-block: 1rem;
  touch-action: pan-y !important; 
  position: relative;
  height: 100%;
  max-width: 100%;
  /*overflow: hidden;*/
}
.xonly .image-list {
    /*display: flex;*/
    cursor: grab;
    user-select: none;
    touch-action: pan-y !important;
}
.swiper-post-card .carousel {
  border-radius: unset;
}
.swiper-post-card .item-card {
  aspect-ratio: unset;
}
.swiper-post-card .item-card .inner-wrap {
  flex-direction: column;
  box-shadow: none;
  border-radius: unset;
  overflow: visible;
  height: auto;
}
.swiper-post-card .item-card .inner-wrap .card-image-wrap {
  /*border-radius: var(--default-border-radius);*/
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--default-aspect-r);
}
.swiper-post-card .item-card .inner-wrap .card-image-wrap a, .swiper-post-card .item-card .inner-wrap .card-image-wrap img,
 .item-card  .carousel, .item-card .carousel-inner, .item-card .carousel-item {
  width: 100%;
  height: 100%;
  display: block;
}
.swiper-post-card .item-card .inner-wrap .card-image {
  position: relative;
}
.swiper-post-card .item-card .inner-wrap .card-content {
  color: var(--blackTxt);
}
.dark-block .swiper-post-card .item-card .inner-wrap .card-content {
  color: #fff;
}
.swiper-post-card .item-overlay-bg::after {
  pointer-events: none;
  background: linear-gradient(to bottom,rgba(0, 0, 0, 0) 70%,rgba(0, 0, 0, 0.45) 100%) !important;
}
.swiper-post-card .card-content {
  padding-top: .5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.swiper-post-card .image-list {
  margin: 0;
}
.swiper-post-card .slide-button {
  /*margin-top: calc(100% / (2 * 2 )/ (var(--default-aspect-r)) - 1rem);*/
  height: auto;
}
.swiper-booster-inf .image-list {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform; /* Оптимизация для плавности */
  transition-property: transform; /* Указываем, что анимируем только трансформ */
}
.swiper-post-card .image-list > * {
    width: 100%;
}
/*.xonly .wrapper {
  overflow: hidden;
}
.xonly .inner {
  overflow: visible;
}*/
.list-swiper-wrapper .slide-button#prev-slide, .list-swiper-wrapper .slide-button.prev-slide {
  left: -10px;
  display: none;
}

.list-swiper-wrapper .slide-button#next-slide, .list-swiper-wrapper .slide-button.next-slide {
  right: -10px;
} 
#swiper_rooms .list-swiper-wrapper .slide-button#prev-slide,#swiper_rooms  .list-swiper-wrapper .slide-button.prev-slide {
  left: -35px;
  display: none;
}

#swiper_rooms .list-swiper-wrapper .slide-button#next-slide,#swiper_rooms  .list-swiper-wrapper .slide-button.next-slide {
  right: -35px;
} 
.list-swiper-wrapper .image-list > * {
  padding: 0 1rem;  
}
.features .inner-wrap {
  display: flex;
}
@media screen and (min-width: 720px) {
  .list-swiper-wrapper .image-list > * {
      width: 50%;
  }
  .swiper-post-card .slide-button {
    /*margin-top: calc(100% / (2 * 2 )/ (var(--default-aspect-r)) - 1rem);*/
    height: auto;
  }
}
@media  screen and (min-width: 992px) {
  #swiper_service .list-swiper-wrapper::before, #swiper_service .list-swiper-wrapper::after {
    width: 2%;
  }
  .swiper-post-card .slide-button {
    /*margin-top: calc(100% / (2 * 4 )/ (var(--default-aspect-r)) - 1rem);*/
    height: auto;
  }
  .list-swiper-wrapper .image-list > * {
      width: 25%;
      padding: 0 1rem;  
    }
  .features-items .list-swiper-wrapper .image-list > * {
      width: 16.666%;
      padding: 0 .5rem;  
    }
    .features-items .inner-wrap {
      display: flex;
    }
  .list-swiper-wrapper .slide-button#prev-slide, .list-swiper-wrapper .slide-button.prev-slide {
    left: 0;
    display: none;
  }

  .list-swiper-wrapper .slide-button#next-slide, .list-swiper-wrapper .slide-button.next-slide {
    right: 0;
  } 

}
