/* ==========================================================================
   ČASTÉ OTÁZKY (rozbaľovacie <details>)
   ========================================================================== */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-top: 2.5rem;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-pale);
  color: var(--color-steel);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.faq__answer a {
  color: var(--color-steel);
  text-decoration: underline;
  text-underline-offset: 2px;
}
