/* Native Elementor Accordion: the project's FAQ uses rules, not boxed panels.
   Scope to the shared class on all 20 EN/ZH FAQ widgets; never use generated IDs.
   The full selector also beats Elementor's adjacent-item border reset, even when
   its widget stylesheet is loaded later. Native open/close and focus stay intact. */
body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-accordion {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-accordion > .elementor-accordion-item {
  border: 0;
  border-block-start: 1px solid var(--oa-line, #e4e2de);
  border-radius: 0;
  box-shadow: none;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-accordion > .elementor-accordion-item:last-child {
  border-block-end: 1px solid var(--oa-line, #e4e2de);
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-accordion .elementor-tab-title,
body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-accordion .elementor-tab-content {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-title {
  align-items: flex-start;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-title .elementor-accordion-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-title .elementor-accordion-icon {
  float: none;
  flex: 0 0 26px;
  width: 26px;
  line-height: 1;
  text-align: center;
  align-self: flex-start;
  margin-block-start: 2px;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-content > :first-child {
  margin-block-start: 0;
}

body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-content > :last-child {
  margin-block-end: 0;
}

@media (max-width: 767px) {
  body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-title {
    gap: 16px;
    padding: 20px 0;
    min-height: 64px;
  }

  body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-title .elementor-accordion-icon {
    flex-basis: 24px;
    width: 24px;
    font-size: 22px;
    line-height: 1;
    text-align: center;
  }

  body.oa-site .oa-faq-list.elementor-widget-accordion .elementor-tab-content {
    padding-block-end: 22px;
  }
}
