 .splide,.splideTwo{
 margin:0 10px;
 }
 
 .splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 4px !important;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 60px !important;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px !important;
    z-index: 1;
}
    .splide__arrow--next{
        right: 5px;
    }
    .splide__arrow--prev{
       left: 5px; 
    }
.splide__arrow svg {
    fill: #000000;
    height: 1.2em;
    width: 1.2em;
}
  .splide__slide img {
  width: 100%;
  height: auto;
 
}
.splide__pagination{
    bottom: -20px;
}
.splide__pagination__page {
    background: #c4c4c4;
    border: 0;
    border-radius: 4px;
    display: inline-block;
    height: 8px;
    width: 24px;
    margin: 3px;
    opacity: .7;
    padding: 0;
    position: relative;
    transition: transform .2s linear;
    width: 24px;
}
.splide__pagination__page.is-active {
    background: #ffffff;
    transform: scale(1.1);
    z-index: 1;
    opacity: 1;
}
.splide__list{
    color:#ffffff;
}
.splide__slide p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 10px 0;
}
p.slider_t {
    font-size: 24px;
    font-weight: 800;
    line-height: 22px;
}



/*before_after*/

.ba-slider {
  position: relative;
  width: 100%;
  height: 450px;
  aspect-ratio: 16 / 9; /* Настройте под формат ваших фото */
  overflow: hidden;
  user-select: none;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Начальное положение */
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

/* Растягиваем картинку "до" на всю ширину родителя, 
чтобы она не сжималась при движении ползунка */
.ba-before-wrapper img {
  width: 100vw; 
  max-width: none;
}

/* Скрытый инпут поверх всего для управления */
.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

/* Линия разделителя */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  z-index: 5;
  pointer-events: none;
  transform: translateX(-50%);
}

/* Кружок со стрелками */
.ba-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.label{
 color: #ffffff;
    padding: 4px 12px;
    background-color: #0000008c;
    backdrop-filter: blur(2px);
    border: 0.5px solid #ffffff75;

}
.label_before{
position: absolute;
    top: 20px;
    left: 20px;
}
.label_after{
  position: absolute;
    top: 20px;
    right: 20px;
}
@media (max-width:760px){
  .ba-slider {
  position: relative;
  width: 100%;
  height: 280px;
  aspect-ratio: 16 / 9; /* Настройте под формат ваших фото */
  overflow: hidden;
  
  user-select: none;
  }
  .splide.splideTwo{
 margin:0;
 }
 p.slider_t {
    font-size: 20px;
    font-weight: 800;
    line-height: 22px;
}
.splide__pagination{
    bottom: -20px !important;
}
.splide__slide img {
  
  filter: brightness(0.5);
}
.splide__slide.is-active img{
    filter: brightness(1);
}

    
}