/* FAQ accordion — M14.
 *
 * Hairline-separated rows, no chrome. The open/closed indicator is drawn from
 * two rules rather than an icon: the brandbook forbids decorative icons, and a
 * plus that becomes a minus is not decoration — it is state.
 */

.pl-faq__title {
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.pl-faq__list {
  border-top: var(--rule) solid var(--c-rule);
}

.pl-faq__item {
  border-bottom: var(--rule) solid var(--c-rule);
}

.pl-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;   /* Firefox */
}

/* The default disclosure triangle is a decorative glyph we do not control. */
.pl-faq__question::-webkit-details-marker {
  display: none;
}

.pl-faq__question:hover {
  color: var(--c-text-muted);
}

/* The indicator: a horizontal rule always, plus a vertical one when closed.
 * Two 1px lines, the same hairline vocabulary as the rest of the page. */
.pl-faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% var(--rule) no-repeat,
    linear-gradient(currentColor, currentColor) center / var(--rule) 100% no-repeat;
  transition: transform var(--transition);
}

.pl-faq__item[open] .pl-faq__question::after {
  background:
    linear-gradient(currentColor, currentColor) center / 100% var(--rule) no-repeat;
}

.pl-faq__answer {
  padding-bottom: var(--sp-3);
}
