﻿/* List Style - Improved */
.faq-section {
  --display-mode: "list";
  width: 100%;
  background-color: var(--background-color-first);
  padding: 2.5rem 0 3.5rem;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.faq-header {
  color: var(--primary-color);
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.faq-subtitle {
  color: var(--text-color);
  opacity: 0.8;
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.faq-accordion {
  max-width: 700px;
  margin: 3.5rem auto 0;
  counter-reset: faq-counter;
}


.faq-item {
  margin-bottom: 0rem;
  padding: 0.5rem 0;
  text-align: left;
}

.faq-question {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  cursor: default;
  counter-increment: faq-counter;
}

.faq-question::before {
  content: counter(faq-counter) ". ";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color, #f3f4f6);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 24px;
  margin-right: 0.5rem;
  vertical-align: middle;
  margin-top: -0.25rem;
}

.faq-question::after {
  display: none;
}

.faq-answer {
  display: block;
  max-height: none;
  overflow: visible;
}

/* If your HTML still wraps question and answer in an extra div, you can keep this rule */
.faq-item > div {
  display: flex;
  flex-direction: column;
}

.faq-answer p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 1.125rem;
  line-height: 1.5;
}