/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.white img {
    filter: brightness(0) invert(1);
}

.brd {
  position: relative;
  display: inline-block;
  padding-left: 12px;
}

.brd::before {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 1px;
  height: 20px;
  background-color: #3385FF;
}

.ttl{font-size:20px;
  font-weight:500;
  letter-spacing:-0.4px;
  margin-bottom:12px;
  line-height:1.5;
  color:#ECF3FF;
}

@media (max-width: 767px) {
.ttl{font-size:14px;
}}


.stats {
display: flex;
gap: 16px;
justify-content: space-between;
}

.stat {
width: calc(50% - 8px);
}

.stat-value {
color: #ECF3FF;
font-size: 28px;
font-weight: 500;
line-height: 1.28;
letter-spacing: -0.84px;
margin-bottom: 4px;
}

.stat-text {
color: #fff; /* при необходимости поменяй */
font-size: 16px;
line-height: 1.5;
}

@media (max-width: 767px) {
.stats {flex-direction: column;
margin-top:40px!important;
padding-top:32px;
border-top:1px solid rgba(208, 224, 255, 0.25);}
.stat {
  width: 100%;
}}

@media (min-width: 767px) {
.statblock .elementor-icon-box-content{height:550px}}

@media (max-width: 1024px) {
.animated-line-wrapper-5{display:none}}

.statblock .elementor-icon-box-content {
  display: flex;
  flex-direction: column
}

.statblock .elementor-icon-box-content .stats {
  margin-top: auto;}

@media only screen and (max-width: 1200px) and (min-width: 1024px){
.statblock .elementor-icon-box-content{height: 650px}
}


.team-info-wrapper {margin: 33px auto 0; width:fit-content}
.team-info-text p{font-size:20px; text-align: left; letter-spacing:-0.4px; margin-bottom:0;}
.authorexc{margin-top:0; color:#fff; letter-spacing:-0.32px; font-size:16px}

.icon-gallery-row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

@media (max-width: 767px) {
  .icon-gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}


.animated-line-wrapper-5 {
  width: 100%;
  position: relative;
  height: 20px;
}

.animated-line-5 {
  position: relative;
  width: 100%;
  height: 2px;
}

.animated-line-5 .line {
  position: absolute;
  left: 0;
  top: 9px;
  height: 2px;
  background-color: #D6D6D6;
  width: 0;
  transition: width 2s ease;
}

/* Круглые маркеры с пульсирующим шейдером */
.animated-line-5 .dot {
  position: absolute;
  top: 6px;
  width: 8px;
  height: 8px;
  background-color: #474A51;
  border-radius: 50%; /* Делаем круглыми */
  transform: translateX(-50%) scale(0.1);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Пульсирующий шейдер вокруг точек */
.animated-line-5 .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 74, 81, 0.4) 0%, rgba(71, 74, 81, 0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

/* Анимация пульсации */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Позиции точек */
.animated-line-5 .d1 { left: 0%; }
.animated-line-5 .d2 { left: calc(20% + 5px); }
.animated-line-5 .d3 { left: calc(40% + 10px); }
.animated-line-5 .d4 { left: calc(60% + 15px); }
.animated-line-5 .d5 { left: calc(80% + 20px); }

/* Появление */
.animated-line-5.active .dot.visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Запуск пульсации у видимых точек */
.animated-line-5.active .dot.visible::after {
  animation: pulse 2s ease-in-out infinite;
  opacity: 1;
}

@media (max-width: 767px) {
.animated-line-wrapper{display:none;
}}



.animated-line-wrapper-5 {
  width: 100%;
  position: relative;
  height: 20px;
}

.animated-line-5 {
  position: relative;
  width: 100%;
  height: 2px;
}

.animated-line-5 .line {
  position: absolute;
  left: 0;
  top: 9px;
  height: 2px;
  background-color: #D6D6D6;
  width: 0;
  transition: width 2s ease;
}

/* Круглые маркеры с пульсирующим шейдером */
.animated-line-5 .dot {
  position: absolute;
  top: 6px;
  width: 8px;
  height: 8px;
  background-color: #474A51;
  border-radius: 50%; /* Делаем круглыми */
  transform: translateX(-50%) scale(0.1);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Пульсирующий шейдер вокруг точек */
.animated-line-5 .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 74, 81, 0.4) 0%, rgba(71, 74, 81, 0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

/* Анимация пульсации */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Позиции точек */
.animated-line-5 .d1 { left: 0%; }
.animated-line-5 .d2 { left: calc(20% + 5px); }
.animated-line-5 .d3 { left: calc(40% + 10px); }
.animated-line-5 .d4 { left: calc(60% + 15px); }
.animated-line-5 .d5 { left: calc(80% + 20px); }

/* Появление */
.animated-line-5.active .dot.visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Запуск пульсации у видимых точек */
.animated-line-5.active .dot.visible::after {
  animation: pulse 2s ease-in-out infinite;
  opacity: 1;
}

@media (max-width: 767px) {
.animated-line-wrapper{display:none;
}}


/* Динамичное подчеркивание */
.dynamic-underline ul {
  padding: 0; 
  margin: 0;
  list-style: none; 
}

.dynamic-underline li {
  display: inline-block; 
}

.dynamic-underline a span{
  position: relative;
  display: inline-block; /* Ограничиваем ширину ссылкой */
  text-decoration: none;
  color: inherit; /* Цвет наследуется от текста */
}

.dynamic-underline a span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px; /* Толщина подчеркивания */
  background-color: currentColor; /* Цвет линии соответствует тексту */
  transition: width 0.3s ease; /* Плавная анимация */
}

.dynamic-underline a span:hover::after {
  width: 100%; /* Линия растягивается до ширины текста */
}