body.guest-body:has(.help-faq-page) {
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(13, 148, 136, 0.16), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(30, 90, 138, 0.14), transparent 50%),
    linear-gradient(180deg, #eaf3f7 0%, #f3f6fa 45%, #eef2f6 100%);
  min-height: 100vh;
}

body.page-help-faq .content-area-inner {
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(13, 148, 136, 0.08), transparent 55%),
    radial-gradient(700px 280px at 100% 0%, rgba(30, 90, 138, 0.07), transparent 50%);
  padding-bottom: 28px;
}

.help-faq-page {
  --help-ink: #16324a;
  --help-muted: #5b6b7c;
  --help-teal: #0d9488;
  --help-teal-deep: #0f766e;
  --help-blue: #1e5a8a;
  --help-line: #d5e2ea;
  --help-soft: #f0faf9;
  max-width: 900px;
  margin: 0 auto 24px;
}

.help-faq-page--guest {
  max-width: 900px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.help-faq-guest-bar {
  margin-bottom: 14px;
}

.help-faq-back-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--help-blue);
  font-weight: 650;
  text-decoration: none;
}

.help-faq-back-login:hover {
  color: var(--help-teal-deep);
  text-decoration: underline;
}

.help-faq-hero {
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(30, 90, 138, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 250, 249, 0.95) 58%, rgba(232, 241, 248, 0.92) 100%);
  box-shadow: 0 10px 28px rgba(22, 50, 74, 0.08);
  overflow: hidden;
  position: relative;
}

.help-faq-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0d9488, #1e5a8a 55%, #0891b2);
}

.help-faq-hero .card-body {
  padding: 1.35rem 1.4rem 1.25rem;
}

.help-faq-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.35rem;
}

.help-faq-title {
  font-size: 1.6rem;
  color: var(--help-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.help-faq-brand-logo {
  height: 40px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.help-faq-subtitle {
  color: var(--help-muted);
  margin: 0;
}

.help-faq-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.help-faq-search-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--help-teal);
  pointer-events: none;
}

.help-faq-search {
  padding-left: 42px;
  border-radius: 12px;
  border: 1px solid #c5d6e0;
  min-height: 46px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.help-faq-search:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.help-faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-faq-cat-chip {
  border: 1px solid #c7d8e4;
  background: #fff;
  color: var(--help-blue);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-faq-cat-chip:hover,
.help-faq-cat-chip:focus-visible {
  background: #e7f7f4;
  border-color: #0d9488;
  color: var(--help-teal-deep);
  outline: none;
}

.help-faq-cat-chip.is-active {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.28);
}

.help-faq-section {
  margin-bottom: 16px;
}

.help-faq-section-title {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--help-teal-deep);
  margin: 10px 0 10px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.help-faq-item {
  background: #fff;
  border: 1px solid var(--help-line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(22, 50, 74, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-faq-item:hover {
  border-color: #b7cfe0;
}

.help-faq-item.is-open {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.1);
}

.help-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--help-ink);
  cursor: pointer;
}

.help-faq-question:hover,
.help-faq-question:focus-visible {
  background: linear-gradient(90deg, #f0faf9, #f7fafc);
  outline: none;
}

.help-faq-question i {
  color: var(--help-teal);
  margin-top: 2px;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

.help-faq-answer {
  display: none;
  padding: 0 15px 15px;
  color: #3a4b5c;
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid #e6eef3;
  background: linear-gradient(180deg, #f7fcfb 0%, #fff 40%);
}

.help-faq-item.is-open .help-faq-answer {
  display: block;
  padding-top: 12px;
}

.help-faq-item.is-open .help-faq-question i {
  transform: rotate(180deg);
}

.help-faq-empty {
  background: linear-gradient(135deg, #fff8ef, #fff4e5);
  border: 1px solid #f0d7b0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  color: #8a5a1a;
}

.help-faq-support {
  border-radius: 16px;
  margin-top: 10px;
  border: 1px solid rgba(30, 90, 138, 0.12) !important;
  background:
    linear-gradient(135deg, rgba(232, 241, 248, 0.95), rgba(240, 250, 249, 0.95)) !important;
  box-shadow: 0 8px 20px rgba(22, 50, 74, 0.06);
}

.help-faq-support-text {
  color: var(--help-muted);
  font-size: 14px;
}

.help-faq-support-text a {
  color: var(--help-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.help-faq-support-text a:hover {
  text-decoration: underline;
}

.help-faq-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-faq-guides a {
  font-size: 12.5px;
  color: var(--help-blue);
  text-decoration: none;
  background: #fff;
  border: 1px solid #d0dde8;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

.help-faq-guides a:hover {
  border-color: #0d9488;
  color: var(--help-teal-deep);
  background: #f0faf9;
}

.help-faq-item.is-hidden,
.help-faq-section.is-hidden {
  display: none !important;
}

@media (max-width: 575.98px) {
  .help-faq-title {
    font-size: 1.35rem;
  }

  .help-faq-hero .card-body {
    padding: 1.1rem 1rem 1rem;
  }
}
