/* Veelgestelde vragen */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.faq-grid > div:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-stack);
  padding-top: 24px;
}
details {
  border-top: 1px solid var(--edge);
}
details:last-child {
  border-bottom: 1px solid var(--edge);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
summary::-webkit-details-marker {
  display: none;
}
summary i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--edge-2);
  position: relative;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
summary i::before,
summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  margin: -0.8px 0 0 -5.5px;
  background: var(--fg);
  transition: transform 0.3s;
}
summary i::after {
  transform: rotate(90deg);
}
details[open] summary i {
  background: var(--green);
  box-shadow: none;
}
details[open] summary i::before,
details[open] summary i::after {
  background: var(--green-ink);
}
details[open] summary i::after {
  transform: rotate(0);
}
/* Tijdens het dichtklappen het plusje meteen terugzetten */
details.closing summary i {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--edge-2);
}
details.closing summary i::before,
details.closing summary i::after {
  background: var(--fg);
}
details.closing summary i::after {
  transform: rotate(90deg);
}
details p {
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 40em;
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-head);
  }
  .faq-grid > div:first-child {
    padding-top: 0;
  }
}
