#lb_button-wrapper{z-index:999 !important;}

.uc-certificat .t-animate_started[data-animate-style=fadein] {
    justify-content: center;
}


/* 1. Обёртка карточек */
#rec1144762356 .t1196__items {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

/* 2. Плавные затемнения слева и справа */
#rec1144762356 .t1196__items::before,
#rec1144762356 .t1196__items::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

#rec1144762356 .t1196__items::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 248, 248, 1), rgba(248, 248, 248, 0.1));
}

#rec1144762356 .t1196__items::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 248, 248, 1), rgba(248, 248, 248, 0.1));
}

/* 3. Мягкое затемнение самих карточек по краям */
#rec1144762356 .t1196__slider {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* 4. Стрелки внутри контейнера */
#rec1144762356 .t1196__controls {
  position: absolute;
  top: 40%;
  left: 0;
  height: 100%;
  margin: 0 auto;
  z-index: 20;
  pointer-events: none;
}

/* 5. Позиционирование стрелок */
#rec1144762356 .t1196__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 21;
}

/* Левая стрелка */
#rec1144762356 .t1196__control_left {
  left: 10px;
}

/* Правая стрелка */
#rec1144762356 .t1196__control_right {
  right: 10px;
  transform: translateY(-50%) rotate(180deg);
}

/* 6. SVG стрелок */
#rec1144762356 .t1196__control svg {
  transform: none !important;
}



#rec1142909716 .t1148__gallery {
  position: relative;
  overflow: hidden !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Градиенты по краям */
#rec1142909716 .t1148__gallery::before,
#rec1142909716 .t1148__gallery::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#rec1142909716 .t1148__gallery::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 248, 248, 1), rgba(248, 248, 248, 0));
}

#rec1142909716 .t1148__gallery::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 248, 248, 1), rgba(248, 248, 248, 0));
}

/* Перемещаем стрелки ЗА пределы галереи */
#rec1142909716 .t1148__controls {
  position: absolute;
  top: 50%;
  left: -60px; /* стрелка "назад" будет левее блока */
  right: -60px; /* стрелка "вперёд" будет правее блока */
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% + 120px); /* увеличить общую ширину контейнера */
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0px 60px;
}

/* Сами стрелки — кликабельны */
#rec1142909716 .t1148__control {
  pointer-events: auto;
}

@media screen and (max-width: 960px) {
    #rec1144762356 .t1196__items, #rec1142909716 .t1148__gallery {
      max-width: 960px;
}
}

@media screen and (max-width: 640px) {
    #rec1144762356 .t1196__items, #rec1142909716 .t1148__gallery {
      max-width: 640px;
}
}
@media screen and (max-width: 480px) {
    #rec1144762356 .t1196__items, #rec1142909716 .t1148__gallery {
      max-width: 480px;
}
}
@media screen and (max-width: 360px) {
    #rec1144762356 .t1196__items, #rec1142909716 .t1148__gallery {
      max-width: 360px;
}
}


