.faq {
  border-top: 1px solid #eef3f0;
  background-color: var(--opt-white);
}

.faq__wrap {
  max-width: 900px;
  width: 100%;
  min-width: 0;
}

.faq__title {
  text-align: center;
  letter-spacing: normal;
}

.faq__content {
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.faq__list {
  border-top: 1px solid #e7ece9;
}

.faq__item {
  border-bottom: 1px solid #e7ece9;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--opt-ink);
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq__item[open] .faq__question {
  padding-bottom: 16px;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  background-color: #fafcfb;
}

.faq__chevron {
  flex: 0 0 auto;
  fill: none;
  stroke: var(--opt-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-width: 820px;
  margin: 0;
  padding: 0 16px 24px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #868686;
}

@media (max-width: 1199.98px) {
  .faq__question {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .faq__question {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .faq__question,
  .faq__chevron {
    transition: none;
  }
}
/* Tablet and phone: same accordion, set to the width it gets.
   - 75px between the title and the first question is a desktop value: 48px here, 36px on phones.
   - The questions keep their desktop line-height of 1.1, which is right for one line but sets a
     two- to four-line question ("I use WP Rocket, LiteSpeed Cache, W3 Total Cache or
     Perfmatters. Is switching hard?") with the lines almost touching; 1.3 from 991px down, 1.35
     on phones, where the question is also 16px and the answer 16px / 1.55 (was 18px / 1.5, which
     made the open answer five to seven lines of large grey text at 320-390px) with the side
     padding set to 12px, so question, chevron and answer share one inner edge. */
@media (max-width: 991.98px) {
  .faq__content {
    gap: 48px;
  }

  .faq__question {
    line-height: 1.3;
  }
}

@media (max-width: 575.98px) {
  .faq__content {
    gap: 36px;
  }

  .faq__question {
    gap: 16px;
    padding: 18px 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .faq__item[open] .faq__question {
    padding-bottom: 12px;
  }

  .faq__answer {
    padding: 0 12px 20px;
    font-size: 16px;
    line-height: 1.55;
  }
}
