.vocabulary-ecp-faqs h4,
.vocabulary-ecp-faqs h5 {
  font-size: var(--font-size-md);
}

.vocabulary-ecp-faqs h4 button,
.vocabulary-ecp-faqs h5 button {
  text-align: left;
}

.ds-c-accordion__content h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.ds-c-accordion__content h4:first-of-type {
  margin-top: 0;
}

#ecp_faq_drawer {
  top: var(--drupal-displace-offset-top);
}

#ecp_faq_drawer_open_button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--omb-orange);
  background-image: url('../../images/icons/FAQ_button.svg');
  color: var(--color-white);
  border-color: transparent;
  position: fixed;
  right: 48px;
  bottom: 48px;
  z-index: 1;
}

#ecp_faq_drawer_open_button:focus,
#ecp_faq_drawer_open_button:focus-visible {
  outline-color: var(--accordion-button__color);
  outline-offset: 5px;
  outline-width: 1px;
}

.vocabulary-ecp-faqs {
  position: relative;
}

.vocabulary-ecp-faqs[aria-expanded="false"] button::before {
  background-image: url('../../images/icons/card-expand-icon.svg');
}
.vocabulary-ecp-faqs[aria-expanded="true"] button::before {
  background-image: url('../../images/icons/card-collapse-icon.svg');
}

.vocabulary-ecp-faqs button[data-drupal-selector="ecp-faq-toggle"] {
  text-align: left;
}

.vocabulary-ecp-faqs button[data-drupal-selector="ecp-faq-toggle"]::before {
  position: absolute;
  top: 12px;
  left: 0;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  display: block;
  background-size: contain;
  content: '';
}

@media (max-width: 768px) {
  #ecp_faq_drawer_open_button {
    right: 24px;
  }
}
