/* Full-Width FAQ Container */
.faq-container {
  width: 100%;           /* Fills 100% of the parent layout width */
  max-width: 100%;       /* Removes pixel caps */
  margin: 20px 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Title Line Matching Theme Color */
.faq-title {
  color: #111111;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  /* border-bottom: 2px solid #df7627; */ /* Main Theme Accent Line */
  padding-bottom: 6px;
  display: block;
  width: 100%;
}

/* Full Width Accordion Card */
.faq-card {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-left: 4px solid #df7627;  /* Thick Theme Left Accent Bar */
  border-radius: 4px;
  margin-bottom: 12px;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover State */
.faq-card:hover {
  border-color: #df7627;
  box-shadow: 0 2px 8px rgba(223, 118, 39, 0.15); /* Soft Theme Glow */
}

/* Open/Active State */
.faq-card[open] {
  border: 1.5px solid #df7627;
  border-left: 4px solid #df7627;
  background-color: #FFFDFB;      /* Soft tint background */
}

.faq-card[open] summary {
  color: #df7627;                 /* Question turns main theme color when open */
}

/* Summary Header */
.faq-card summary {
  padding: 10px 12px;             /* Reduced bottom padding from 14px to 6px */
  font-size: 16px;
  font-weight: 600;
  color: #151515;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;               /* Removes default arrow in webkit */
  position: relative;
  padding-right: 25px;
  transition: color 0.2s ease;
}

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

/* Custom Icon Toggle Pill */
.faq-card summary::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: #FDF1E9;      /* Light Theme Fill */
  color: #df7627;                 /* Theme Text Color */
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;                /* Prevents squishing on mobile */
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-card summary:hover::after {
  background-color: #df7627;
  color: #FFFFFF;
}

.faq-card[open] summary::after {
  content: '−';
  background-color: #df7627;
  color: #FFFFFF;
}

/* Answer Area Wrapper - Smooth Expansion using CSS Grid */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
  color: #333333;
  font-size: 14.5px;
  line-height: 1.5;
}

.faq-card[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Inner content div inside CSS Grid to prevent content jumping */
.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 8px 18px 12px 18px;
  border-top: 1px dashed #F8D8C2;
}