.wp-child-faq {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.wp-child-faq:not(:last-child) {
  margin-bottom: 20px;
}

/* Ensure visible spacing between separate FAQ modules on the page. */
.wp_child_faq {
  margin-bottom: 20px;
}

.wp_child_faq:last-child {
  margin-bottom: 0;
}

.wp-child-faq__item {
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  background-color: #f4f4f4;
  padding: 20px;
  transition: background-color 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-child-faq__item[open] {
  background-color: #ffffff;
}

.wp-child-faq__item + .wp-child-faq__item {
  margin-top: 0;
}

.wp-child-faq__question {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 0 50px 0 0;
  color: #666666;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7em;
  list-style: none;
}

.wp-child-faq__question h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: #666666;
  padding-bottom: 0;
}

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

.wp-child-faq__question::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "\e050";
  font-family: "ETmodules" !important;
  font-style: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #cccccc;
  font-size: 18px;
  line-height: 1;
}

.wp-child-faq__item[open] .wp-child-faq__question::after {
  content: "\e04f";
}

.wp-child-faq__answer {
  box-sizing: border-box;
  padding: 20px 0 0;
  font-size: 12px;
  line-height: 1.7em;
}

.wp-child-faq--editor {
  display: block;
}
