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

.gymful-faq-accordion {
  width: 100%;
}

.gfaq-list {
  display: flex;
  flex-direction: column;
}

.gfaq-item {
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.gfaq-question-heading {
  margin: 0;
  padding: 0;
  font: inherit;
}

.gfaq-question-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  border-bottom: 0 solid transparent;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  text-align: left;
  line-height: inherit;
  outline: none;
  min-width: 0;
  transition:
    border-color 0.28s ease,
    color 0.28s ease;
}

.gfaq-question-button:hover,
.gfaq-question-button:focus,
.gfaq-question-button:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.gfaq-question-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -6px;
}

.gfaq-question-text {
  display: block;
  grid-column: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.gfaq-icons {
  display: inline-flex;
  grid-column: 2;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  line-height: 0;
  min-width: max-content;
  position: relative;
  z-index: 2;
}

.gfaq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition:
    color 0.28s ease,
    transform 0.28s ease,
    opacity 0.28s ease;
}

.gfaq-icon svg {
  display: block;
  fill: currentColor;
}

.gfaq-icon i {
  display: block;
  line-height: 1;
}

.gfaq-icon--open {
  display: none;
}

.gfaq-item.is-open .gfaq-icon--closed {
  display: none;
}

.gfaq-item.is-open .gfaq-icon--open {
  display: inline-flex;
}

.gfaq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(.19, 1, .22, 1);
}

.gfaq-answer[hidden] {
  display: block !important;
  max-height: 0 !important;
}

.gfaq-answer-inner {
  width: 100%;
}

.gfaq-answer-inner p:first-child {
  margin-top: 0;
}

.gfaq-answer-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .gfaq-question-button {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: 100%;
  }

  .gfaq-question-text {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  .gfaq-question-button {
    align-items: start;
  }

  .gfaq-icons {
    align-self: start;
  }
}
