/* Basic reset for details/summary and hiding default marker */
.faq-section details > summary {
  list-style: none; /* Hides the default triangle marker */
}
.faq-section details > summary::-webkit-details-marker {
  display: none; /* Hides the default triangle marker in WebKit browsers */
}

/* Styling the summary to make space for the icon and relative positioning */
/* The inline styles in your HTML already cover most of this, but good to have as a class if you centralize styles */
.faq-section details > summary {
  /* background-color, color, padding, font-weight, cursor, border-radius, display are set inline in your HTML */
  position: relative; /* Crucial for positioning the ::after pseudo-element */
}

/* Styling the icon using a pseudo-element */
.faq-section details > summary::after {
  content: '+'; /* Plus icon for closed state */
  font-size: 1.5em; /* Adjust size as needed */
  line-height: 1;   /* Helps with vertical alignment of some characters */
  color: white;     /* Icon color, matches summary text */
  position: absolute;
  right: 15px;      /* Position from the right edge of the summary */
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease-in-out; /* Smooth transition for rotation if used */
}

/* Changing icon when details is open */
.faq-section details[open] > summary::after {
  content: '−'; /* Minus icon for open state (Unicode minus sign U+2212) */
  /* Or you could use a rotated plus:
  content: '+';
  transform: translateY(-50%) rotate(45deg);
  */
}

/* Adjust summary border-radius when open so it connects nicely with the content */
.faq-section details[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Ensure h4 inside summary doesn't mess with layout (already handled by inline styles) */
.faq-section details > summary h4 {
  /* font-size, color, font-weight, margin, display are set inline in your HTML */
  /* display: inline; */ /* ensure it doesn't break the line for the icon */
}