
 /* /style/faq.css */ 

/* ============================================================
   FAQ Page — UI v2 "Warm Modern" (design tokens only)
   NOTE: the accordion/search/filter markup (.FaqList/.h2toggle/
   .cont) has page JS bound to it, so classes are kept and styled
   to match the .tch-acc look — do not rename them.
   ============================================================ */

.FAQPage { padding-bottom: var(--tch-space-8); }

/* ── Hero ─────────────────────────────────────────────────── */
.faq-hero {
  background: linear-gradient(135deg, var(--tch-surface-sand) 0%, var(--tch-surface) 70%);
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius-lg);
  padding: 52px 40px 48px;
  margin-bottom: var(--tch-space-5);
  text-align: center;
}

.faq-hero h1 {
  font-family: var(--tch-font-display);
  font-size: var(--tch-text-2xl);
  font-weight: 500;
  color: var(--tch-ink);
  margin: 0 0 var(--tch-space-2);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.faq-hero-sub {
  font-size: var(--tch-text-base);
  color: var(--tch-muted);
  margin: 0 0 var(--tch-space-5);
  line-height: 1.5;
}

/* Search */
.faq-search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.faq-search-box .fa-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tch-muted);
  font-size: 14px;
  pointer-events: none;
}

#faqSearch {
  width: 100%;
  padding: 13px 44px 13px 42px;
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius-pill);
  font-family: var(--tch-font-body);
  font-size: var(--tch-text-base);
  color: var(--tch-ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--tch-surface);
}

#faqSearch:focus {
  border-color: var(--tch-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tch-brand) 20%, transparent);
}

#faqSearchClear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--tch-muted);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 1;
}

#faqSearchClear:hover { color: var(--tch-brand); }

/* ── Category pills (styled like .tch-chip) ───────────────── */
.faq-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tch-space-2);
  margin-bottom: var(--tch-space-5);
}

.faq-cat-btn {
  padding: 8px 18px;
  border-radius: var(--tch-radius-pill);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  font-family: var(--tch-font-body);
  font-size: var(--tch-text-sm);
  font-weight: 500;
  color: var(--tch-ink-2);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.faq-cat-btn:hover {
  background: var(--tch-hover-bg);
  border-color: var(--tch-brand);
  color: var(--tch-brand-dark);
}

.faq-cat-btn.is-active {
  background: var(--tch-brand);
  border-color: var(--tch-brand);
  color: #fff;
}

/* ── Section eyebrow ──────────────────────────────────────── */
.faq-section { margin-bottom: var(--tch-space-2); }

.faq-section-title {
  display: flex;
  align-items: center;
  gap: var(--tch-space-2);
  font-size: var(--tch-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--tch-brand);
  padding: var(--tch-space-5) 0 var(--tch-space-2);
  margin: 0;
  border-bottom: 1px solid var(--tch-line);
}

.faq-section-title i { font-size: 12px; }

/* ── FAQ items (kept classes; .tch-acc visual language) ───── */
.FaqList {
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius);
  margin: var(--tch-space-2) 0;
  overflow: hidden;
  background: var(--tch-surface);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.FaqList:hover {
  box-shadow: var(--tch-shadow-sm);
  border-color: var(--tch-brand);
}

.FaqList.opened {
  border-color: var(--tch-brand);
  box-shadow: var(--tch-shadow-sm);
}

.FaqList h4 { margin: 0; padding: 0; }

.FaqList h4 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tch-space-3);
  padding: 15px 18px;
  color: var(--tch-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.45;
  cursor: pointer;
}

.FaqList h4 a:hover { color: var(--tch-brand-dark); }
.FaqList.opened h4 a { color: var(--tch-brand-dark); }

.FaqList h4 i {
  color: var(--tch-brand);
  font-size: 12px;
  flex-shrink: 0;
}

.FaqList .cont {
  border-top: 1px solid var(--tch-line);
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 14px;
  color: var(--tch-ink-2);
  line-height: 1.8;
  background: var(--tch-surface-warm);
}

.FaqList .cont a { color: var(--tch-brand); text-decoration: none; }
.FaqList .cont a:hover { text-decoration: underline; color: var(--tch-brand-dark); }

/* ── No results ───────────────────────────────────────────── */
.faq-no-results {
  text-align: center;
  padding: var(--tch-space-8) var(--tch-space-5);
}

.faq-no-results i {
  font-size: 40px;
  color: var(--tch-line);
  margin-bottom: var(--tch-space-3);
  display: block;
}

.faq-no-results p {
  font-size: var(--tch-text-base);
  color: var(--tch-muted);
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-hero { padding: 36px 20px 32px; border-radius: var(--tch-radius); }
  .faq-hero h1 { font-size: var(--tch-text-xl); }
  .faq-hero-sub { font-size: 14px; margin-bottom: var(--tch-space-4); }
  .faq-cat-nav { gap: 6px; }
  .faq-cat-btn { font-size: 12px; padding: 7px 14px; }
  .FaqList h4 a { padding: 13px 14px; font-size: 13px; }
  .FaqList .cont { padding: 12px 14px 16px; font-size: 13px; }
  .faq-section-title { padding-top: var(--tch-space-4); }
}


