/* Front-end FAQ styling, scoped to content generated by LanTi SEO Optimizer. */
.lanti-seo-aq {
  --lanti-aq-accent: #e96545;
  --lanti-aq-ink: #26313b;
  --lanti-aq-muted: #707b86;
  --lanti-aq-line: #e8edf1;
  max-width: 860px;
  margin: clamp(30px, 5vw, 56px) auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--lanti-aq-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 12px 36px rgba(35, 48, 60, .055);
  color: var(--lanti-aq-ink);
  font-family: inherit;
}

.lanti-seo-aq__heading {
  margin: 0 0 22px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--lanti-aq-line);
}

.lanti-seo-aq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--lanti-aq-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lanti-seo-aq__eyebrow::before {
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
}

.lanti-seo-aq__heading h2 {
  margin: 0;
  color: var(--lanti-aq-ink);
  font: inherit;
  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.lanti-seo-aq__heading p {
  margin: 5px 0 0;
  color: var(--lanti-aq-muted);
  font-size: 14px;
  line-height: 1.7;
}

.lanti-seo-aq__list {
  display: grid;
  gap: 11px;
}

.lanti-seo-aq__item {
  min-width: 0;
  padding: 17px 19px 16px;
  border: 1px solid var(--lanti-aq-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .86);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lanti-seo-aq__item:hover {
  transform: translateY(-1px);
  border-color: #f0c9bf;
  box-shadow: 0 7px 20px rgba(35, 48, 60, .055);
}

.lanti-seo-aq__question {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  color: var(--lanti-aq-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.lanti-seo-aq__number {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  margin-top: 1px;
  border-radius: 8px;
  background: #fff1ed;
  color: var(--lanti-aq-accent);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.lanti-seo-aq__answer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 11px 0 0 41px;
  padding-top: 11px;
  border-top: 1px dashed var(--lanti-aq-line);
}

.lanti-seo-aq__answer-mark {
  display: inline-flex;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  min-height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  background: #edf4f8;
  color: #5d7b90;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
}

.lanti-seo-aq__answer p {
  min-width: 0;
  margin: 0;
  color: var(--lanti-aq-muted);
  font-size: 14px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .lanti-seo-aq {
    margin: 28px 0;
    padding: 21px 16px;
    border-radius: 14px;
  }

  .lanti-seo-aq__heading {
    margin-bottom: 16px;
    padding-bottom: 15px;
  }

  .lanti-seo-aq__heading p,
  .lanti-seo-aq__answer p {
    font-size: 13px;
  }

  .lanti-seo-aq__item {
    padding: 14px 13px;
  }

  .lanti-seo-aq__question {
    gap: 9px;
    font-size: 15px;
  }

  .lanti-seo-aq__answer {
    gap: 9px;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lanti-seo-aq__item {
    transition: none;
  }
}
