/* Isolated mobile FAQ (phone band only). Type follows the site's Methadone
   phone system: the shared display serif / sans tokens (--font-display,
   --font-sans), hero-style h1 with the gradient italic, eyebrow + ornaments
   sized like the shared mobile section heading. The bundled AVCFAQ faces were
   dropped in the mobile standardisation pass. */

/* Hidden unless explicitly mounted on a phone; no legacy selectors are styled. */
.avc-faq{display:none}
/* AVC Site: the original FAQ region (hero + category browser) is wrapped in
   div[data-faq-legacy] so the controller can hide/restore it as one sibling.
   display:contents keeps both sections direct grid items of .faq-page-shell at
   every width; the controller adds hidden + an inline display:none on phones. */
.faq-page .faq-page-shell>[data-faq-legacy]{display:contents}
.faq-page .faq-page-shell>[data-faq-legacy][hidden]{display:none!important}
@media(max-width:767.98px){
 .avc-faq[data-faq-enabled="true"]:not([hidden]){
  --faq-paper:#fdfbf6;--faq-ink:var(--ink-900,#0a1f25);--faq-heading:var(--ink-900,#0a1f25);
  --faq-muted:var(--ink-600,#3a5560);--faq-teal:var(--teal-700,#0f766e);--faq-label:var(--teal-700,#0f766e);--faq-helper:var(--ink-600,#3a5560);
  --faq-serif:var(--font-display,Fraunces,Georgia,serif);--faq-sans:var(--font-sans,Inter,Arial,sans-serif);
  display:block;box-sizing:border-box;isolation:isolate;
  width:100%;margin:0;padding:40px 24px 34px;
  background:var(--faq-paper);color:var(--faq-ink);
  font-family:var(--faq-sans);font-size:15px;font-weight:400;line-height:1.6;
  text-align:left;-webkit-text-size-adjust:100%;
 }
 .avc-faq *,.avc-faq *::before,.avc-faq *::after{box-sizing:border-box}
 .avc-faq [hidden]{display:none!important}
 .avc-faq button,.avc-faq input,.avc-faq summary{
  font:inherit;color:inherit;-webkit-tap-highlight-color:transparent;
 }
 .avc-faq button,.avc-faq summary{touch-action:manipulation;cursor:pointer}
 .avc-faq button{appearance:none;border:0;background:transparent;box-shadow:none}
 .avc-faq :is(button,summary,input,a):focus-visible{outline:2px solid var(--faq-teal);outline-offset:3px}
 /* 2026-09-24 clean field focus: the search input never draws a box inside its rounded shell; the shell shows focus (border on tap, 1px ring for keyboard via --av-ring-w) */
 .avc-faq__search-shell input:focus,.avc-faq__search-shell input:focus-visible{outline:none;box-shadow:none}
 .avc-faq__search-shell:focus-within{border-color:var(--faq-teal);box-shadow:0 0 0 var(--av-ring-w,1px) var(--faq-teal)}
 .avc-faq :is(button,summary):focus:not(:focus-visible){outline:none;box-shadow:none}
 .avc-faq__header{text-align:center}
 .avc-faq__kicker{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 18px;font-size:11.5px;line-height:1.6;color:var(--faq-label);font-weight:700;text-transform:uppercase;letter-spacing:.13em}
 .avc-faq__kicker-line{display:block;width:28px;height:2px;border-radius:2px;background:#14b8a6;flex:none}
 .avc-faq__kicker::after{display:none}
 .avc-faq__kicker-dot{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:#e07856;box-shadow:0 0 0 4px rgb(224 120 86 / 14%);margin:0}
 .avc-faq h1{font-family:var(--faq-serif);font-weight:400;font-size:clamp(28px,8.9vw,42px);line-height:1.02;letter-spacing:-.022em;color:var(--faq-heading);margin:0 auto 22px;max-width:620px;text-wrap:balance}
 /* Gradient italic line as on the Methadone hero: solid teal first for engines that never clip backgrounds to text; padded paint box so the descender ink is not clipped. */
 .avc-faq h1 em{display:block;width:fit-content;margin:0 auto -.14em;padding:0 .06em .14em;font-weight:400;font-style:italic;color:var(--teal-700,#0f766e);background:linear-gradient(105deg,var(--teal-800,#115e59) 0%,var(--teal-600,#0d9488) 55%,var(--terra-400,#e07856) 105%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
 .avc-faq__intro{max-width:24em;margin:0 auto 22px;color:var(--ink-600,#3a5560);font-size:17.5px;line-height:1.48;font-weight:400}
 .avc-faq__search-shell{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:53px;padding:0 15px;border:1px solid #b3c9cf;border-radius:16px;background:#fff;color:#69808a}
 .avc-faq__search-icon{display:block;flex:none;width:20px;height:20px;color:#4b6d79;fill:none}
 .avc-faq__search-shell input{display:block;min-width:0;flex:1;width:100%;height:51px;border:0;border-radius:0;padding:0;background:transparent;font-size:16px;line-height:1.5;box-shadow:none;color:var(--faq-ink);outline-offset:1px;appearance:none}
 .avc-faq__search-shell input::placeholder{color:#6d828b;opacity:1;font-size:14px}
 .avc-faq__search-shell input::-webkit-search-cancel-button{appearance:none}
 .avc-faq__search-shell input:disabled{opacity:1;-webkit-text-fill-color:#6d828b}
 .avc-faq__search-shell [data-faq-clear]{flex:none;font-size:13px;min-width:44px;min-height:44px;padding:0;color:var(--faq-teal);text-decoration:underline;text-underline-offset:3px}
 .avc-faq [data-faq-count]{font-size:13px;line-height:1.5;color:var(--faq-helper);text-align:center;margin:10px 0 16px;min-height:20px}
 .avc-faq__topics{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .avc-faq__topic{--faq-tint:#eaf6f4;--faq-border:#a9d9d2;--faq-accent:var(--teal-700,#0f766e);--faq-bubble:#d9efeb;display:block;min-width:0;margin:0;padding:0;background:var(--faq-tint);border:1px solid var(--faq-border);border-radius:16px}
 .avc-faq__topic[data-theme="sage"]{--faq-tint:#f5f7f0;--faq-border:#b7c8ac;--faq-accent:#587747;--faq-bubble:#e7eede}
 .avc-faq__topic[data-theme="coral"]{--faq-tint:#fff3ee;--faq-border:#ffb4a0;--faq-accent:#d95332;--faq-bubble:#fbe5dc}
 /* Deep links land below the floating header. */
 .avc-faq__topic,.avc-faq__question{scroll-margin-top:88px}
 .avc-faq summary{list-style:none}
 .avc-faq summary::-webkit-details-marker{display:none}
 .avc-faq summary::marker{content:""}
 .avc-faq__topic-summary{display:flex;align-items:center;gap:16px;min-height:91px;margin:0;padding:21px 19px;color:var(--faq-ink);border-radius:15px;text-align:left}
 .avc-faq__icon{position:relative;display:block;flex:none;width:40px;height:40px;overflow:hidden}
 .avc-faq__icon img{position:absolute;display:block;max-width:none;width:var(--sheet-width);height:var(--sheet-height);left:var(--sheet-left);top:var(--sheet-top)}
 .avc-faq__icon[data-icon="getting-started"]{--sheet-width:466.38298px;--sheet-height:259.57447px;--sheet-left:-35.31915px;--sheet-top:-64.68085px}
 .avc-faq__icon[data-icon="admissions"]{--sheet-width:521.90476px;--sheet-height:290.47619px;--sheet-left:-139.04762px;--sheet-top:-74.76190px}
 .avc-faq__icon[data-icon="insurance-and-costs"]{--sheet-width:447.34694px;--sheet-height:248.97959px;--sheet-left:-199.18367px;--sheet-top:-60.81633px}
 .avc-faq__icon[data-icon="mat"]{--sheet-width:466.38298px;--sheet-height:259.57447px;--sheet-left:-295.53191px;--sheet-top:-64.25532px}
 .avc-faq__icon[data-icon="iop-and-therapy"]{--sheet-width:476.52174px;--sheet-height:265.21739px;--sheet-left:-390.65217px;--sheet-top:-66.08696px}
 .avc-faq__icon[data-icon="psychiatric-and-tms"]{--sheet-width:471.39785px;--sheet-height:262.36559px;--sheet-left:-36.12903px;--sheet-top:-163.87097px}
 .avc-faq__icon[data-icon="housing-and-support"]{--sheet-width:471.39785px;--sheet-height:262.36559px;--sheet-left:-123.44086px;--sheet-top:-163.87097px}
 .avc-faq__icon[data-icon="daily-life"]{--sheet-width:476.52174px;--sheet-height:265.21739px;--sheet-left:-213.91304px;--sheet-top:-165.86957px}
 .avc-faq__icon[data-icon="safety-and-privacy"]{--sheet-width:471.39785px;--sheet-height:262.36559px;--sheet-left:-299.35484px;--sheet-top:-163.87097px}
 .avc-faq__icon[data-icon="aftercare"]{--sheet-width:476.52174px;--sheet-height:265.21739px;--sheet-left:-391.30435px;--sheet-top:-165.86957px}
 .avc-faq__topic-heading{flex:1;min-width:0}
 .avc-faq__topic-summary h2{min-width:0;margin:0;color:var(--faq-ink);font-family:var(--faq-serif);font-size:21px;font-weight:600;line-height:1.2;letter-spacing:-.012em;overflow-wrap:anywhere}
 .avc-faq__topic-count{display:block;margin-top:3px;color:var(--faq-helper);font:400 12.5px/1.35 var(--faq-sans)}
 .avc-faq__chevron{display:block;flex:none;width:8px;height:8px;border-right:1.5px solid var(--faq-accent);border-bottom:1.5px solid var(--faq-accent);transform:rotate(-45deg);transition:transform 220ms cubic-bezier(.22,1,.36,1);margin:0 5px 3px}
 .avc-faq__topic[open]:not([data-open])>.avc-faq__topic-summary .avc-faq__chevron{transform:rotate(45deg)}
 .avc-faq__topic-summary[aria-expanded="false"] .avc-faq__chevron{transform:rotate(-45deg)}
 .avc-faq__topic-summary[aria-expanded="true"] .avc-faq__chevron{transform:rotate(45deg)}
 .avc-faq__topic-body{display:flow-root;padding:0 16px 0;border-top:1px solid var(--faq-border)}
 .avc-faq__question{display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent}
 .avc-faq__question+.avc-faq__question{border-top:1px solid var(--faq-border)}
 /* Rows take their height from their content (one-line row = 57px: 17px padding, 21.6px text line governed by the 24px plus disc, 17px padding), closed or open. */
 .avc-faq__question-summary{display:flex;align-items:flex-start;gap:10px;margin:0;padding:17px 0 17px;border:0;text-align:left}
 .avc-faq__question-summary h3{flex:1;min-width:0;margin:0;font-family:var(--faq-serif);font-size:16px;line-height:1.35;font-weight:500;letter-spacing:-.005em;color:var(--faq-ink);overflow-wrap:anywhere}
 .avc-faq__plus{position:relative;display:block;flex:none;width:30px;height:30px;margin:-3px 0;background:var(--faq-bubble);border-radius:50%;color:var(--faq-accent)}
 .avc-faq__plus::before,.avc-faq__plus::after{content:"";position:absolute;left:10px;top:14.5px;width:10px;height:1px;background:currentColor;transition:transform 180ms ease}
 .avc-faq__plus::after{transform:rotate(90deg)}
 .avc-faq__question[open]:not([data-open])>.avc-faq__question-summary .avc-faq__plus::after{transform:rotate(0)}
 .avc-faq__question-summary[aria-expanded="false"] .avc-faq__plus::after{transform:rotate(90deg)}
 .avc-faq__question-summary[aria-expanded="true"] .avc-faq__plus::after{transform:rotate(0)}
 .avc-faq__answer{display:flow-root;margin:-4px 0 0;padding:0 0 16px;color:var(--faq-muted);font-size:13.5px;line-height:1.7}
 .avc-faq__answer p{font:inherit;line-height:inherit;margin:0 0 12px;color:inherit}
 .avc-faq__answer p:last-child{margin-bottom:0}
 .avc-faq__answer-links{margin:10px 0 0;padding-left:18px}
 .avc-faq__answer a{color:var(--faq-teal);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
 .avc-faq__hint{margin:16px 3px 0;font-size:12.5px;line-height:1.5;color:var(--faq-helper)}
 /* The all-topics rendering shows no helper line while every topic is closed. */
 .avc-faq:not(:has(.avc-faq__topic[open])) .avc-faq__hint{display:none}
 .avc-faq [data-faq-empty]{margin:0 0 14px;padding:20px;border:1px solid #b3c9cf;border-radius:16px;background:#fff;text-align:center;color:var(--faq-muted)}
 .avc-faq__visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
@media(max-width:359.98px){
 .avc-faq[data-faq-enabled="true"]:not([hidden]){padding-inline:18px}
 .avc-faq__topic-summary{gap:12px;padding-inline:14px}
 .avc-faq__topic-summary h2{font-size:19px}
 .avc-faq__search-shell{gap:8px;padding-inline:12px}
}
@media(prefers-reduced-motion:reduce){
 .avc-faq .avc-faq__chevron,.avc-faq .avc-faq__plus::before,.avc-faq .avc-faq__plus::after{transition:none}
}
