/* Paper Boy Biz theme: help-center. Source: handoff css/pages/help-center.css
   Breakpoints (mobile-first, min-width): mobile < 768px, tablet 768-1023px,
   desktop >= 1024px. Tokens that change per breakpoint live in tokens.css.

   This page has its own template; this stylesheet is used by this page only.
   ========================================================================== */

/* ==========================================================================
   Page: Help Center (help-center.html → page-help-center.php)
   Search · topic grid (anchors into FAQ) · FAQ accordion (<details>) ·
   Need more help cards.
   Breakpoints: mobile < 768 · tablet 768–1023 · desktop >= 1024
   ========================================================================== */

.help-hero { padding-block: var(--space-5) var(--space-7); }
.help-hero h1 { margin: var(--space-3) 0 0; }
.help-search { display: flex; gap: var(--space-2); max-width: 640px; }
.help-search .input { flex: 1; min-height: 48px; }

.help-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); list-style: none; margin: 0 0 var(--space-10); padding: 0; }
.help-topic {
  display: flex; flex-direction: column; gap: var(--space-3); height: 100%;
  padding: var(--space-4); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-md);
  color: var(--color-text); text-decoration: none; font-weight: var(--fw-bold); font-size: 0.9375rem;
}
.help-topic:hover { border-color: var(--color-primary); color: var(--color-primary); }
.help-topic__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--color-badge-bg); color: var(--color-primary); }

.help-faq { max-width: 880px; }
.help-faq__head { margin-bottom: var(--space-5); }
.help-faq details { scroll-margin-top: var(--space-6); }
.help-faq details > div p { margin-bottom: var(--space-3); }

.help-more { margin-top: var(--space-10); }
.help-more h2 { font-size: var(--fs-h3); }
.help-cards { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.help-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-5); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-light); }
.help-card__icon { color: var(--color-primary); }
.help-card h3 { font-size: var(--fs-h5); margin: var(--space-2) 0 0; }
.help-card p { margin: 0 0 var(--space-2); color: var(--color-text-muted); font-size: 0.9375rem; }

@media (min-width: 768px) {
  .help-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  .help-topic { flex-direction: row; align-items: center; }
  .help-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .help-hero { padding-block: var(--space-6) var(--space-9); }
}

.help-topic { align-items: flex-start !important; }
.help-topic strong { display: block; }
.help-topic__desc { display: block; font-weight: var(--fw-regular); font-size: var(--fs-small); color: var(--color-text-muted); margin-top: 2px; }
.help-faq-wrap { display: grid; gap: var(--space-7); }
.help-solution { padding: var(--space-6); border-radius: var(--radius-md); background: var(--color-primary); color: var(--color-text-inverse); align-self: start; }
.help-solution h2 { color: var(--color-text-inverse); font-size: var(--fs-h3); }
.help-solution p { color: var(--color-text-inverse-muted); }
@media (min-width: 1024px) {
  .help-faq-wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-9); }
}
