.nwhs-context-faq {
  --nwhs-faq-dark: #252724;
  --nwhs-faq-muted: #73776f;
  --nwhs-faq-paper: #f5f2ed;
  --nwhs-faq-soft: #fdfcf8;
  --nwhs-faq-line: rgba(37, 39, 36, .12);
  --nwhs-faq-accent: #cc8a56;
  position: relative;
  z-index: 2;
  padding: clamp(72px, 8vw, 118px) 0;
  background: #fff;
  overflow: hidden;
}

.nwhs-managed-products-page main.main-field > .projects-field {
  margin-bottom: 0 !important;
}

.nwhs-context-faq::before,
.nwhs-context-faq::after {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(204, 138, 86, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nwhs-context-faq::before {
  top: -250px;
  left: -210px;
}

.nwhs-context-faq::after {
  right: -235px;
  bottom: -265px;
}

.nwhs-context-faq-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.nwhs-context-faq-heading h2 {
  max-width: 800px;
  margin: 9px 0 0;
  color: var(--nwhs-faq-dark);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.nwhs-context-faq-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--nwhs-faq-muted);
  font-size: 15px;
  line-height: 1.75;
}

.nwhs-context-faq-shell {
  position: relative;
  z-index: 1;
  border: 1px solid var(--nwhs-faq-line);
  background: var(--nwhs-faq-paper);
}

.nwhs-context-faq-filters {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--nwhs-faq-line);
  background: var(--nwhs-faq-paper);
}

.nwhs-context-faq-filters > span {
  display: flex;
  align-items: center;
  padding: 23px 28px;
  border-right: 1px solid var(--nwhs-faq-line);
  color: rgba(37, 39, 36, .48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nwhs-context-faq-filters > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nwhs-context-faq-filters button {
  position: relative;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: rgba(37, 39, 36, .62);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.nwhs-context-faq-filters button::after {
  position: absolute;
  right: 18px;
  bottom: 7px;
  left: 18px;
  height: 2px;
  background: var(--nwhs-faq-accent);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .25s ease, transform .25s ease;
}

.nwhs-context-faq-filters button:hover,
.nwhs-context-faq-filters button.is-active {
  color: var(--nwhs-faq-accent);
  background: rgba(255, 255, 255, .52);
}

.nwhs-context-faq-filters button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nwhs-context-faq-list {
  background: var(--nwhs-faq-paper);
}

.nwhs-context-faq-item {
  border-bottom: 1px solid var(--nwhs-faq-line);
  background: transparent;
  transition: background-color .3s ease;
}

.nwhs-context-faq-item:last-child {
  border-bottom: 0;
}

.nwhs-context-faq-item[hidden] {
  display: none !important;
}

.nwhs-context-faq-item.is-open {
  background: var(--nwhs-faq-soft);
}

.nwhs-context-faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 54px minmax(0, 1fr) 48px;
  gap: 23px;
  align-items: center;
  padding: 30px 36px;
  border: 0;
  background: transparent;
  color: var(--nwhs-faq-dark);
  text-align: left;
  cursor: pointer;
}

.nwhs-context-faq-number {
  color: rgba(37, 39, 36, .34);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  transition: color .25s ease;
}

.nwhs-context-faq-question-text {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 580;
  line-height: 1.3;
  letter-spacing: -.015em;
  transition: color .25s ease;
}

.nwhs-context-faq-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(37, 39, 36, .26);
  border-radius: 50%;
  transition: border-color .25s ease, background-color .25s ease;
}

.nwhs-context-faq-icon i {
  position: absolute;
  width: 13px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}

.nwhs-context-faq-icon i:last-child {
  transform: rotate(90deg);
}

.nwhs-context-faq-item.is-open .nwhs-context-faq-number,
.nwhs-context-faq-item.is-open .nwhs-context-faq-question-text {
  color: var(--nwhs-faq-accent);
}

.nwhs-context-faq-item.is-open .nwhs-context-faq-icon {
  border-color: var(--nwhs-faq-accent);
  background: var(--nwhs-faq-accent);
  color: #fff;
}

.nwhs-context-faq-item.is-open .nwhs-context-faq-icon i:last-child {
  transform: rotate(0);
}

.nwhs-context-faq-answer {
  padding: 0 126px 32px 113px;
}

.nwhs-context-faq-answer > div {
  max-width: 940px;
  padding-top: 23px;
  border-top: 1px solid rgba(37, 39, 36, .09);
  color: var(--nwhs-faq-muted);
  font-size: 15px;
  line-height: 1.8;
}

.nwhs-context-faq-answer p {
  margin: 0 0 12px;
}

.nwhs-context-faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .nwhs-context-faq-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nwhs-context-faq-filters {
    grid-template-columns: 1fr;
  }

  .nwhs-context-faq-filters > span {
    padding: 17px 20px 8px;
    border-right: 0;
  }

  .nwhs-context-faq-question {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 14px;
    padding: 25px 22px;
  }

  .nwhs-context-faq-answer {
    padding: 0 78px 27px 78px;
  }
}

@media (max-width: 600px) {
  .nwhs-context-faq {
    padding: 62px 0;
  }

  .nwhs-context-faq-heading {
    margin-bottom: 28px;
  }

  .nwhs-context-faq-heading h2 {
    font-size: 35px;
  }

  .nwhs-context-faq-filters > div {
    padding: 7px 8px 12px;
  }

  .nwhs-context-faq-filters button {
    min-height: 42px;
    padding: 0 13px;
    font-size: 12px;
  }

  .nwhs-context-faq-question {
    grid-template-columns: minmax(0, 1fr) 38px;
    padding: 22px 18px;
  }

  .nwhs-context-faq-number {
    display: none;
  }

  .nwhs-context-faq-question-text {
    font-size: 18px;
  }

  .nwhs-context-faq-icon {
    width: 36px;
    height: 36px;
  }

  .nwhs-context-faq-answer {
    padding: 0 18px 24px;
  }

  .nwhs-context-faq-answer > div {
    padding-top: 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nwhs-context-faq *,
  .nwhs-context-faq *::before,
  .nwhs-context-faq *::after {
    transition: none !important;
  }
}
