.polygamy-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.polygamy-faq__questions {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.polygamy-faq details {
  border-bottom: 1px solid var(--line);
}

.polygamy-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.polygamy-faq summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
  border-radius: 4px;
}

.polygamy-faq summary span {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.polygamy-faq details[open] summary span {
  transform: rotate(45deg);
}

.polygamy-faq details p {
  margin: 0 0 20px;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.polygamy-faq details p:last-child {
  margin-bottom: 28px;
}

@media (max-width: 850px) {
  .polygamy-faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}
