/* -------------------------------------------------------- */
/* 🔹 FAQ Categories Page                                   */
/* -------------------------------------------------------- */
/* Help center landing page with search and categories      */
/* Mirrors faq_categories_page.dart                         */


/* -------------------------------------------------------- */
/* 🔹 Search Section                                        */
/* -------------------------------------------------------- */

.faq-search-section {
  padding-bottom: var(--space-xl);
}


/* -------------------------------------------------------- */
/* 🔹 Categories Grid                                       */
/* -------------------------------------------------------- */
/* Two columns — desktop uses wider cards + larger label,    */
/* mobile keeps the original compact sizing (see @media)     */

.faq-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-m);
}

a.faq-categories__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-l);
  padding: 0 var(--space-l);
  aspect-ratio: 4;
}

.faq-categories__icon {
  flex-shrink: 0;
  display: block;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.faq-categories__label {
  font-size: var(--text-title-medium);
  font-weight: 600;
}

/* -------------------------------------------------------- */
/* 🔹 Contact Spacing                                      */
/* -------------------------------------------------------- */
/* Extra space before contact section on the hub page to    */
/* encourage browsing categories before reaching contact    */

.page-template__bottom {
  padding-top: 140px;
}


/* Mobile — restore original compact card (as before) */
@media (max-width: 599px) {
  a.faq-categories__card {
    gap: var(--space-m);
    padding: 0 var(--space-m);
    aspect-ratio: 2.5;
  }

  .faq-categories__icon {
    width: 20px;
    height: 20px;
  }

  .faq-categories__label {
    font-size: var(--text-body-medium);
  }
}
