/* Native widgets own the layout, typography and accordion styles.
   Local additions cover the FAQ-only search field and filter states. */
body:has(.ts-faq-main) .wd-content-layout { padding-block: 0; }
.ts-faq-main [hidden] { display: none !important; }
.ts-faq-topic a { justify-content: flex-start; text-align: right; }
.ts-faq-topic a[aria-current="true"] { color: #AD6045; background: #F1EDE7; box-shadow: inset -3px 0 #AD6045; }
.ts-faq-search { margin-bottom: 12px; color: #413F3D; font: 400 20px/1.25 almoni, sans-serif; }
.ts-faq-search label { display: block; margin-bottom: 10px; }
.ts-faq-search-field { position: relative; }
.ts-faq-search-field input { box-sizing: border-box; width: 100%; height: 52px; padding: 12px 46px; border: 1px solid #DAD2C8; border-radius: 0; background: transparent; color: #413F3D; font: inherit; }
.ts-faq-search-field input::placeholder { color: #726B63; opacity: 1; }
.ts-faq-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ts-faq-search-field svg { position: absolute; inset-inline-start: 15px; top: 15px; width: 22px; height: 22px; pointer-events: none; }
.ts-faq-search-field .ts-faq-clear { position: absolute; inset-inline-end: 4px; top: 4px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #413F3D; font: 400 27px/1 almoni, sans-serif; }
.ts-faq-status { margin: 8px 0 0; font-size: 18px; }
.ts-faq-status:empty { display: none; }
.ts-faq-empty { margin: 20px 0; }
.ts-faq-main :is(a, input, button, .wd-accordion-title):focus-visible { outline: 2px solid #AD6045; outline-offset: 3px; }
/* The native opener has no independent color control. */
.ts-faq-accordion .wd-accordion-opener { color: #413F3D; }

/* Native per-widget borders cannot style individual repeater items. */
.ts-faq-accordion .wd-accordion { --wd-row-gap: 8px; }
.ts-faq-accordion .wd-accordion-item { border: 1px solid #E4DED6; padding-inline: 22px; }
@media (max-width: 767px) {
  .ts-faq-accordion .wd-accordion-item { padding-inline: 16px; }
}
