/* FAQ uses the shared hero, spacing and button primitives. */
.faq-hero .hero-media img { object-position: center; }
.faq-hero .page-hero-grid { display: flex; height: auto; min-height: 296px; padding-block: 28px; }
.faq-hero .page-hero-title { width: min(100%, 900px); padding: 0; }
.faq-hero .page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 0; margin-top: 20px; }
.faq-hero .page-hero-copy > p { max-width: 780px; }
.faq-hero .page-hero-copy > p { margin-bottom: 20px; }
.faq-search { margin-bottom: 24px; }
.faq-workspace { --faq-column-height: 660px; display: grid; grid-template-columns: 220px minmax(0,1fr) 260px; align-items: start; gap: 24px; }
.faq-questions-column { min-width: 0; height: var(--faq-column-height); overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior-y: contain; padding-right: 12px; }
.faq-questions-column:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq-topic-filters { display: flex; flex-direction: column; gap: 4px; height: var(--faq-column-height); overflow-y: auto; padding: 12px; background: var(--ink); }
.faq-topic-filters a { display: flex; min-height: 44px; align-items: center; padding: 9px 12px; color: var(--white); background: transparent; font-size: 14px; font-weight: 650; line-height: 1.4; }
.faq-topic-filters a[aria-current], .faq-topic-filters a:hover, .faq-topic-filters a:focus-visible { color: var(--white); background: var(--blue); }
.faq-search label { display: block; margin-bottom: 8px; font-weight: 750; }
.faq-search-entry { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; }
.faq-search input { flex: 1 1 180px; width: 0; min-width: 0; min-height: 56px; border: 1px solid #8995a7; padding: 14px 16px; background: var(--paper); color: var(--ink); }
.faq-experience .solid-button { border: 0; cursor: pointer; }
.faq-search .faq-search-submit { flex: 0 0 auto; min-width: 0; gap: 8px; padding-inline: 18px; font-size: 15px; }
.faq-search-submit .lucide { width: 18px; height: 18px; }
.faq-search-clear, .faq-empty button { border: 0; padding: 10px 0; color: var(--blue); background: transparent; font-weight: 700; cursor: pointer; }
.faq-search-clear { flex: 1 0 100%; text-align: start; }
.faq-result-count { margin-block: 0 12px; color: #596477; font-size: 14px; }
.faq-experience .faq-item { border-bottom: 1px solid #cbd3df; }
.faq-experience .faq-item summary { min-height: 56px; gap: 18px; padding-block: 20px; font-weight: 400; }
.faq-experience .faq-item summary > span { font-size: 19px; line-height: 1.35; font-weight: 400; }
.faq-experience .faq-item summary strong { font-weight: 700; }
.faq-experience .faq-item summary > .lucide { width: 22px; height: 22px; color: var(--blue); transition: transform .25s var(--ease); }
.faq-experience .faq-item[open] summary > .lucide { transform: rotate(45deg); }
.faq-experience .faq-answer { padding-inline: 0; padding-bottom: 20px; }
.faq-experience .faq-answer p { white-space: pre-line; }
.faq-context-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.faq-context-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue); font-weight: 700; }
.faq-context-links .lucide { width: 1em; height: 1em; }
.faq-load-more { margin-top: 24px; }
.faq-empty { padding-block: 20px 0; }
.faq-empty div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.faq-empty a { padding-block: 12px; color: var(--blue); font-weight: 700; }
.faq-help { position: sticky; top: 24px; min-width: 0; padding: 24px; border: 1px solid #cbd3df; background: var(--paper); }
.faq-help .design-heading { font-size: 26px; }
.faq-help p { margin-block: 16px 20px; color: #596477; }
.faq-help .solid-button { width: 100%; min-width: 0; gap: 12px; padding-inline: 14px; font-size: 15px; }
.faq-experience [hidden] { display: none !important; }
@media(max-width: 1199px) {
  .faq-workspace { grid-template-columns: 200px minmax(0,1fr); }
  .faq-topic-filters { grid-row: 1 / 3; }
  .faq-help { grid-column: 2; position: static; }
}
@media(max-width: 900px) {
  .faq-workspace { grid-template-columns: minmax(0,1fr); }
  .faq-topic-filters { grid-row: auto; flex-direction: row; height: auto; overflow-x: auto; padding: 8px; }
  .faq-questions-column { height: clamp(360px, 65svh, 600px); }
  .faq-topic-filters a { flex: 0 0 auto; white-space: nowrap; }
  .faq-help { grid-column: auto; }
  .faq-hero .page-hero-copy { padding: 0; }
}
@media(max-width: 600px) {
  .faq-experience .faq-item summary > span { font-size: 18px; }
  .faq-search input { flex-basis: 100%; width: 100%; }
  .faq-search .faq-search-submit { flex: 1 1 auto; }
  .faq-search-clear { flex: 0 0 auto; padding-inline: 12px; }
  .faq-context-links { flex-direction: column; gap: 4px; }
  .faq-load-more { width: 100%; min-width: 0; font-size: 16px; padding-inline: 14px; }
}
@media(prefers-reduced-motion: reduce) { .faq-experience .faq-item summary > .lucide { transition: none; } }
