.faq-container {
  position: relative;
  margin-block: 140px 20px;
  font-family: 'Wix Madefor Text', system-ui, -apple-system, sans-serif;
}

.faq-suptitle {
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
}

.faq-title {
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 800;
}

.faq-item-label {
  font-family: 'Wix Madefor Display', sans-serif;
  font-weight: 700;
}

.faq-item-content {
  font-family: 'Wix Madefor Text', sans-serif;
  font-weight: 600;
}

.faq {
  position: relative;
}

.faq-inner {
  position: relative;
  z-index: 2;
}

.faq-h {
  text-align: center;
}

.faq-suptitle {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #1691EA 6.51%, #D6107B 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-title {
  margin-block-start: 15px;
  font-weight: 800;
  font-size: 44px;
  color: #313131;
  line-height: 56px;
}

.faq-content-wrapper {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  align-items: center;
  padding-top: 16px;
  padding-left: 60px;
  position: relative;
  max-width: 1045px;
}

.faq-image-container {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 550px;
  z-index: 1;

  @media (max-width: 1080px) {
    transform: translateX(35%);
  }
}

.faq-image {
  height: auto;
  object-fit: cover;
  object-position: top;
  margin-left: -30px;
}

.faq-b {
  margin-top: 50px;
  max-width: 614px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  position: relative;
}

/* Accordion styles */
.accordion-item {
  overflow: hidden;
  border-radius: 16px;
  background: #FFFFFF;
  backdrop-filter: blur(30.35px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  padding: 14px 30px 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;

}

.faq-item-label {
  font-weight: bold;
  font-size: 18px;
  color: #313131;
}

.faq-item-arrow {
  flex-shrink: 0;
  border-radius: 13px;
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.accordion-item_show .faq-item-arrow {
  background-color: #e6f5ff;
}

.faq-item.accordion-item_show .faq-item-arrow {
  background-color: #0CD3FF;
}

.accordion-item_show .arrow-icon-path {
  fill: #fff;
}

.accordion-body {
  display: none;
}

.accordion-item_show .accordion-body {
  display: block;
}

.faq-item-content {
  padding: 5px 30px 14px 30px;
  font-size: 16px;
  color: rgba(49, 49, 49, 0.7);
}

/* Animation classes */
.collapse {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.collapsing {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item_show .collapse {
  max-height: 1000px;
  /* достаточно большое число */
}

.accordion-item_slidedown .collapse {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  0% {
    max-height: 0;
  }

  100% {
    max-height: 1000px;
  }
}

/* Media Queries */
@media (max-width: 890px) {
  .faq-container {
    margin-top: 30px;
  }

  .faq-suptitle {
    font-size: 12px;
  }

  .faq-title {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 800;
  }

  .faq-image-container {
    max-width: 375px;
  }

  .faq-image {
    margin-left: 0;
    max-width: 375px;
  }

  .faq-b {
    margin-top: 18px;
    gap: 4px;
    padding-left: 0;
    max-width: 360px;
  }

  .accordion-header {
    padding: 8px 20px;
  }

  .faq-item-label {
    font-size: 14px;
  }

  .faq-item-content {
    padding: 5px 20px 10px 20px;
    font-size: 14px;
  }

  .faq img {
    margin-bottom: -50%;
  }
}