.no-shadow-on-hover,
.no-shadow-on-hover .tn-atom {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: box-shadow 3s ease, transform 3s ease;
  transform: translateY(0);
}

.no-shadow-on-hover:hover,
.no-shadow-on-hover:hover .tn-atom {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(1px);
}

.t958__card-wrapper {
  box-shadow:
    0 0 40px 10px rgba(0, 122, 255, 0.35),
    0 0 80px 30px rgba(0, 122, 255, 0.2),
    0 0 120px 60px rgba(0, 122, 255, 0.1);
  transform: scale(0.95);
  opacity: 0.6;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
  position: relative;
  z-index: 2;
    will-change: transform, opacity;
c
}



.t958__card-wrapper:hover {
  box-shadow:
    0 0 60px 20px rgba(0, 122, 255, 0.45),
    0 0 100px 40px rgba(0, 122, 255, 0.3),
    0 0 160px 80px rgba(0, 122, 255, 0.2);
  transform: translateY(-5px);
}


/* Расчистка ограничивающих контейнеров */
.t958__slidecontainer,
.t958__slider,
.t958__item,
.t-slds__wrapper {
  overflow: visible !important;
}

/* ПОЛЬЗОВАТЕЛЬСКИЙ КОНТЕЙНЕР, КОТОРЫЙ МОЖЕТ ОБРЕЗАТЬ (t958__gallery) */
.t958__gallery {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

/* УДАЛЯЕМ ФЕЙКОВЫЙ ПЕРЕРАСЧЁТ ВЫСОТЫ */
.t958__height {
  display: none !important;
}

html, body {
  overflow-x: hidden;
}

.custom-slider-controls {
  text-align: center;
}

.custom-slider-controls button {
  background-color: #007aff;
  color: white;
  font-size: 28px;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 5 5px;
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.custom-slider-controls button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 122, 255, 0.7);
}
/* Все карточки уменьшены по умолчанию */
.t958__card-wrapper {
  transform: scale(0.9);
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}


/* Hover effect */
.t958__card-wrapper:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 60px 20px rgba(0, 122, 255, 0.45),
    0 0 100px 40px rgba(0, 122, 255, 0.3),
    0 0 160px 80px rgba(0, 122, 255, 0.2);
}


/* Активная карточка — нормального размера */
.t958__card-visible {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

/* Найти обертку вокруг активной карточки и масштабировать её */
.t958__card-visible:closest(.t958__card-wrapper),
.t958__card-visible.parent-scaled {
  transform: scale(1) !important;
  opacity: 1;
  z-index: 2;
}

.t958__card {
  position: relative;
}

.custom-stars {
  margin-bottom: -28px;
  position: absolute;
  bottom: 67px;
  right: 50px;
  display: flex;
  gap: 3px;
  z-index: 2;
}

.custom-stars .star {
  color: #4574E2;
  font-size: 20px;
  opacity: 0.85;
}

.t958__card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0px;
}

.t958__review {
  order: -1; /* На всякий случай, чтобы всегда было сверху */
}

.t958__author {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: -16px;
}

.t958__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background-size: cover !important;
}

.t958__author-name {
  font-size: 14px;
    margin-left:-20px;
  color: #fff;
  margin-bottom: 5px;
}

.t958__author-descr {
  font-size: 12px;
  color: #aaa;
}

/*cutom video block*/
.video-carousel {
  width:100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: transparent;
  padding: 40px 0;
  margin: 0 auto;
  position: relative;
}

.video-mask-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

.video-strip {
  display: flex;
  gap: 20px;
  will-change: transform;
  left: 0;
  top: 0;
  padding: 0 10px;
  width: max-content;
  margin: 0 auto;
}

.video-card {
  width: 416px;
  height: auto;
  flex: 0 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-left:26px;
}

.video-frame {
  width: 416px;
  height: 232px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 30px;
}

.watch-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 2;
}

.video-info {
  margin-top: 10px;
  margin-left:30px;
  text-align: left;
  color: #ffffff;
}

.video-title {
  font-size: 16px;
  font-weight: bold;
}

.video-meta {
margin-top:10px;
  font-size: 14px;
  color: #ccc;
}

/* Автопрокрутка */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

.video-carousel:hover .video-strip {
  animation-play-state: paused;
}

#rec940158286 .t396__elem {
width: 100vw!important; 
left: 0px!important; 
}

#rec969699301 .t181__wrapper {
    margin-left: 70px!important;
}

#rec892708375 {
  display: none;
  position: fixed;
  top: 70px; /* или сколько нужно отступа от меню */
  left: 0;
  width: 100%;
  z-index: 9999;
}
