/* ============================================================
   СТИЛИ: FAQ-аккордеон (дополнение к privacy-page.css)
   Файл: faq-page.css
   Версия: 1.0
   ============================================================ */

/* ---------- Аккордеон ---------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: #2d7a4e;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid #2d7a4e;
  border-bottom: 2px solid #2d7a4e;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .2s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}
.faq-question:hover {
  background: #f5f8f0;
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: .9rem;
  color: #555;
  line-height: 1.7;
}
.faq-answer p {
  margin: 0;
}
.faq-answer a {
  color: #2d7a4e;
  text-decoration: underline;
  text-decoration-color: rgba(45, 122, 78, .3);
  text-underline-offset: 2px;
}
.faq-answer a:hover {
  text-decoration-color: #2d7a4e;
}

/* ---------- Блоки категорий ---------- */
.faq-block h2 {
  margin-bottom: 1rem;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 600px) {
  .faq-question {
    padding: .85rem 1rem;
    font-size: .9rem;
  }
  .faq-answer {
    padding: 0 1rem .85rem;
    font-size: .85rem;
  }
}
