@charset "UTF-8";
.faq {
  /* --- theme tokens: override these on the host page if needed --- */
  --ej-orange: #ff6600;
  --ej-ink: #1a1a2e;
  --ej-text: #3c3c50;
  --ej-line: #e4e4ec;
  --ej-panel-bg: #f7f7fb;
  --ej-focus: #0a4fd6;
  margin-top: 32px;
  color: var(--ej-text);
  -webkit-font-smoothing: antialiased;
}

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

#io-content .faq__title {
  margin: 0 0 32px;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ej-ink);
}

/* ---- Layout ---- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- Left: question list ---- */
.faq__questions {
  border-top: 1px solid var(--ej-line);
}

.faq__tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 4px 20px 14px;
  border: 0;
  border-bottom: 1px solid var(--ej-line);
  border-left: 3px solid transparent;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ej-ink);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.faq__tab:hover {
  color: var(--ej-orange);
}

.faq__tab:focus-visible {
  outline: 3px solid var(--ej-focus);
  outline-offset: -3px;
}

.faq__tab[aria-selected=true] {
  color: var(--ej-orange);
  font-weight: 600;
  border-left-color: var(--ej-orange);
}

.faq__chev {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ej-orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.faq__tab:hover .faq__chev {
  opacity: 0.6;
  transform: translateX(0);
}

.faq__tab[aria-selected=true] .faq__chev {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Right: shared answer column ---- */
.faq__answers {
  position: sticky;
  top: 24px;
  background: var(--ej-panel-bg);
  border-radius: 14px;
  padding: 26px;
  min-height: 200px;
}

.faq__panel {
  animation: faq-fade 0.25s ease;
}

.faq__panel[hidden] {
  display: none;
}

.faq__panel:focus-visible {
  outline: 3px solid var(--ej-focus);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq__panel-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ej-ink);
}

.faq__panel p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.faq__panel p:last-child {
  margin-bottom: 0;
}

.faq__panel a {
  color: var(--ej-focus);
}

@keyframes faq-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* (No-JS fallback spacing lives in the <noscript> block in the HTML,
   so it can never affect the JS-driven single-panel layout.) */
/* ---- Mobile: stack into an accordion (answer under its question) ---- */
@media (max-width: 992px) {
  .faq__grid {
    display: block;
  }
  .faq__questions {
    border-top: 1px solid var(--ej-line);
  }
  /* Accordion look: no orange left strip, plain divider rows */
  .faq__tab {
    padding: 20px 4px;
    border-left: 0;
    background: none;
  }
  .faq__tab[aria-selected=true] {
    border-left: 0;
    background: none;
    color: var(--ej-ink);
    font-weight: 500;
  }
  .faq__tab[aria-selected=true]:hover {
    color: var(--ej-orange);
  }
  /* Chevron: always visible, points down, rotates up when open.
     Rotation is locked to state — hover never turns it. */
  .faq__chev {
    opacity: 1;
    transform: rotate(90deg);
  }
  .faq__tab:hover .faq__chev {
    opacity: 1;
    transform: rotate(90deg);
  }
  .faq__tab[aria-selected=true] .faq__chev,
  .faq__tab[aria-selected=true]:hover .faq__chev {
    opacity: 1;
    transform: rotate(270deg);
  }
  .faq__answers {
    position: static;
    background: none;
    padding: 0;
    min-height: 0;
  }
  /* On mobile JS moves the active panel directly under its question */
  .faq__panel {
    padding: 16px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq__panel,
  .faq__chev {
    animation: none;
    transition: none;
  }
}

/*# sourceMappingURL=faq.css.map */
