/*!
 * faq-accordion — the +/- disclosure control used by every `.tocs-faq` list.
 *
 * These rules used to live in an inline <style> inside `tocs_faq_section()` (inc/geo.php), which is
 * only rendered by the services template. The resources page renders the SAME markup through
 * `tocs_resources_faq_section()` (inc/geo-content.php) — so on /resources/ neither rule shipped and
 * both icons painted at once, showing a plus and a minus overlapping in every open row.
 *
 * Keeping the rules in a stylesheet means the two sections can never diverge again, and the styles
 * travel with the theme instead of depending on which section happens to render first.
 */

.tocs-faq > details > summary {
  list-style: none;
}

.tocs-faq > details > summary::-webkit-details-marker {
  display: none;
}

/* Closed: show the plus only. Open: swap it for the minus. */
.tocs-faq > details > summary .tocs-faq-minus {
  display: none;
}

.tocs-faq > details[open] > summary .tocs-faq-minus {
  display: block;
}

.tocs-faq > details[open] > summary .tocs-faq-plus {
  display: none;
}

.tocs-faq > details > summary .disclosure-icon {
  transition: transform 0.2s ease;
}
