/* Best Friends — FAQ v1.0.0. Page-scoped; no shared theme selectors overridden. */
.bf-faq {
  --bf-faq-ink: #173629;
  --bf-faq-muted: #51645b;
  --bf-faq-green: #096c39;
  --bf-faq-border: #dce7df;
  --bf-faq-offset: 112px;
  color: var(--bf-faq-ink);
  background: #fff;
}
.bf-faq [hidden] { display: none !important; }
.bf-faq .bf-inner { width: 100%; max-width: 1272px; padding: 0 32px; }
.bf-faq .bf-section { padding-left: 4vw; padding-right: 4vw; }
.bf-faq .bf-faq-hero { padding-top: 66px; padding-bottom: 60px; background: #edf7ef; }
.bf-faq .bf-faq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 64px;
}
.bf-faq .bf-kicker { color: var(--bf-faq-green); margin: 0 0 15px; }
.bf-faq h1 { max-width: 740px; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.14; letter-spacing: -0.025em; margin: 0 0 22px; color: var(--bf-faq-ink); }
.bf-faq .bf-faq-lead { font-size: 19px; line-height: 1.55; margin: 0 0 16px; color: var(--bf-faq-ink); }
.bf-faq .bf-faq-intro { font-size: 15.5px; line-height: 1.75; margin: 0; max-width: 72ch; color: var(--bf-faq-muted); }
.bf-faq .bf-faq-aftercare { padding: 27px; border: 1px solid #bdddd9; background: #e7f4f2; border-radius: 16px; }
.bf-faq .bf-faq-eyebrow { display: block; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #42695c; margin: 0 0 12px; }
.bf-faq .bf-faq-aftercare h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--bf-faq-ink); margin: 0 0 12px; }
.bf-faq .bf-faq-aftercare p { font-size: 14.5px; line-height: 1.7; margin: 0 0 18px; color: #3f6156; }
.bf-faq a.bf-faq-text-link { color: #185b49; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; line-height: 1.7; }
.bf-faq .bf-faq-content { padding-top: 48px; padding-bottom: 64px; }
.bf-faq .bf-faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.bf-faq .bf-faq-toc { min-width: 0; position: sticky; top: var(--bf-faq-offset); }
.bf-faq .bf-faq-toc-inner { border-right: 1px solid var(--bf-faq-border); padding: 12px 24px 14px 0; }
.bf-faq .bf-faq-toc-list { list-style: none; margin: 0; padding: 0; }
.bf-faq .bf-faq-toc-list li { margin: 0; padding: 0; }
.bf-faq .bf-faq-toc-list a { display: flex; gap: 12px; align-items: baseline; border-radius: 8px; padding: 12px 6px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #335545; }
.bf-faq .bf-faq-toc-list a:hover { background: #f0f7f2; color: var(--bf-faq-green); }
.bf-faq .bf-faq-toc-number { font-size: 11px; font-weight: 650; color: #537462; flex: 0 0 19px; }
.bf-faq .bf-faq-toc-note { font-size: 12.5px; line-height: 1.65; color: var(--bf-faq-muted); margin: 18px 0 0; }
.bf-faq .bf-faq-questions { min-width: 0; }
.bf-faq .bf-faq-tools { display: flex; gap: 12px 20px; flex-wrap: wrap; justify-content: flex-end; margin: 0 0 25px; }
.bf-faq .bf-faq-tools button { background: transparent; border: 0; padding: 8px 0; min-height: 40px; color: #486454; font: inherit; font-size: 12.5px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; border-radius: 2px; }
.bf-faq .bf-faq-tools button:hover { color: var(--bf-faq-green); }
.bf-faq .bf-faq-group { margin: 0 0 56px; scroll-margin-top: var(--bf-faq-offset); }
.bf-faq .bf-faq-group-heading { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 22px; }
.bf-faq .bf-faq-section-number { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: #ebf5ee; color: var(--bf-faq-green); font-size: 13px; font-weight: 700; margin-top: 1px; }
.bf-faq .bf-faq-group-heading h2 { font-size: 23px; line-height: 1.25; margin: 0 0 9px; color: var(--bf-faq-ink); letter-spacing: -.018em; }
.bf-faq .bf-faq-group-heading p { font-size: 14px; line-height: 1.65; color: var(--bf-faq-muted); margin: 0; max-width: 70ch; }
.bf-faq .bf-faq-items { border: 1px solid var(--bf-faq-border); border-radius: 14px; background: #fff; }
.bf-faq .bf-faq-item { border: 0; border-bottom: 1px solid var(--bf-faq-border); padding: 0; margin: 0; border-radius: 0; scroll-margin-top: var(--bf-faq-offset); }
.bf-faq .bf-faq-item:first-child { border-radius: 13px 13px 0 0; }
.bf-faq .bf-faq-item:last-child { border-bottom: 0; border-radius: 0 0 13px 13px; }
.bf-faq .bf-faq-item:only-child { border-radius: 13px; }
.bf-faq .bf-faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 23px; min-height: 64px; font-size: 15px; line-height: 1.55; font-weight: 620; color: var(--bf-faq-ink); cursor: pointer; list-style: none; border-radius: inherit; }
.bf-faq .bf-faq-item > summary::marker { content: ''; }
.bf-faq .bf-faq-item > summary::-webkit-details-marker { display: none; }
.bf-faq .bf-faq-item > summary:hover { background: #f6faf7; }
.bf-faq .bf-faq-item[open] { background: #f8fbf9; }
.bf-faq .bf-faq-item[open] > summary { color: var(--bf-faq-green); border-radius: 12px 12px 0 0; }
.bf-faq .bf-faq-toggle-icon { position: relative; display: block; height: 22px; width: 22px; flex: 0 0 22px; border-radius: 50%; background: #eaf4ed; }
.bf-faq .bf-faq-toggle-icon::before,
.bf-faq .bf-faq-toggle-icon::after { content: ''; position: absolute; top: 10px; left: 6px; width: 10px; height: 2px; background: #246b43; border-radius: 1px; }
.bf-faq .bf-faq-toggle-icon::after { transform: rotate(90deg); transition: transform .15s ease; }
.bf-faq .bf-faq-item[open] .bf-faq-toggle-icon::after { transform: rotate(0); }
.bf-faq .bf-faq-answer { padding: 0 23px 22px; font-size: 15px; line-height: 1.8; color: #354b40; overflow-wrap: anywhere; }
.bf-faq .bf-faq-answer p { margin: 0 0 13px; }
.bf-faq .bf-faq-answer p:last-child { margin-bottom: 0; }
.bf-faq .bf-faq-answer strong { font-weight: 650; color: #254936; }
.bf-faq .bf-faq-answer .bf-faq-references { border-top: 1px solid #e1eae3; padding-top: 11px; margin-top: 18px; font-size: 11px; line-height: 1.8; color: #586f61; }
.bf-faq .bf-faq-references span { display: block; }
.bf-faq .bf-faq-references a { text-decoration: underline; text-underline-offset: 2px; margin-right: 10px; }
.bf-faq .bf-faq-medical-note { padding: 24px 26px; margin: 0 0 34px; background: #eef6f3; border: 1px solid #cfe3db; border-radius: 14px; }
.bf-faq .bf-faq-medical-note h2 { font-size: 17px; line-height: 1.4; margin: 0 0 10px; color: #284d3b; }
.bf-faq .bf-faq-medical-note p { font-size: 13.5px; line-height: 1.75; margin: 0; color: #425e50; }
.bf-faq .bf-faq-further { margin: 0 0 38px; }
.bf-faq .bf-faq-further h2 { font-size: 22px; line-height: 1.3; margin: 0 0 9px; color: var(--bf-faq-ink); }
.bf-faq .bf-faq-further > p { font-size: 14px; color: var(--bf-faq-muted); margin: 0 0 16px; }
.bf-faq .bf-faq-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-faq .bf-faq-related-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 15px; border: 1px solid #c9dfd0; background: #fff; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--bf-faq-green); }
.bf-faq .bf-faq-related-links a:hover { background: #eff8f1; }
.bf-faq .bf-faq-source-list { padding-top: 24px; border-top: 1px solid var(--bf-faq-border); }
.bf-faq .bf-faq-source-list h2 { font-size: 14px; line-height: 1.4; font-weight: 650; margin: 0 0 9px; color: #425f4f; }
.bf-faq .bf-faq-source-list p,
.bf-faq .bf-faq-source-list li { font-size: 11.5px; line-height: 1.8; color: #526759; overflow-wrap: anywhere; }
.bf-faq .bf-faq-source-list p { margin: 0 0 10px; }
.bf-faq .bf-faq-source-list ul { list-style: none; margin: 0; padding: 0; }
.bf-faq .bf-faq-source-list li { margin: 0 0 7px; scroll-margin-top: var(--bf-faq-offset); }
.bf-faq .bf-faq-source-list a { text-decoration: underline; text-underline-offset: 3px; }
.bf-faq .bf-faq-source-list li:target { background: #edf6f0; outline: 3px solid #edf6f0; }
.bf-faq a:focus-visible,
.bf-faq button:focus-visible,
.bf-faq summary:focus-visible { outline: 3px solid #14693e; outline-offset: 4px; }
.bf-faq .bf-faq-item:target { box-shadow: 0 0 0 2px #76ad8b; }
.bf-faq .bf-faq-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  .bf-faq .bf-faq-hero-grid { grid-template-columns: minmax(0, 1fr) 275px; gap: 32px; }
  .bf-faq .bf-faq-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 32px; }
  .bf-faq .bf-faq-toc-inner { padding-right: 18px; }
}
@media (max-width: 820px) {
  .bf-faq { --bf-faq-offset: 102px; }
  .bf-faq .bf-inner { max-width: 760px; padding: 0 24px; }
  .bf-faq .bf-section { padding-left: 0; padding-right: 0; }
  .bf-faq .bf-faq-hero { padding-top: 40px; padding-bottom: 36px; }
  .bf-faq .bf-faq-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bf-faq .bf-faq-aftercare { max-width: 460px; padding: 22px; }
  .bf-faq .bf-faq-aftercare h2 { font-size: 21px; }
  .bf-faq .bf-faq-aftercare p { margin-bottom: 12px; }
  .bf-faq .bf-faq-layout { display: block; }
  .bf-faq .bf-faq-content { padding-top: 26px; }
  .bf-faq .bf-faq-toc { position: static; margin-bottom: 22px; }
  .bf-faq .bf-faq-toc-inner { border-right: 0; border-bottom: 1px solid var(--bf-faq-border); padding: 0 0 22px; }
  .bf-faq .bf-faq-toc-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .bf-faq .bf-faq-toc-list a { height: 100%; background: #f4f8f5; padding: 11px; font-size: 12.5px; gap: 6px; }
  .bf-faq .bf-faq-toc-note { margin-top: 13px; }
  .bf-faq .bf-faq-group-heading h2 { font-size: 21px; }
  .bf-faq .bf-faq-group { margin-bottom: 40px; }
  .bf-faq .bf-faq-tools { justify-content: flex-start; margin-bottom: 23px; }
}
@media (max-width: 420px) {
  .bf-faq .bf-inner { padding-left: 18px; padding-right: 18px; }
  .bf-faq h1 { font-size: 30px; }
  .bf-faq .bf-faq-lead { font-size: 17px; }
  .bf-faq .bf-faq-intro { font-size: 14px; }
  .bf-faq .bf-faq-toc-list a { font-size: 12px; padding: 10px 8px; }
  .bf-faq .bf-faq-group-heading { gap: 12px; }
  .bf-faq .bf-faq-section-number { width: 33px; height: 33px; flex-basis: 33px; }
  .bf-faq .bf-faq-group-heading h2 { font-size: 20px; }
  .bf-faq .bf-faq-group-heading p { font-size: 13px; }
  .bf-faq .bf-faq-item > summary { gap: 12px; padding: 16px; font-size: 14px; }
  .bf-faq .bf-faq-answer { padding: 0 16px 18px; font-size: 14px; }
  .bf-faq .bf-faq-medical-note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.bf-faq) { scroll-behavior: auto; }
  .bf-faq .bf-faq-toggle-icon::after { transition: none; }
}
@media print {
  .bf-faq .bf-faq-tools,
  .bf-faq .bf-faq-toc,
  .bf-faq .bf-faq-aftercare,
  .bf-faq .bf-faq-toggle-icon { display: none !important; }
  .bf-faq .bf-faq-hero-grid,
  .bf-faq .bf-faq-layout { display: block; }
  .bf-faq .bf-inner { max-width: none; padding: 0; }
  .bf-faq .bf-section { padding: 16px 0; }
  .bf-faq .bf-faq-group { margin: 0 0 28px; }
  .bf-faq .bf-faq-item > summary { break-after: avoid; }
  .bf-faq .bf-faq-answer { display: block !important; }
  .bf-faq details::details-content { content-visibility: visible; }
  .bf-faq .bf-faq-source-list li { break-inside: avoid; }
}
