/* FAQ / Help Center */

.htha-faq-hero {
  padding: var(--htha-space-24) 0 var(--htha-space-48);
  text-align: center;
}

.htha-faq-hero .htha-eyebrow {
  justify-content: center;
}

.htha-faq-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  margin: 0 0 var(--htha-space-16);
}

.htha-faq-hero__intro {
  font-size: 17px;
  line-height: 1.7;
  max-width: 36em;
  margin: 0 auto var(--htha-space-24);
}

.htha-faq-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--htha-text-muted);
}

.htha-faq-hero__chips a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.htha-faq-section {
  padding: var(--htha-space-96) 0;
}

.htha-faq-section--warm {
  background: #f7f3ed;
}

.htha-faq-section--tint {
  background: #f0ebe4;
}

.htha-faq-section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--htha-space-32) 0 0;
}

.htha-faq-search {
  margin-top: var(--htha-space-24);
}

.htha-faq-search input[type="search"] {
  width: 100%;
  max-width: 40rem;
  display: block;
  margin: 0 auto;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid var(--htha-border);
  background: #fff;
  color: var(--htha-text);
}

.htha-faq-search input[type="search"]:focus {
  outline: 2px solid var(--htha-accent);
  outline-offset: 2px;
}

.htha-faq-search__status {
  text-align: center;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--htha-text-muted);
  min-height: 1.4em;
}

.htha-faq-empty {
  text-align: center;
  margin-top: var(--htha-space-32);
}

.htha-faq-empty p {
  margin: 0 0 16px;
  line-height: 1.65;
}

.htha-faq-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--htha-space-24);
  margin-top: var(--htha-space-32);
}

.htha-faq-topics__item h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.htha-faq-topics__item p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--htha-text-muted);
  font-size: 15px;
}

.htha-faq-topics__count {
  font-size: 13px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.htha-faq-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--htha-space-24);
  margin-top: var(--htha-space-32);
}

.htha-faq-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--htha-space-24);
  margin-top: var(--htha-space-32);
}

.htha-faq-resources__item h3,
.htha-faq-related h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.htha-faq-resources__item p,
.htha-faq-related p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--htha-text-muted);
  font-size: 15px;
}

.htha-faq__more {
  margin: var(--htha-space-24) 0 0;
}

.htha-faq-confidence {
  padding: var(--htha-space-48) 0 var(--htha-space-96);
}

.htha-faq-page .htha-faq-searchable.is-search-hidden,
.htha-faq-page #popular-questions.is-search-hidden,
.htha-faq-page #browse-topics.is-search-hidden,
.htha-faq-page #help-resources.is-search-hidden {
  display: none;
}

@media (max-width: 900px) {
  .htha-faq-topics,
  .htha-faq-related,
  .htha-faq-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .htha-faq-topics,
  .htha-faq-related,
  .htha-faq-resources {
    grid-template-columns: 1fr;
  }

  .htha-faq-section {
    padding: var(--htha-space-64) 0;
  }
}
