/* ─── REPLIQR FAQ Accordion — Frontend Styles ────────────────── */

.rq-acc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EAEAEA;  /* overridden by Elementor color control */
  width: 100%;
  margin: 0;
  padding: 0;
}

.rq-acc-item {
  border-bottom: 1px solid #EAEAEA; /* overridden by Elementor color control */
}


/* ─── Trigger button ─────────────────────────────────────────── */
.rq-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;                /* overridden by Elementor dimensions control */
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.rq-acc-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* ─── Number ─────────────────────────────────────────────────── */
.rq-acc-num {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  font-weight: 400;
  color: #888888;                 /* overridden by Elementor color control */
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 28px;
  transition: color 200ms ease-out;
}

.rq-acc-btn:hover .rq-acc-num {
  color: #888888;
}


/* ─── Question ───────────────────────────────────────────────── */
.rq-acc-question {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  color: #1A1A1A;                 /* overridden by Elementor color control */
  line-height: 1.3;
  flex: 1;
  transition: color 200ms ease-out;
}

.rq-acc-btn:hover .rq-acc-question {
  color: #888888;                 /* overridden by Elementor hover color control */
}


/* ─── Toggle icon (+ rotates to ×) ──────────────────────────── */
.rq-acc-icon {
  font-family: 'Courier Prime', monospace;
  font-size: 22px;                /* overridden by Elementor slider control */
  font-weight: 400;
  color: #1A1A1A;                 /* overridden by Elementor color control */
  flex-shrink: 0;
  line-height: 1;
  display: inline-block;
  user-select: none;
  transition: transform 300ms ease, color 200ms ease-out;
                                  /* transition overridden by Elementor speed control */
}

.rq-acc-item.rq-open .rq-acc-icon {
  transform: rotate(45deg);       /* + becomes × */
}


/* ─── Panel — CSS Grid height animation ─────────────────────── */
.rq-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
                                  /* transition overridden by Elementor speed control */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.rq-acc-item.rq-open .rq-acc-panel {
  grid-template-rows: 1fr;
}

.rq-acc-inner {
  overflow: hidden;
}


/* ─── Answer ─────────────────────────────────────────────────── */
.rq-acc-answer {
  padding: 0 0 28px 52px;         /* overridden by Elementor dimensions control */
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #888888;                 /* overridden by Elementor color control */
  max-width: 64ch;
}

.rq-acc-answer > *:first-child { margin-top: 0; }
.rq-acc-answer > *:last-child  { margin-bottom: 0; }

.rq-acc-answer p      { margin: 0 0 1em; }
.rq-acc-answer strong { color: #1A1A1A; font-weight: 600; }
.rq-acc-answer a      { color: inherit; text-decoration: underline; }
