/* =========================================================
   VALAPPILA — FAQ Page
   (Header, hero, intro, accordion & footer live in common.css)
   ========================================================= */

.faqp {
  padding-top: 20px;
}

/* Category jump links */
.faqp-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.faqp-pill {
  background: #FFD6D3;
  color: #9D0600;
  border-radius: 100px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}

.faqp-pill:hover,
.faqp-pill:focus-visible {
  background: #9D0600;
  color: #FFFFFF;
}

.faqp-group {
  max-width: 840px;
  margin: 0 auto 56px;
  scroll-margin-top: 30px;
}

.faqp-group:last-child {
  margin-bottom: 0;
}

.faqp-group-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: #000000;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .faqp-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1) 36px;
    padding: 2px var(--gutter);
    scrollbar-width: none;
  }

  .faqp-pills::-webkit-scrollbar {
    display: none;
  }

  .faqp-pill {
    flex-shrink: 0;
  }

  .faqp-group {
    margin-bottom: 40px;
  }

  .faqp-group-title {
    font-size: 23px;
  }
}
