/* Thinkahead — tidy FAQ accordions, tinted with each page's service colour.
   Each .ta-faqsec sets --faq to the page's colour (inline). No JS: native <details>. */

.ta-faqsec { margin: 30px 0 12px; }
.ta-faqsec > h2 {
  color: var(--faq, #f69b37);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 18px;
}

.ta-faq details {
  border: 1px solid #ececec;
  border-left: 4px solid var(--faq, #f69b37);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ta-faq details[open] { box-shadow: 0 6px 20px rgba(0, 0, 0, .07); }
.ta-faq details:hover { border-color: #e0e0e0; }

.ta-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  color: #23282f;
}
.ta-faq summary::-webkit-details-marker { display: none; }
.ta-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--faq, #f69b37);
  color: var(--faq, #f69b37);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; font-weight: 400;
  transition: transform .25s ease;
}
.ta-faq details[open] > summary { color: var(--faq, #f69b37); }
.ta-faq details[open] > summary::after { transform: rotate(45deg); }

.ta-faq .ta-faq-a {
  padding: 0 18px 16px;
  color: #55595f;
  font-size: 14.5px;
  line-height: 1.7;
}
/* answers carry plain-text newlines (bullet-style lines) — keep them readable */
.ta-faq .ta-faq-a p { margin: 0; white-space: pre-line; }

/* the 2 pages using the older .faq-item markup: colour the icon + open state to match */
.faq-item .faq-icon { border-color: var(--faq, #f69b37) !important; color: var(--faq, #f69b37) !important; }
details.faq-item[open] > summary.faq-label h3 { color: var(--faq, #f69b37); }
