/* FAQ Redesign */
.faqhub {
  --faqhub-measure: 1000px;
  background: #F8F8F8;
  color: #031C2B;
  padding: 172px 64px 92px;
}

.faqhub__inner {
  max-width: var(--faqhub-measure);
  margin-inline:auto
}

.page-head {
  gap: 18px;
  margin-bottom: 4rem;
}

header.page-head > h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #031C2B;
}

header.page-head > p {
  margin: 0;
  max-width: var(--page-head-measure, 62ch);
  font-size: 16.5px;
  line-height: 1.7;
  color: #031c2bb3;
}

.faqhub__groups {
  gap: 3rem;
}

.faqhub__group-head {
  margin-bottom: 1rem;
}

.faqhub__search { margin-top: .5rem; }

.faqhub__search-icon {
  position: absolute;
  left: 18px;
  width: 19px;
  height: 19px;
  pointer-events: none;
  color: #031c2b66;
}

.faqhub__input {
  width: 100%;
  height: 56px;
  padding: 0 48px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.16);
  outline: .5px solid transparent;
  background:  #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  color: #031C2B;
}

.faqhub__input::placeholder {
    color: #0000006b
}

.faqhub__input:focus {
  outline: none;
  border: 1.5px solid #031C2B;
}

.faqhub__input::-webkit-search-cancel-button {
    display: none
}

.faqhub__clear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #031c2b0f;
  color: #031C2B;
  cursor: pointer
}

.faqhub__clear svg {
    width: 13px;
    height: 13px
}

.faqhub__clear[hidden] {
  display: none
}

.faqhub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.faqhub__chip {
  appearance: none;
  cursor: pointer;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background:  #F0F0F0;
  color: #031c2bb8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
  transition: background .15s cubic-bezier(.23, 1, .32, 1),color .15s cubic-bezier(.23, 1, .32, 1)

}

.faqhub__chip:hover {
    background: #e6e6e6;
    color:  #031C2B;
}

.faqhub__chip.is-on {
    background: #031C2B;
    color: #fff;
    font-weight: 600;
}

.faqhub__group-blurb {
  margin: .5rem 0 0;
  line-height: 1.5;
  color: #031c2b8c;
  font-size: 14px;
}

.faqhub__empty {
  padding: 3rem 2rem 4rem;
  border-radius: 24px;
  background: #fff;
  text-align: center
}

.faqhub__empty[hidden] {
  display: none
}

.faqhub__empty-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  background:  #F0F0F0;
  color: #031C2B;
}

.faqhub__empty-ico svg {
  width: 26px;
  height: 26px;
  display: block;
}

.faqhub__empty-title {
  margin: 0 0 .5rem;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.faqhub__empty-body {
    margin: 0 auto 1.5rem;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.65;
    color: #031c2ba6
}

.faqhub__empty-body a {
  color: #1360A0;
  text-decoration: underline;
  text-underline-offset: 2px
}

.faqhub__reset {
  appearance: none;
  cursor: pointer;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: #031C2B;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
}

.faqhub .faq__list {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background:  #F0F0F0;
}

.faqhub .faq__item {
  border-bottom: 0;
  border-radius: 16px;
  background: #fff;
  padding-inline: 20px
}

.faqhub__count {
  margin: 0 0 1.5rem;
  font-size: 13.5px;
  color: #031c2b80
}

.faq__q {
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  padding-block: 18px;
}

.faq__q:hover .faq__toggle {
  background: #1360a024;
}

.faq__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1360a017;
  transition: background .25s cubic-bezier(.23, 1, .32, 1);
}

.faq__toggle-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -.75px 0 0 -6px;
  border-radius: 1px;
  background: #1360A0;
}

.faq__toggle-bar--v {
  transform: rotate(90deg);
  transition: transform .25s cubic-bezier(.23, 1, .32, 1);
}

.faq__item[open] .faq__toggle-bar--v {
  transform: rotate(0)
}

/* Open/close height animation is driven by js/features/faq.js (Web Animations API) */
.faq__panel {
  overflow: hidden;
}

.faq__a {
  min-height: 0;
  padding: 0 44px 20px 0;
  font-size: 15px;
  line-height: 1.62;
  color: #031c2bb3;
}
.faq__a > p { margin: 0; }

.faq__a table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.faq__a table th, 
.faq__a table td {
  padding: 10px 12px;
  border-right: 0;
  border-left: 0;
  border-bottom: 1px solid #E9E9E9;
  text-align: left;
  vertical-align: top;
}
.faq__a table th {
  background: #E9E9E9;
  color: #031C2B;
  font-weight: 600;
  border: 0;
}
/* FAQ page template (templates/faq.php) */
.faq-page .faq__list {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background: #F0F0F0;
}

.faq-page .faq__item {
  border-radius: 16px;
  background: #fff;
  padding-inline: 20px;
}

.faq-page .scrollspy-sections .faq__a p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.62;
  color: inherit;
}

.faq-page .scrollspy-sections .faq__a p:last-child {
  margin-bottom: 0;
}

.faq-page .faq__a ul li {
  font-size: 15px;
}

.faq-page .faqhub__search {
  max-width: 720px;
}

.faq-page .faqhub__count {
  margin: .75rem 0 0;
}

/* Overrides Bootstrap d-flex !important on links hidden by the search */
.faq-page #list-sections .list-group-item[hidden] {
  display: none !important;
}

/* Each section is wrapped in .faqhub__group, so the policies.css h3:not(:first-child) divider
   no longer matches - draw it only after a visible section */
.faq-page .faqhub__group:not([hidden]) ~ .faqhub__group h3 {
  margin-top: 48px;
  border-top: 1px solid #e9e9e9;
}

@media(max-width: 900px) {
    .faqhub .faq__list {
        grid-template-columns:minmax(0,1fr)
    }
}

@media(max-width: 700px) {
    .faqhub {
        padding:160px 24px 80px
    }

    .faqhub__input {
        height: 52px
    }

    .faqhub .faq__item,
    .faq-page .faq__item {
        padding-inline:16px
      }

    .faq-page .faqhub__group:not([hidden]) ~ .faqhub__group h3 {
        margin-top: 32px;
    }
}
