.afq-section {
  margin: 2rem 0;
}

.afq-title {
  margin-bottom: 1.5rem;
}

.afq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.afq-item {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.afq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  text-align: left;
}

.afq-question {
  font-weight: 600;
  color: #111;
}

.afq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 20px;
}

.afq-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.2s ease;
}

.afq-icon-minus {
  opacity: 0;
}

.afq-trigger[aria-expanded='true'] .afq-icon-plus {
  opacity: 0;
}

.afq-trigger[aria-expanded='true'] .afq-icon-minus {
  opacity: 1;
}

.afq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.afq-panel.is-open {
  opacity: 1;
}

.afq-answer {
  padding: 0 1.125rem 1rem;
}

@media (max-width: 767px) {
  .afq-trigger {
    padding: 0.875rem 1rem;
  }

  .afq-answer {
    padding: 0 1rem 0.875rem;
  }
}
