.bwa-faq {
  font-size: 16px;
  max-width: 1024px;
  margin: 0 auto;
  padding: calc(40px + (80 - 40) * ((100vw - 320px) / (1920 - 320))) 20px;
}

.bwa-faq__header {
  margin: 0 0 1.5em;
}

.bwa-faq__title {
  text-align: center;
  font-size: calc(26px + (34 - 26) * ((100vw - 320px) / (1920 - 320)));
  font-weight: 700;
  color: #000;
  margin: 0;
  margin-bottom: .5em;
}

.bwa-faq__subtitle {
  text-align: center;
  color: grey;
  margin: 0.5em 0 0;
}

.bwa-faq__list {
  display: grid;
  gap: 12px;
}

.bwa-faq__item {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #F8F8F9;
}

.bwa-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--typo-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #2a2522;
}

.bwa-faq__trigger:focus {
  outline: none;
  box-shadow: none;
}

.bwa-faq__trigger > span:first-child {
  padding-right: 16px;
}

.bwa-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-left: 1rem;
  background-color: var(--color-primary);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transition: transform 0.3s ease;
}

.bwa-faq__trigger[aria-expanded="true"] .bwa-faq__icon {
  transform: rotate(180deg);
}

.bwa-faq__panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  will-change: max-height, opacity, padding;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    padding 0.2s ease;
}

.bwa-faq__item.is-open .bwa-faq__panel {
  max-height: 320px;
  padding: 0 20px 20px;
  opacity: 1;
}

.bwa-faq__answer {
  font-size: 14px;
  line-height: 1.6;
  color: #71717a;
}

.bwa-faq__answer p {
  margin: 0;
}

.bwa-faq__text {
  color: #6b6b6b;
  padding-top: 2em;
}

.bwa-faq__text .bwa-faq__text-title {
  font-size: 16px;
  margin-bottom: 5px;
}

.bwa-faq__text p {
  font-size: 12px;
  line-height: 1.25;
}
