.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;
}


/* Mobile first: no margin by default */
.weglot-container {
  margin-left: 0;
  
}

/* Desktop and up */
@media (min-width: 768px) {
  .weglot-container {
    margin-left: 0px;
    margin-top:40px;
  }
}
/* ================================
   SERVICES DROPDOWN (DESKTOP)
   Glass dropdown, one-line items
   ================================ */
@media (min-width: 768px) {

  /* Dropdown panel (glass) */
  .t-menu__submenu,
  .tmenu__submenu,
  .t-menusub__menu,
  .t456__submenu,
  .t-menu__submenubox,
  .t-menusub__wrap,
  .t-menu__submenu-content,
  .tmenu__submenu-content {
    background: rgba(15, 25, 35, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18) !important;

    min-width: 295px !important;
    width: max-content !important;
    padding: 14px 18px !important;
  }

  /* Submenu links */
  .t-menu__submenu a,
  .tmenu__submenu a,
  .t-menusub__menu a,
  .t456__submenu a,
  .t-menu__submenubox a,
  .t-menusub__wrap a,
  .t-menu__submenu-content a,
  .tmenu__submenu-content a {
    color: #fff !important;
    display: block !important;
    text-align: left !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    padding: 6px 0 !important;
  }

  /* Hover background */
  .t-menu__submenu a:hover,
  .tmenu__submenu a:hover,
  .t-menusub__menu a:hover,
  .t456__submenu a:hover,
  .t-menu__submenubox a:hover,
  .t-menusub__wrap a:hover {
    background: rgba(255,255,255,0.06) !important;
  }
}


/* ================================
   SERVICES DROPDOWN (MOBILE)
   Inline list, smaller font, no box
   ================================ */
@media (max-width: 767px) {

  /* Remove submenu panel styling on mobile */
  .t-menu__submenu,
  .tmenu__submenu,
  .t-menusub__menu,
  .t456__submenu,
  .t-menu__submenubox,
  .t-menusub__wrap,
  .t-menu__submenu-content,
  .tmenu__submenu-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  /* Submenu items on mobile: smaller + indented */
  .t-menu__submenu a,
  .tmenu__submenu a,
  .t-menusub__menu a,
  .t456__submenu a,
  .t-menu__submenubox a,
  .t-menusub__wrap a,
  .t-menu__submenu-content a,
  .tmenu__submenu-content a {
    font-size: 13px !important;
    padding: 6px 0 6px 14px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    background: transparent !important;
  }
}


/* ================================
   HIDE DROPDOWN ARROW
   ================================ */
#allrecords .t228 .t-menusub__menu:before,
#allrecords .t228 .t-menusub__menu:after,
#allrecords .t228 .t-menusub__menu_bottom:before,
#allrecords .t228 .t-menusub__menu_bottom:after,
#allrecords .t228 .t-menusub__menu_top:before,
#allrecords .t228 .t-menusub__menu_top:after {
  display: none !important;
  content: none !important;
}

/* Rounded corners for Services dropdown */
@media (min-width: 768px) {
  .t-menusub__menu,
  .t-menu__submenu,
  .tmenu__submenu,
  .t-menusub__wrap,
  .t-menu__submenubox,
  .t-menu__submenu-content,
  .tmenu__submenu-content {
    border-radius: 20px !important;
    overflow: hidden !important;
  }
}

@media (min-width: 768px) {
  .t-menu__submenu a:hover,
  .tmenu__submenu a:hover,
  .t-menusub__menu a:hover,
  .t456__submenu a:hover,
  .t-menu__submenubox a:hover,
  .t-menusub__wrap a:hover,
  .t-menu__submenu-content a:hover,
  .tmenu__submenu-content a:hover {
    background: transparent !important;
  }
}