/* v289G — FAQ page switcher top/bottom logic fix
   Keeps the 4 page buttons only at the top of the active FAQ content panel
   and at the bottom of the FAQ content area. Back/Next buttons are removed in JS. */

.faq-page-intro-v289G{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.faq-page-intro-v289G > div{
  min-width:260px;
  flex:1 1 360px;
}

.faq-category-page-badge,
.faq-page-chip{
  display:none !important;
}

.faq-category-page-switcher{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.faq-top-page-switcher{
  margin-left:auto;
}

.faq-inline-page-btn{
  appearance:none;
  border:1px solid #d5deea;
  background:#ffffff;
  color:#1e3a5f;
  border-radius:999px;
  padding:8px 14px;
  min-height:38px;
  font-size:13px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.faq-inline-page-btn:hover{
  background:#eff6ff;
  border-color:#93c5fd;
  color:#1d4ed8;
  transform:translateY(-1px);
}

.faq-inline-page-btn.active{
  background:#1d4ed8;
  border-color:#1d4ed8;
  color:#ffffff;
  box-shadow:0 10px 24px rgba(29,78,216,.24);
}

.faq-inline-page-btn:focus-visible{
  outline:none;
  border-color:#1d4ed8;
  box-shadow:0 0 0 4px rgba(29,78,216,.16);
}

.faq-pager-bottom-v289G{
  justify-content:center;
  margin-top:22px;
  margin-bottom:0;
}

.faq-pager-bottom-v289G .faq-bottom-page-switcher{
  width:100%;
  justify-content:center;
}

.faq-pager-bottom-v289G .faq-pager-summary,
.faq-pager-bottom-v289G .faq-pager-actions,
.faq-pager-bottom-v289G .faq-nav-btn{
  display:none !important;
}

.search-active .faq-pager-bottom-v289G{
  display:none !important;
}

@media (max-width:760px){
  .faq-page-intro-v289G{
    align-items:flex-start;
  }

  .faq-top-page-switcher,
  .faq-bottom-page-switcher{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }

  .faq-inline-page-btn{
    flex:1 1 calc(50% - 8px);
  }
}
