.faq {
  padding-block: 40px;
}
@media (width >= 992px) {
  .faq {
    padding-block: 70px;
  }
}
.faq .acf-innerblocks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq__title {
  position: relative;
  z-index: 1;
  margin-block: 0 32px;
}
@media (width >= 992px) {
  .faq__title {
    margin-block: 0 40px;
  }
}
.faq__title:after {
  content: "";
  position: absolute;
  top: 1.4375rem;
  top: 0.54lh;
  right: -26px;
  display: block;
  width: 245px;
  height: 45px;
  rotate: -2.8deg;
  background: url("/wp-content/themes/portraithy/src/assets/img/stroke.svg") no-repeat center/100% 100%;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
  filter: brightness(0) saturate(100%) invert(49%) sepia(91%) saturate(555%) hue-rotate(347deg) brightness(95%) contrast(102%);
}
@media (width < 991.8px) {
  .faq__title:after {
    top: 0.5lh;
    left: 50%;
    right: unset;
    translate: -50%;
    width: 112px;
    height: 28px;
    rotate: -8.3deg;
  }
}
@media (width >= 992px) {
  .faq__title {
    display: inline-block;
  }
  .faq__title--mobile {
    display: none;
  }
}
@media (width < 991.8px) {
  .faq__title {
    text-align: center;
  }
  .faq__title--desktop {
    display: none;
  }
}
@media (width >= 992px) {
  .faq__section {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin-block-start: -1px;
    width: 100%;
  }
}
.faq__section:last-child .faq__section-questions {
  margin-block-end: 0 !important;
}
@media (width >= 992px) {
  .faq__section:last-child .faq__section-questions:last-child {
    border-bottom: solid 1px var(--wp--preset--color--grey-200);
  }
}
.faq__section-title {
  margin-block: 0 32px;
  color: var(--wp--preset--color--background-green);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: normal;
}
@media (width >= 992px) {
  .faq__section-title {
    font-size: var(--wp--preset--font-size--medium-large);
    flex-basis: 560px;
    line-height: 38px;
  }
}
.faq__section-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (width >= 992px) {
  .faq__section-questions {
    gap: unset;
    flex-basis: 752px;
  }
}
@media (width < 991.8px) {
  .faq__section-questions {
    margin-block: 16px 24px !important;
  }
}
@media (width >= 992px) {
  .faq__section-questions .schema-faq-section {
    border-top: solid 1px var(--wp--preset--color--grey-200);
  }
}
.faq__section-questions .schema-faq-section > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
  font-weight: 700;
  color: var(--wp--preset--color--background-green);
  border-bottom: solid 1px var(--wp--preset--color--grey-200);
  cursor: pointer;
}
@media (width >= 992px) {
  .faq__section-questions .schema-faq-section > strong {
    padding-block: 24px;
    padding-inline: 16px;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 600;
    line-height: 1.625rem;
    border-bottom: unset;
  }
}
.faq__section-questions .schema-faq-section > strong:after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("/wp-content/themes/portraithy/src/assets/img/ic_plus.svg") no-repeat center;
  transition: transform 0.3s ease-in-out;
}
.faq__section-questions .schema-faq-section .schema-faq-answer:not(.block-editor-rich-text__editable) {
  padding-inline: 8px;
  margin-block: 8px 0;
  color: var(--wp--preset--color--grey-500);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}
@media (width >= 992px) {
  .faq__section-questions .schema-faq-section .schema-faq-answer:not(.block-editor-rich-text__editable) {
    padding-inline: 16px;
    margin-block: 0;
  }
  .faq__section-questions .schema-faq-section .schema-faq-answer:not(.block-editor-rich-text__editable):after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 16px;
  }
}
.faq__section-questions .schema-faq-section .schema-faq-answer:not(.block-editor-rich-text__editable) > img {
  margin-block: 1em;
}
.faq__section-questions .schema-faq-section[open] > strong:after {
  transform: rotate(45deg);
}
.faq__section-questions .schema-faq-section[open] .schema-faq-answer {
  max-height: var(--max-height, 500px);
}

.no-js .faq .schema-faq-answer {
  max-height: unset !important;
}

.block-editor-rich-text__editable .schema-faq-answer {
  max-height: unset !important;
}
