.aviel-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.aviel-faq,
.aviel-faq * {
  box-sizing: border-box;
}

.aviel-faq__item {
  border: 1px solid #d8d8d8;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}

.aviel-faq__button {
  width: 100%;
  min-height: 88px;
  padding: 24px 34px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: right;
  appearance: none;
  color: inherit;
  transition: padding .24s ease, min-height .24s ease;
}

.aviel-faq__item.is-open .aviel-faq__button {
  min-height: 0 !important;
  padding-bottom: 5px !important;
}

.aviel-faq__button:hover,
.aviel-faq__button:focus,
.aviel-faq__button:active {
  background: transparent;
  color: inherit;
}

.aviel-faq__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -6px;
}

.aviel-faq__question,
.aviel-faq__button:hover .aviel-faq__question,
.aviel-faq__button:focus .aviel-faq__question,
.aviel-faq__button:active .aviel-faq__question,
.aviel-faq__item.is-open .aviel-faq__question {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: block;
  color: #003b78 !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.aviel-faq__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #003b78;
  background: #e9eef7;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  flex: 0 0 auto;
}

.aviel-faq__icon svg,
.aviel-faq__icon img,
.aviel-faq__icon-media {
  width: 22px;
  height: 22px;
  max-width: 76%;
  max-height: 76%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  flex: 0 0 auto;
}

.aviel-faq__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aviel-faq__item.is-open .aviel-faq__icon {
  transform: rotate(180deg);
}

.aviel-faq__panel {
  height: 0;
  overflow: hidden;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  transition: height 420ms cubic-bezier(.22, 1, .36, 1);
  will-change: height;
}

.aviel-faq__panel-inner {
  padding: 0 34px 28px;
}

.aviel-faq__item.is-open .aviel-faq__panel-inner {
  padding-top: 0 !important;
}

.aviel-faq__panel-inner > :first-child,
.aviel-faq__panel-inner p:first-child {
  margin-top: 0 !important;
}

.aviel-faq__panel-inner > :last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .aviel-faq {
    gap: 14px;
  }

  .aviel-faq__item {
    border-radius: 30px;
  }

  .aviel-faq__button {
    min-height: 86px;
    padding: 18px 18px;
    gap: 12px;
    align-items: center;
  }

  .aviel-faq__item.is-open .aviel-faq__button {
    min-height: 0 !important;
    padding-bottom: 5px !important;
  }

  .aviel-faq__question {
    font-size: 18px;
    line-height: 1.35;
  }

  .aviel-faq__icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .aviel-faq__icon svg,
  .aviel-faq__icon img,
  .aviel-faq__icon-media {
    width: 21px;
    height: 21px;
    max-width: 78%;
    max-height: 78%;
  }

  .aviel-faq__panel {
    font-size: 16px;
    line-height: 1.65;
  }

  .aviel-faq__panel-inner {
    padding: 0 18px 24px;
  }

  .aviel-faq__item.is-open .aviel-faq__panel-inner {
    padding-top: 0 !important;
  }
}
