.forester-faq {
  background: var(--color-page-background, #f5f6f6);
  color: var(--color-graphite, #353c41);
  padding: clamp(72px, 7.2vw, 112px) 0;
}

.forester-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.forester-faq__intro {
  max-width: 410px;
}

@media (min-width: 1024px) {
  .forester-faq {
    position: relative;
    overflow: hidden;
  }

  .forester-faq__intro::after {
    content: "";
    position: absolute;
    left: max(-100px, calc((100% - 1440px) / 2 - 130px));
    top: max(300px, 40%);
    bottom: -120px;
    width: clamp(420px, 38vw, 600px);
    background: var(--color-graphite, #353c41);
    -webkit-mask: url('../images/faq-tread.svg') center / 100% 190% no-repeat;
    mask: url('../images/faq-tread.svg') center / 100% 190% no-repeat;
    opacity: 0.045;
    pointer-events: none;
  }
}

.forester-faq__eyebrow {
  margin: 0 0 16px;
  color: var(--color-red, #e10600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.forester-faq__title {
  margin: 0;
  color: var(--color-graphite, #353c41);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-transform: uppercase;
}

.forester-faq__list {
  border-top: 1px solid rgba(53, 60, 65, 0.22);
}

.forester-faq__item {
  border-bottom: 1px solid rgba(53, 60, 65, 0.22);
}

.forester-faq__question-heading {
  margin: 0;
  font: inherit;
}

.forester-faq__question {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-graphite, #353c41);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  transition: color 160ms ease;
}

.forester-faq__question:hover {
  color: var(--color-red, #e10600);
}

.forester-faq__question:focus-visible {
  outline: 2px solid var(--color-graphite, #353c41);
  outline-offset: 4px;
}

.forester-faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.forester-faq__icon::before,
.forester-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.forester-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.forester-faq__item.is-open .forester-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.forester-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.forester-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.forester-faq__answer p {
  max-width: 680px;
  margin: 0;
  padding: 0 54px 0 2px;
  color: rgba(53, 60, 65, 0.82);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, padding 260ms ease, transform 260ms ease;
}

.forester-faq__item.is-open .forester-faq__answer {
  grid-template-rows: 1fr;
}

.forester-faq__item.is-open .forester-faq__answer p {
  padding-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .forester-faq__answer,
  .forester-faq__answer p,
  .forester-faq__icon::before,
  .forester-faq__icon::after {
    transition: none;
  }
}

@media (max-width: 767px) {
  .forester-faq {
    padding: 60px 0 68px;
  }

  .forester-faq__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .forester-faq__intro {
    max-width: 330px;
  }

  .forester-faq__eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .forester-faq__title {
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 0.98;
  }

  .forester-faq__question {
    min-height: 68px;
    gap: 18px;
    padding: 17px 0;
    font-size: 16px;
  }

  .forester-faq__answer p {
    padding-right: 38px;
    font-size: 15px;
    line-height: 1.6;
  }

  .forester-faq__item.is-open .forester-faq__answer p {
    padding-bottom: 20px;
  }
}
