* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.marque,
.marque-2 {
  height: auto !important;
  overflow: visible;
  display: block;
}

[text-split] {
  opacity: 0;
}
html.w-editor [text-split] {
  opacity: 1;
}

.word {
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  transform-origin: bottom;
}

.bottom-line-hover {
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bottom-line-hover:before {
  content: "";
  position: absolute;
  width: 0;
  background: #fff;
  left: 45%;
  height: 1px;
  bottom: 0;
  transition: all 0.3s;
}

.bottom-line-hover:hover:before {
  width: 100%;
  left: 0;
}

.arrow-sqr-button {
  user-select: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.8s ease-in-out;
}

.arrow-btn__sqr {
  position: relative;
  overflow: hidden;
  transition: all 0.8s ease-in-out;
}

.arrow-btn__sqr::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: white;
  transition: width 0.8s ease-in-out, height 0.8s ease-in-out;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.arrow-btn__sqr svg {
  position: relative;
  z-index: 2;
  transition: all 0.8s ease-in-out;
}

.arrow-sqr-button__label {
  user-select: none;
  transition: all 0.8s ease-in-out;
}

.arrow-btn__sqr svg path {
  stroke: white;
  transition: stroke 0.8s ease-in-out;
}

.arrow-sqr-button:active {
  opacity: 0.9;
}

@media screen and (min-width: 991px) {
  .arrow-sqr-button:hover .arrow-btn__sqr::before {
    width: 100px;
    height: 100px;
    transition: all 0.8s ease-in-out;
  }

  .arrow-sqr-button:hover .arrow-btn__sqr-big::before {
    width: 220%;
    height: 1000px;
    transition: all 0.8s ease-in-out;
  }

  .arrow-sqr-button:hover .arrow-btn__sqr svg path {
    stroke: #141414;
  }

  .arrow-sqr-button:hover .arrow-sqr-button__label_dark {
    color: #141414;
  }

  .arrow-sqr-button:hover {
    color: #141414;
  }

  .w-form-loading.arrow-sqr-button {
    cursor: not-allowed;
  }

  .header-contact-link-label {
    user-select: none;
  }

  .arrow-btn__sqr {
    --before-left: 50%;
    --before-top: 50%;
  }

  .arrow-btn__sqr::before {
    left: var(--before-left, 50%);
    top: var(--before-top, 50%);
  }
}

.swiper-slide {
  width: auto;
}

.language-link {
  height: 20px;
}

.language-link-active {
  /* line-height: 1; */
  /* overflow: hidden; */
  height: 20px;
  /* text-box-trim: trim-both; */
}

.material-card__button .arrow svg path {
  /* Плавность анимации для цвета стрелки */
  transition: all 0.3s ease;
}

.material-card__button .arrow-btn__sqr {
  /* Плавность анимации для цвета стрелки */
  transition: all 0.3s ease;
}

/* --- АКТИВНОЕ СОСТОЯНИЕ --- */
.material-card__button--active {
  border-color: #fff; /* Граница становится белой при активации */
}

.material-card__button--active .arrow-btn__sqr {
  background-color: white; /* Фон становится белым */
  transform: translateX(8px); /* Смещение вправо */
}

.material-card__button--active .arrow svg path {
  stroke: black; /* Стрелка становится черной */
}

/* 
.team-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  animation: move_advantages_big 2s linear infinite;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

.team-list:hover {
  animation-play-state: paused;
}

.team-item {
  transition: transform 0.5s ease-in-out;
  pointer-events: auto;
}

@keyframes move_advantages_big {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes move_advantages_small {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
} */

/* @keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

.team-list {
  animation: scroll 5s linear infinite;
}

.reverse {
  animation-direction: reverse;
}

.team-item {
  -webkit-transform: translateZ(0);
} */
/* .js-marquee-wrapper {
  height: auto !important;
} */
