/**
*     FAQ
*/
.faq-global-wrapper{
  gap: calc(var(--gap) * 3);
}
ol.schema-how-to-steps {
    margin: 0 0 1.5em;
    padding: 0;
    counter-reset: item;
  }
  
  ol.schema-how-to-steps>li {
    margin: 0;
    padding: 0 0 0 2em;
    list-style-type: none;
    counter-increment: item;
  }
  
  ol.schema-how-to-steps>li:before {
    display: inline-block;
    padding-right: 0.5em;
    font-weight: bold;
    text-align: right;
    content: "ETAPE | " counter(item) ".";
  }
  
  ol.schema-how-to-steps {
    margin: 0;
    padding: 0px;
    border: 1px solid var(--cream);
    border-radius: 5px;
  }
  
  ol.schema-how-to-steps li {
    padding: 1em;
  }
  
  ol.schema-how-to-steps li:nth-child(even) {
    background: var(--cream);
  }
  
  .schema-how-to-description {
    font-weight: 600;
    color: var(--primary);
    font-size: clamp(14px, 1em, 22px);
    margin-top: 2em;
  }
  
  .schema-faq {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius);
    gap: var(--gap);
  }
  
  .schema-faq-section {
    width: 100%;
    border:  1px solid #dcdeeba1;
    border-radius: var(--radius);
    box-shadow: 0px 19px 40px -20px rgba(10, 20, 30, 0);
    transition: border 300ms ease-in-out, box-shadow 300ms ease-in-out;
    background-color: var(--white);

  }
  .schema-faq-section.question-open {
    border: 1px solid var(--blue-border);
    box-shadow: 0px 3px 10px 0px rgba(30, 69, 98, 0.15);
}
  .schema-faq-question {
    display: flex;
    width: 100%;
    padding: calc(var(--gap) * 1.5) calc(var(--gap) * 2) calc(var(--gap) * 1.5) calc(var(--gap) * 1.5);
    cursor: pointer;
    border-radius: 0px;
    z-index: 9;
    font-size: var(--regular-font) !important;
    position: relative;
    flex-direction: row;
    color: var(--secondary);
    gap: calc(var(--gap) / 2);
  }
  .schema-faq-question span {
    color: var(--primary);
    font-size: var(--regular-font);
    font-weight: 500;
}
.schema-faq-question span svg {
  width: 10px;
  height: 10px;
  opacity: 1;
}
.schema-faq-question span svg *{
  stroke: var(--primary-light);
  stroke-width: 5px;
  fill: none;
}
  
  .schema-faq-question:after,
  .schema-faq-question:before {
    content: "";
    display: inline-flex;
    font-weight: 600;
    margin-right: 0;
    margin-left: auto;
    color: var(--primary);
    font-size: var(--medium-font);
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: transform .4s ease, text-decoration 0s ease;
    position: absolute;
    top: calc(var(--gap) * 1.5);
    right: calc(var(--gap) * 1.5);
  }
  .schema-faq-question:after {
    border: 1px solid var(--secondary);
    height: 12px;
    width: 12px;
    border-radius: 3px;
  }
  .schema-faq-question:before {
    border: 0px solid var(--secondary);
    height: 10px;
    width: 10px;
    background-color: var(--white);
    top: calc(var(--gap) * 1.5 + 2px);
    right: calc(var(--gap) * 1.5 + 2px);
    border-radius: 2px;
    }
.question-open .schema-faq-question:before {
  background-color: var(--secondary);
}
  
  .schema-faq-answer {
    padding: 0 calc(var(--gap) * 1.5) calc(var(--gap) * 1.5) calc(var(--gap) * 1.5);
    display: none;
    overflow: hidden;
  }
  

  :not(#editor) .schema-faq :not(.default-open) .schema-faq-answer,
  :not(#editor) .default-close .schema-faq-answer {
    display: none;
    overflow: hidden;
  }
  #editor .schema-faq .schema-faq-answer,
  #editor .default-close .schema-faq-answer{
    display: block;
    overflow: visible;
  }
  
  .schema-faq-section.default-open.question-open .schema-faq-answer {
    display: flex;
}
.schema-faq-answer > p:first-of-type{
  margin-top: 0;
}

.faq-global-wrapper.no-images .faq-image-wrapper{
  display: none;
}
.faq-image-wrapper{
  width: 100%;
}
.faq-dynamic-image {
  transition: opacity 0.3s ease;
}

.faq-dynamic-image.fade-out {
  opacity: 0;
}
