html.sr-faq-html,
html.sr-faq-html body.sr-faq-page {
  background: var(--cv-bg) !important;
  color: var(--cv-text);
}

body.sr-faq-page {
  min-height: 100vh;
  margin: 0;
  font-family: var(--cv-font);
}

body.sr-faq-page .navbar-area {
  background: transparent !important;
  border-bottom: none !important;
}

.sr-faq-hero {
  padding: 4.5rem 1rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(160deg, #080814 0%, #12122d 52%, #0a1729 100%);
}

.sr-faq-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}

.sr-faq-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
  line-height: 1.2;
  color: #fff;
}

.sr-faq-hero p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
}

.sr-faq-search-wrap {
  max-width: 640px;
}

.sr-faq-search-label {
  display: inline-block;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
}

.sr-faq-search-input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 0.9rem;
  background: rgba(20, 20, 35, 0.98);
  color: #fff;
}

.sr-faq-search-input:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.65);
  outline-offset: 1px;
}

.sr-faq-section {
  padding: 1.5rem 1rem 3.5rem;
}

.sr-faq-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.sr-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.sr-faq-filter {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #121221;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  min-height: 40px;
  cursor: pointer;
  font-size: 0.88rem;
}

.sr-faq-filter.is-active {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.55);
  color: #fff;
}

.sr-faq-filter:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.7);
  outline-offset: 1px;
}

.sr-faq-no-results {
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: rgba(21, 21, 34, 0.7);
}

.sr-faq-no-results p {
  margin: 0 0 0.35rem;
}

.sr-faq-no-results a {
  color: rgba(147, 197, 253, 0.95);
}

.sr-faq-category {
  margin-bottom: 1.4rem;
}

.sr-faq-category-title {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.88);
}

.sr-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sr-faq-item {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.sr-faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.55);
}

.sr-faq-q {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.sr-faq-actions-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.sr-faq-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.sr-faq-anchor:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sr-faq-q:focus-visible,
.sr-faq-anchor:focus-visible,
.sr-faq-helpful button:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.72);
  outline-offset: 1px;
}

.sr-faq-chevron {
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.22s ease;
}

.sr-faq-item.is-open .sr-faq-chevron {
  transform: rotate(180deg);
}

.sr-faq-a-outer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
}

.sr-faq-item.is-open .sr-faq-a-outer {
  grid-template-rows: 1fr;
}

.sr-faq-a-inner {
  overflow: hidden;
  min-height: 0;
}

.sr-faq-a {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

.sr-faq-helpful {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem 0.85rem;
}

.sr-faq-helpful span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.sr-faq-helpful button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #17172b;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  min-height: 34px;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

.sr-faq-helpful button.is-selected {
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.22);
}

.sr-faq-helpful-state {
  color: rgba(147, 197, 253, 0.95);
  font-size: 0.82rem;
  font-style: normal;
}

.sr-faq-handoff {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.sr-faq-handoff a {
  color: rgba(147, 197, 253, 0.98);
}

.sr-faq-contact-strip {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.sr-faq-contact-strip__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.sr-faq-contact-strip__text a {
  color: var(--cv-accent-soft);
}

.sr-faq-item[hidden],
.sr-faq-category[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .sr-faq-hero {
    padding-top: 3.7rem;
  }

  .sr-faq-q {
    min-height: 56px;
    padding: 0.82rem 0.8rem;
    font-size: 0.95rem;
  }

  .sr-faq-a,
  .sr-faq-helpful {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-faq-chevron,
  .sr-faq-a-outer {
    transition: none;
  }
}

/* ── FAQ page live markup (faq.php) ── */
@keyframes faqGlow {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

.faq-hero {
  text-align: center;
  padding: 3.75rem 1.25rem 2.5rem;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.faq-hero__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: faqGlow 6s ease-in-out infinite alternate;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
}

.faq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--cv-radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--cv-muted);
  margin-bottom: 16px;
}

.faq-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  border: none;
  background: none;
}

.faq-hero__lead {
  font-size: 15px;
  color: var(--cv-faint);
  margin: 0 auto 24px;
  max-width: 500px;
  line-height: 1.6;
}

.faq-hero__search {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.faq-hero__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cv-faint);
  pointer-events: none;
}

#faq-search {
  width: 100%;
  box-sizing: border-box;
  background: var(--cv-input-bg);
  border: 1px solid var(--cv-input-border);
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px 14px 44px;
  font-size: 15px;
  font-family: var(--cv-font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

#faq-search:focus {
  border-color: var(--cv-input-focus);
  box-shadow: var(--cv-focus);
  background: rgba(255, 255, 255, 0.08);
}

.faq-pills-wrap {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.faq-cat-btn {
  padding: 7px 16px;
  border-radius: var(--cv-radius-pill);
  font-size: 13px;
  font-family: var(--cv-font);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  color: var(--cv-muted);
}

.faq-cat-btn:hover {
  background: var(--cv-surface-hover);
  color: var(--cv-text);
}

.faq-cat-btn.active {
  border: none;
  background: rgba(99, 102, 241, 0.2);
  color: var(--cv-accent-hover);
  font-weight: 500;
}

#faq-result-count {
  display: none;
  max-width: 720px;
  margin: 0 auto 12px;
  padding: 0 20px;
  font-size: 13px;
  color: var(--cv-faint);
}

.faq-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/**
 * Chatvora — FAQ page (faq.php)
 */

html.sr-faq-html,
html.sr-faq-html body.sr-faq-page {
  background: #0a0a0f !important;
  color: rgba(255, 255, 255, 0.92);
}

body.sr-faq-page {
  min-height: 100vh;
  margin: 0;
}

body.sr-faq-page .navbar-area {
  background: #0f0f17 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.sr-faq-page .navbar-area .navbar-brand,
body.sr-faq-page .navbar-area .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.sr-faq-page .dropdown-menu {
  background: #1a1a2e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.sr-faq-page .dropdown-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.sr-faq-page .dropdown-item:hover,
body.sr-faq-page .dropdown-item:focus {
  background: rgba(99, 102, 241, 0.2) !important;
  color: #fff !important;
}

body.sr-faq-page .sr-offcanvas-shell.offcanvas,
body.sr-faq-page .sr-offcanvas-account.offcanvas {
  background: #111118 !important;
}

/* Hero */
.sr-faq-hero {
  position: relative;
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
  background: linear-gradient(
    165deg,
    #05051a 0%,
    #0c0824 35%,
    #12122c 65%,
    #0a1628 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sr-faq-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(99, 102, 241, 0.28),
    transparent 55%
  );
  pointer-events: none;
}

.sr-faq-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.sr-faq-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Accordion section */
.sr-faq-section {
  padding: 2.5rem 1.25rem 4rem;
}

.sr-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.sr-faq-accordion {
  display: flex;
  flex-direction: column;
}

.sr-faq-item {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sr-faq-item:last-child {
  margin-bottom: 0;
}

.sr-faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.sr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 20px;
  margin: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.sr-faq-q:hover {
  color: #e2e8f0;
}

.sr-faq-q:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.6);
  outline-offset: -2px;
}

.sr-faq-chevron {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease, color 0.2s ease;
}

.sr-faq-item.is-open .sr-faq-chevron {
  transform: rotate(180deg);
  color: #a5b4fc;
}

.sr-faq-a-outer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.sr-faq-item.is-open .sr-faq-a-outer {
  grid-template-rows: 1fr;
}

.sr-faq-a-inner {
  overflow: hidden;
  min-height: 0;
}

.sr-faq-a {
  padding: 0 20px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sr-faq-a-outer,
  .sr-faq-item,
  .sr-faq-chevron {
    transition: none;
  }
}

/* Theme inputs & subscribe strip — avoid global #f5f5f5 on this page */
body.sr-faq-page .form-control,
body.sr-faq-page .form-control:focus {
  background-color: rgba(22, 22, 36, 0.98) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

body.sr-faq-page .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

body.sr-faq-page .subscribe-area .subscribe-box {
  background-color: rgba(22, 22, 36, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.sr-faq-page .subscribe-area .subscribe-box .form-control {
  border-right-color: rgba(255, 255, 255, 0.12) !important;
}

body.sr-faq-page .sr-offcanvas-shell.offcanvas .offcanvas-body {
  background: #111118;
}

/* Email strip below accordion */
.sr-faq-contact-strip {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  text-align: center;
}

.sr-faq-contact-strip__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.sr-faq-contact-strip__text a {
  color: rgba(147, 197, 253, 0.95);
  text-decoration: none;
}

.sr-faq-contact-strip__text a:hover {
  text-decoration: underline;
}
