/* FAQ Page Specific Styles */

/* Modern font stack with Inter preferred */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.faq-accordion {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion details {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1rem;
  background-color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
}

.faq-accordion details[open] {
  background-color: #f9f9f9;
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.1);
}

.faq-accordion summary {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  list-style: none;
  outline: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-accordion summary:hover,
.faq-accordion summary:focus {
  color: #0073e6;
}

.faq-accordion summary::after {
  content: '+';
  font-weight: 600;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-accordion details[open] summary::after {
  content: '\2013'; /* minus sign when open */
  transform: rotate(180deg);
}

.faq-accordion__answer {
  margin-top: 0.75rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Mobile first and responsive layout adjustments */
@media (max-width: 600px) {
  .faq-accordion {
    padding: 0 0.5rem;
  }

  .faq-accordion summary {
    font-size: 1rem;
  }

  .faq-accordion__answer {
    font-size: 0.95rem;
  }
}
