.main-financial-advisory-section {
  padding-top: var(--fluid-64-120);
  padding-bottom: clamp(92px, 27px + 16.7901vw, 228px);
  overflow: hidden;
  color: var(--bg-dark);
  background-color: var(--white-color);
}

.main-financial-advisory-title-wrapper {
  display: flex;
  width: 500%;
  animation: marquee-infinity 100s infinite linear;
}

@keyframes marquee-infinity {
  0% {
    transform: translateX(0);
  }

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

.main-financial-advisory-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300%;
  margin-inline: auto;
  margin-bottom: var(--fluid-64-120);
  font-size: var(--fluid-32-64);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--bg-dark);
  text-align: center;
  white-space: nowrap;
}

.main-financial-advisory-title::before,
.main-financial-advisory-title::after {
  /* position: absolute; */

  /* top: 50%; */

  /* font-size: inherit; */

  /* color: inherit; */

  /* white-space: nowrap; */

  /* content: attr(data-title); */

  /* transform: translateY(-50%); */
}

.main-financial-advisory-title::before {
  right: 100%;
}

.main-financial-advisory-title::after {
  left: 100%;
}

.main-financial-advisory-title span {
  width: 24px;
  height: 24px;
  margin-right: clamp(24px, 14px + 2.5926vw, 45px);
  margin-left: clamp(24px, 14px + 2.5926vw, 45px);
  background-color: var(--hover-color);
}

.financial-advisory-splide__arrows {
  position: absolute;
  top: calc(100% + var(--fluid-32-64));
  left: 0;
  display: flex;
  gap: 16px;
}
.financial-advisory-splide__arrow{
  transition-duration: 0.5s;
}
.financial-advisory-splide__arrow[disabled] svg rect{
  fill: #fafafa;
}
.financial-advisory-splide__arrow[disabled] svg path{
  stroke: #cdcdcd;
}
button[disabled], .financial-advisory-splide__arrow[disabled] {
  opacity: 1;
}

.my-slider-progress {
  display: none;
  margin-top: 24px;
  background: #ccc;
}

.my-slider-progress-bar {
  width: 0;
  height: 4px;
  background: var(--bg-dark);
  transition: width 400ms ease;
}

.financial-advisory-splide__track {
  margin-right: -120px;
}

.financial-advisory-splide__slide {
  display: flex;
  flex: 0 0 clamp(288px, 224px + 16.2963vw, 420px);
  flex-direction: column;
  row-gap: 24px;
  padding: 24px;
  background: rgb(6 11 23 / 2%);
  border: 1px solid #FFF;
  border-radius: 24px;
}

.main-financial-advisory-item-title {
  font-size: var(--fluid-20-24);
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  /* text-transform: capitalize; */
}

.main-financial-advisory-item-text {
  flex: 1 1 auto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
}

.main-financial-advisory-item-image {
  position: relative;
  width: clamp(240px, 176px + 16.2963vw, 372px);
  height: clamp(180px, 151px + 7.4074vw, 240px);
  margin-inline: auto;
}

.main-financial-advisory-item-image img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  mask: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 372 240' %3E%3Ctitle%3Eimage%3C/title%3E%3Cstyle%3E .s0 %7B fill: %23ffffff %7D %3C/style%3E%3Cpath id='Заливка сплошным цветом 1' class='s0' d='m0 233c0 2.8 3.5 7 7 7 0 0 262.9 0 262.9 0 3.1 0 6-4.5 6.1-7 0-0.1 0-34.3 0-34.4 2.3-24.6 21-51.6 54.7-54.6 4-0.4 34.3 0 34.3 0 2.9-0.1 7-2.7 7-4.9 0 0 0-133.1 0-133.1l-7-6c0 0-358 0-358 0-2.8 0-7.1 3.7-7 7.1 0 0 0 225.7 0 225.9z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
}

.main-financial-advisory-item-button {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-dark);
  border-radius: 50%;
  transition-duration: 0.5s;
}

.main-financial-advisory-item-button:hover {
  background-color: var(--hover-color);
}

.boxes {
  display: flex;
  gap: 32px;
}

@media screen and (width <= 1024px) {
  .financial-advisory-splide__slide {
    flex: initial;
  }

  .financial-advisory-splide__track {
    margin-right: 0;
  }
}

@media screen and (width <= 890px) {
  .main-financial-advisory-item-image {
    width: 306px;
    height: 210px;
  }

  .main-financial-advisory-item-image img {
    width: 306px;
    height: 210px;
    mask: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 306 210' width='306' height='210'%3E%3Ctitle%3Eimage%3C/title%3E%3Cstyle%3E .s0 %7B fill: %23000000 %7D %3C/style%3E%3Cpath id='Заливка сплошным цветом 1' class='s0' d='m6.3 0c-2.4 0-6.3 4.7-6.3 6.6 0 0 0 196.3 0 196.5 0 3.4 4.4 7 6.4 7 0.1 0 197.7 0.1 197.8 0.1 5.3-0.2 5.8-3 5.8-7.4 0-1.2 0-32.4 0-33.6 0.9-24.7 21.6-54.7 61-55 2.2 0 28.1 0 29-0.1 4.2-0.1 6-4.2 6-7.6 0-1.4 0-98.5 0-99.5 0-4.4-2.2-7-6.8-7-1.1 0-292.9 0-292.9 0z'/%3E%3C/svg%3E");
  }
}

@media screen and (width <= 768px) {
  .my-slider-progress {
    display: block;
  }
}

@media screen and (width <= 700px) {
  .financial-advisory-splide__slide {
    flex: initial;
  }
}

@media screen and (width <= 390px) {
  .main-financial-advisory-item-image {
    width: 240px;
    height: 180px;
  }

  .main-financial-advisory-item-image img {
    width: 240px;
    height: 180px;
    mask: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180' width='240' height='180'%3E%3Ctitle%3Eimage%3C/title%3E%3Cstyle%3E .s0 %7B fill: %23000000 %7D %3C/style%3E%3Cpath id='Заливка сплошным цветом 1' class='s0' d='m6.3 0c-2.4 0-6.3 4.7-6.3 6.6 0 0 0 166.2 0 166.4 0 3.4 4.4 7 6.4 7 0.1 0 131.7 0 131.8 0 5.3-0.2 5.8-3 5.8-7.4 0-1.2 0-32.4 0-33.6 0.9-24.7 21.6-54.7 61-55 2.2 0 28.1 0 29-0.1 4.2-0.1 6-4.2 6-7.6 0-1.4 0-68.2 0-69.2 0-4.4-2.3-7.1-6.9-7.1-1.1 0-226.8 0-226.8 0z'/%3E%3C/svg%3E");
  }
}