/* FAq */
.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.faq .title {
  font-family: Epilogue; /* Heading */
  font-size: 34px;
  line-height: 44px;
  font-weight: 700;
  color: #171a1fff; /* neutral-900 */
}
.faq .p {
  margin: 6px 0 0;
  font-family: Inter; /* Body */
  font-size: 14px;
  line-height: 28px;
  font-weight: 400;
  color: #9095a0ff; /* neutral-500 */
}

.faq-items-wrapper {
  margin: 20px auto 0;
}

.faq-item-wrapper {
  width: 360px;
  padding: 20px 5px;
  border-top: 1px solid #dee1e6ff;
}
.faq-item-wrapper-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 7px 0;
}
.faq-item-wrapper-top.active {
  /* padding: 0; */
}

.faq-item-wrapper-top-left {
  width: 300px;
  font-family: Inter; /* Body */
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: #171a1fff; /* neutral-900 */
}
.faq-item-wrapper-top-right {
  width: 44px;
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #565e6cff; /* neutral-600 */
  background: #f3f4f6ff; /* neutral-200 */

  color: #9095a0ff; /* neutral-500 */
  background: #00000000; /* transparent */

  opacity: 1;
  border: none;
  border-radius: 4px; /* border-m */
  gap: 0px;
}
/* Pressed */
.faq-item-wrapper-top-right.active {
  color: #565e6cff; /* neutral-600 */
  background: #cfd2daff; /* neutral-350 */
}
/* Hover */
.faq-item-wrapper-top-right:hover {
  color: #565e6cff; /* neutral-600 */
  background: #dee1e6ff; /* neutral-300 */
}
/* Disabled */
.faq-item-wrapper-top-right:disabled {
  opacity: 0.4;
}
.faq-item-wrapper-top-right .icon {
  width: 30px;
  height: 30px;
  mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: #9095a0ff;
}
.faq-item-wrapper-top-right .icon.active {
  transform: rotate(180deg);
  transition: transform 0.5s;
}

.faq-item-wrapper-bottom {
  position: absolute;
  top: -2px;
  width: 100%;
  font-family: Inter; /* Body */
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #323842ff; /* neutral-700 */
  transform: scale(1, 0);
}
.faq-item-wrapper-bottom.active {
  position: relative;
  transform: scale(1, 1);
  transition: transform 0.5s;
  transform-origin: top;
}
.faq-item-wrapper-bottom a {
  text-decoration: none;
  text-decoration: underline;
  color: #323842ff; /* neutral-700 */
}

@media screen and (min-width: 768px) {
  .faq-item-wrapper {
    width: 700px;
    padding: 20px 5px;
    border-top: 1px solid #dee1e6ff;
  }

  .faq-item-wrapper-top-left {
    width: 500px;
    font-family: Inter; /* Body */
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: #171a1fff; /* neutral-900 */
  }
}

@media screen and (min-width: 1200px) {
  /* FAq */
  .faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 132px 112px;
  }
  .faq .title {
    font-family: Epilogue; /* Heading */
    font-size: 48px;
    line-height: 68px;
    font-weight: 700;
    color: #171a1fff; /* neutral-900 */
  }
  .faq .p {
    margin: 6px 0 0;
    font-family: Inter; /* Body */
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #9095a0ff; /* neutral-500 */
  }

  .faq-items-wrapper {
    margin: 56px 0 0;
  }

  .faq-item-wrapper {
    width: 1176px;
    padding: 24px 0;
    border-top: 1px solid #dee1e6ff;
  }
  .faq-item-wrapper-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 7px 0;
  }
  .faq-item-wrapper-top.active {
    /* padding: 0; */
  }

  .faq-item-wrapper-top-left {
    width: auto;
    font-family: Inter; /* Body */
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #171a1fff; /* neutral-900 */
  }
  .faq-item-wrapper-top-right {
    width: 44px;
    height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #565e6cff; /* neutral-600 */
    background: #f3f4f6ff; /* neutral-200 */

    color: #9095a0ff; /* neutral-500 */
    background: #00000000; /* transparent */

    opacity: 1;
    border: none;
    border-radius: 4px; /* border-m */
    gap: 0px;
  }
  /* Pressed */
  .faq-item-wrapper-top-right.active {
    color: #565e6cff; /* neutral-600 */
    background: #cfd2daff; /* neutral-350 */
  }
  /* Hover */
  .faq-item-wrapper-top-right:hover {
    color: #565e6cff; /* neutral-600 */
    background: #dee1e6ff; /* neutral-300 */
  }
  /* Disabled */
  .faq-item-wrapper-top-right:disabled {
    opacity: 0.4;
  }
  .faq-item-wrapper-top-right .icon {
    width: 30px;
    height: 30px;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #9095a0ff;
  }
  .faq-item-wrapper-top-right .icon.active {
    transform: rotate(180deg);
    transition: transform 0.5s;
  }

  .faq-item-wrapper-bottom {
    position: absolute;
    top: -2px;
    width: 700px;
    font-family: Inter; /* Body */
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #323842ff; /* neutral-700 */
    transform: scale(1, 0);
  }
  .faq-item-wrapper-bottom.active {
    position: relative;
    transform: scale(1, 1);
    transition: transform 0.5s;
    transform-origin: top;
  }
}
