/* FAQ (opleidingen archive v5) — content_builder layout ht-faq-edu-v5 */

.edu-v5-faq {
  --edu-v5-faq-red: #d6241a;
  --edu-v5-faq-arrow: #c5372a;
  --edu-v5-faq-mint: #f0f6f6;
  --edu-v5-faq-border: #d2e3e1;
  --edu-v5-faq-text: rgb(46, 53, 59);

  /* Break out of Bootstrap .container on archive v5 */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 0;
  background-color: var(--edu-v5-faq-mint);
  color: var(--edu-v5-faq-text);
  font-family: Roboto, sans-serif;
  box-sizing: border-box;
}

.edu-v5-faq *,
.edu-v5-faq *::before,
.edu-v5-faq *::after {
  box-sizing: border-box;
}

.edu-v5-faq__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.edu-v5-faq__header {
  text-align: center;
  margin-bottom: 32px;
}

.edu-v5-faq__title {
  margin: 0 0 12px;
  color: #30353e;
  font-family: 'Abril Fatface', cursive;
  font-size: 32px;
  line-height: 1.34375;
}

.edu-v5-faq__intro {
  margin: 0 auto 24px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.35714;
  font-weight: 400 !important;
  color: var(--edu-v5-faq-text);
}

.edu-v5-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edu-v5-faq__item {
  background: #fff;
  border: 1px solid var(--edu-v5-faq-border);
  overflow: hidden;
}

.edu-v5-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.edu-v5-faq__question::-webkit-details-marker,
.edu-v5-faq__question::marker {
  display: none;
  content: "";
}

.edu-v5-faq__question-text {
  flex: 1;
  min-width: 0;
}

.edu-v5-faq__question h3 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--edu-v5-faq-text);
}

.edu-v5-faq__icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.edu-v5-faq__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.edu-v5-faq__item[open] .edu-v5-faq__icon {
  transform: rotate(-90deg);
}

.edu-v5-faq__answer {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--edu-v5-faq-text);
}

.edu-v5-faq__answer > *:first-child {
  margin-top: 0;
}

.edu-v5-faq__answer > *:last-child {
  margin-bottom: 0;
}

.edu-v5-faq__answer a {
  color: var(--edu-v5-faq-red);
  text-decoration: underline;
}

.edu-v5-faq__answer p {
  margin: 0 0 0.75em;
}

@media (max-width: 767px) {
  .edu-v5-faq {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 40px 0;
  }

  .edu-v5-faq__title {
    font-size: 28px;
  }

  .edu-v5-faq__question {
    padding: 14px 14px;
  }

  .edu-v5-faq__question h3 {
    font-size: 16px;
  }

  .edu-v5-faq__answer {
    padding: 0 14px 14px;
    font-size: 14px;
  }
}
