/* FAQ page in Only Audit's colours: orange #f78b30 and slate #344f61.
   Every rule is scoped so the WordPress theme's global styles stay out. */
#onlyaudit-faq, #onlyaudit-faq * { box-sizing: border-box; }
#onlyaudit-faq { display: block; font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.5; color: #1c2b35; background: #fff; }
#onlyaudit-faq a { text-decoration: none !important; }
#onlyaudit-faq a::before, #onlyaudit-faq a::after, #onlyaudit-faq button::before, #onlyaudit-faq button::after, #onlyaudit-faq input::before, #onlyaudit-faq input::after { content: none !important; display: none !important; }
#onlyaudit-faq h1, #onlyaudit-faq h2 { font-family: inherit; text-transform: none; margin: 0; padding: 0; color: #1c2b35; letter-spacing: -0.02em; }
#onlyaudit-faq p { margin: 0; }
#onlyaudit-faq [hidden] { display: none !important; }

/* The theme's page wrappers hide overflow, which stops the question card
   following the page as it scrolls. Clip sideways only. This file loads on
   the FAQ page only. */
#canvas, #box_wrapper { overflow: visible !important; overflow-x: clip !important; }

/* Intro: beige band edge to edge */
#onlyaudit-faq .oa-faq-intro { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px clamp(32px, 4vw, 48px); box-shadow: 0 0 0 100vmax #f6f3ef; clip-path: inset(0 -100vmax); background: #f6f3ef; }
#onlyaudit-faq h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 700; max-width: 16ch; }
#onlyaudit-faq .oa-faq-lede { margin-top: 18px; font-size: 18px; line-height: 1.65; color: #4a5b66 !important; max-width: 56ch; }

/* Topic filters */
#onlyaudit-faq .oa-faq-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
#onlyaudit-faq .oa-faq-chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid #e2dcd5; font-family: inherit; font-size: 15px; font-weight: 600; color: #33434d; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
#onlyaudit-faq .oa-faq-chip:hover { border-color: #f78b30; }
#onlyaudit-faq .oa-faq-chip[aria-pressed="true"] { background: #1c2b35; border-color: #1c2b35; color: #fff; }
#onlyaudit-faq .oa-faq-chip:focus-visible { outline: 2px solid #f78b30; outline-offset: 2px; }

/* Questions and the ask card */
#onlyaudit-faq .oa-faq-body { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 20px clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 5vw, 64px); align-items: start; }
#onlyaudit-faq .oa-faq-group + .oa-faq-group { margin-top: 40px; }
#onlyaudit-faq .oa-faq-group h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e57a1f; margin-bottom: 14px; }
#onlyaudit-faq .oa-faq-item { margin: 0 0 10px; border: 1px solid #e7e1da; border-radius: 16px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
#onlyaudit-faq .oa-faq-item:hover { border-color: #f3c9a4; }
#onlyaudit-faq .oa-faq-item[open] { border-color: #f78b30; box-shadow: 0 10px 28px rgba(28,43,53,0.06); }
#onlyaudit-faq .oa-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 600; color: #1c2b35; }
#onlyaudit-faq .oa-faq-item summary::-webkit-details-marker { display: none; }
#onlyaudit-faq .oa-faq-item summary:focus-visible { outline: 2px solid #f78b30; outline-offset: -2px; border-radius: 16px; }
#onlyaudit-faq .oa-faq-icon { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #f6f3ef; transition: background 0.2s ease, transform 0.25s ease; }
#onlyaudit-faq .oa-faq-icon svg { width: 18px; height: 18px; fill: #1c2b35; }
#onlyaudit-faq .oa-faq-item[open] .oa-faq-icon { background: #f78b30; transform: rotate(45deg); }
#onlyaudit-faq .oa-faq-answer { padding: 0 20px 20px; }
#onlyaudit-faq .oa-faq-answer p { font-size: 16px; line-height: 1.7; color: #4a5b66 !important; max-width: 64ch; }

#onlyaudit-faq .oa-faq-ask { position: sticky; top: 100px; padding: clamp(24px, 3vw, 32px); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(28,43,53,0.06), 0 24px 60px rgba(28,43,53,0.10); }
#onlyaudit-faq .oa-faq-ask h2 { font-size: 22px; font-weight: 700; }
#onlyaudit-faq .oa-faq-ask-note { margin: 6px 0 20px; font-size: 14px; color: #7a8a94 !important; }
#onlyaudit-faq .oa-faq-form { margin: 0; text-align: left; }
#onlyaudit-faq .oa-field { margin-bottom: 14px; }
#onlyaudit-faq .oa-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #33434d; text-transform: none; letter-spacing: 0; }
#onlyaudit-faq .oa-field input, #onlyaudit-faq .oa-field textarea { display: block; width: 100%; height: auto; margin: 0; padding: 12px 14px; font-family: inherit; font-size: 16px; line-height: 1.4; color: #1c2b35; background: #f8f6f3; border: 1px solid #e2dcd5; border-radius: 12px; box-shadow: none; text-transform: none; letter-spacing: 0; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
#onlyaudit-faq .oa-field textarea { min-height: 110px; resize: vertical; }
#onlyaudit-faq .oa-field input:hover, #onlyaudit-faq .oa-field textarea:hover { border-color: rgba(247,139,48,0.6); background: #fff; }
#onlyaudit-faq .oa-field input:focus, #onlyaudit-faq .oa-field textarea:focus { outline: none; background: #fff; border-color: #f78b30; box-shadow: 0 0 0 4px rgba(247,139,48,0.18); }
#onlyaudit-faq .oa-faq-submit { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 4px; border-radius: 999px; background: #f78b30; color: #1c2b35; font-family: inherit; font-size: 16px; font-weight: 700; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
#onlyaudit-faq .oa-faq-submit:hover { background: #e57a1f; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(247,139,48,0.35); }
#onlyaudit-faq .oa-faq-submit:focus-visible { outline: 3px solid #1c2b35; outline-offset: 3px; }
#onlyaudit-faq .oa-faq-help { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #7a8a94 !important; text-align: center; }
#onlyaudit-faq .oa-faq-direct { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #ece6df; }
#onlyaudit-faq .oa-faq-direct a { font-size: 15px; font-weight: 600; color: #e57a1f !important; }
#onlyaudit-faq .oa-faq-direct a:hover { color: #1c2b35 !important; }
#onlyaudit-faq a:focus-visible { outline: 2px solid #f78b30; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  #onlyaudit-faq .oa-faq-icon, #onlyaudit-faq .oa-faq-submit, #onlyaudit-faq .oa-faq-item { transition: none; }
  #onlyaudit-faq .oa-faq-submit:hover { transform: none; }
}
@media (max-width: 899px) {
  #onlyaudit-faq .oa-faq-body { grid-template-columns: minmax(0, 1fr); }
  #onlyaudit-faq .oa-faq-ask { position: static; }
}
@media (max-width: 479px) {
  #onlyaudit-faq .oa-faq-item summary { font-size: 16px; padding: 16px; }
  #onlyaudit-faq .oa-faq-answer { padding: 0 16px 16px; }
}
