/* Uganda Escorts FAQ — V1 WordPress page */
.ue-faq-page {
  --ue-faq-bg: #0d0d0f;
  --ue-faq-surface: #18181d;
  --ue-faq-surface-2: #222229;
  --ue-faq-text: #f4f1f5;
  --ue-faq-muted: #c7becb;
  --ue-faq-answer: #e6e0e8;
  --ue-faq-border: #3e3644;
  --ue-faq-accent: #b50948;
  --ue-faq-accent-2: #730024;
  --ue-faq-link: #ff6b98;
  --ue-faq-shadow: 0 14px 34px rgba(0,0,0,.22);

  background: var(--ue-faq-bg);
  color: var(--ue-faq-text);
  padding: 42px 14px 64px;
  font-size: 17px;
  line-height: 1.7;
}

.ue-faq-page *,
.ue-faq-page *::before,
.ue-faq-page *::after {
  box-sizing: border-box;
}

.ue-faq-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}

.ue-faq-page a {
  color: var(--ue-faq-link);
  font-weight: 700;
}

.ue-faq-page a:hover,
.ue-faq-page a:focus {
  text-decoration: none;
}

.ue-faq-hero {
  padding: 34px 34px 30px;
  margin: 0 0 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(181,9,72,.18), transparent 34%),
    var(--ue-faq-surface);
  border: 1px solid var(--ue-faq-border);
  border-radius: 14px;
  box-shadow: var(--ue-faq-shadow);
}

.ue-faq-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ue-faq-accent), var(--ue-faq-accent-2));
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ue-faq-hero h1 {
  margin: 4px 0 10px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ue-faq-hero p {
  margin: 0;
  max-width: 800px;
  color: var(--ue-faq-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ue-faq-editor-content {
  margin: 0 0 22px;
  padding: 22px 24px;
  background: var(--ue-faq-surface);
  border: 1px solid var(--ue-faq-border);
  border-radius: 11px;
  color: var(--ue-faq-answer);
}

.ue-faq-editor-content > :first-child { margin-top: 0; }
.ue-faq-editor-content > :last-child { margin-bottom: 0; }

.ue-faq-list {
  display: grid;
  gap: 12px;
}

.ue-faq-item {
  margin: 0;
  background: var(--ue-faq-surface);
  border: 1px solid var(--ue-faq-border);
  border-radius: 11px;
  overflow: clip;
  box-shadow: 0 7px 18px rgba(0,0,0,.13);
}

.ue-faq-item[open] {
  border-color: #6a566f;
}

.ue-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 20px 58px 20px 22px;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.4;
  font-weight: 800;
}

.ue-faq-item summary::-webkit-details-marker {
  display: none;
}

.ue-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ue-faq-surface-2);
  border: 1px solid var(--ue-faq-border);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.ue-faq-item[open] summary::after {
  content: "−";
}

.ue-faq-item summary:focus-visible {
  outline: 3px solid rgba(255,107,152,.55);
  outline-offset: -4px;
}

.ue-faq-answer {
  padding: 0 22px 21px;
  color: var(--ue-faq-answer);
  font-size: 1rem;
  line-height: 1.75;
}

.ue-faq-answer p {
  margin: 0;
}

.ue-faq-answer strong {
  color: #fff;
}

.ue-faq-footer-note {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--ue-faq-surface-2);
  border: 1px solid var(--ue-faq-border);
  border-radius: 11px;
}

.ue-faq-footer-note h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.35;
}

.ue-faq-footer-note p {
  margin: 0;
  color: var(--ue-faq-muted);
}

/* Admin-selected Light Purple preset. No visitor theme switch. */
body.ue-theme-light-purple .ue-faq-page {
  --ue-faq-bg: #ebe3ed;
  --ue-faq-surface: #fff;
  --ue-faq-surface-2: #f2ebf7;
  --ue-faq-text: #2b1638;
  --ue-faq-muted: #5f5365;
  --ue-faq-answer: #4f4355;
  --ue-faq-border: #dfd1ea;
  --ue-faq-accent: #8b019d;
  --ue-faq-accent-2: #51008b;
  --ue-faq-link: #76008a;
  --ue-faq-shadow: 0 10px 28px rgba(63,29,78,.10);
}

body.ue-theme-light-purple .ue-faq-hero h1,
body.ue-theme-light-purple .ue-faq-item summary,
body.ue-theme-light-purple .ue-faq-answer strong,
body.ue-theme-light-purple .ue-faq-footer-note h2 {
  color: #2b1638;
}

body.ue-theme-light-purple .ue-faq-item[open] {
  border-color: #c9b2d8;
}

body.ue-theme-light-purple .ue-faq-item summary::after {
  color: #51008b;
  background: #f2ebf7;
}

@media (max-width: 640px) {
  .ue-faq-page {
    padding: 22px 10px 44px;
    font-size: 16px;
  }

  .ue-faq-hero {
    padding: 25px 20px 23px;
    border-radius: 11px;
  }

  .ue-faq-hero h1 {
    font-size: 2rem;
  }

  .ue-faq-hero p {
    font-size: 1rem;
  }

  .ue-faq-item summary {
    padding: 17px 50px 17px 17px;
    font-size: 1rem;
  }

  .ue-faq-answer {
    padding: 0 17px 18px;
    font-size: 1rem;
  }

  .ue-faq-item summary::after {
    right: 14px;
  }

  .ue-faq-editor-content,
  .ue-faq-footer-note {
    padding: 19px 18px;
  }
}

/* FAQ uses the theme's standard three-column page shell.
   Sidebars are rendered by sidebar-left.php / sidebar-right.php and keep
   their existing desktop/tablet/mobile behavior. */
.ue-faq-contentwrapper .ue-faq-body {
  background: var(--color-bg-dark, #0d0d0d) !important;
}

.ue-faq-contentwrapper .ue-faq-page {
  min-width: 0;
}

body.ue-theme-light-purple .ue-faq-contentwrapper .ue-faq-body {
  background: #ebe3ed !important;
}
