/* stories/pages/faqpage.css */
/* FAQ page styling with master class prefix for component isolation */

.faq-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 32px;
  background-color: var(--colors-table-rowbgcolor);
  border-radius: 16px;
  color: var(--colors-text-colortext);
  font-family: "Lato", Helvetica;
  line-height: 1.6;
  margin-top: 24px;
}

/* Main title styling */
.faq-content .page-title-h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--colors-text-colortext);
}

/* Introduction paragraph */
.faq-content #faq-page-intro {
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
  color: var(--colors-text-colortext-muted);
}

/* Section headers */
.faq-content .section-h1 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--colors-text-colortext);
  border-bottom: 2px solid var(--colors-primary-colorprimary);
  padding-bottom: 8px;
}

/* FAQ item container */
.faq-content .faq-item {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--colors-border-colorborder);
}

.faq-content .faq-item:last-of-type {
  border-bottom: none;
}

/* Question styling */
.faq-content .faq-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--colors-text-colortext);
  line-height: 1.4;
}

/* Answer styling */
.faq-content .faq-answer {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--colors-text-colortext-muted);
  margin-bottom: 0;
}

/* Links */
.faq-content a {
  color: var(--colors-primary-colorprimary);
  text-decoration: none;
}

.faq-content a:hover {
  text-decoration: underline;
}

/* Strong emphasis in answers */
.faq-content .faq-answer strong {
  font-weight: 600;
  color: var(--colors-text-colortext);
}

/* Last updated note */
.faq-content .faq-last-updated {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--colors-border-colorborder);
  text-align: center;
  font-size: 14px;
  color: var(--colors-text-colortext-muted-2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faq-content {
    padding: 20px;
  }

  .faq-content .page-title-h2 {
    font-size: 26px;
  }

  .faq-content .section-h1 {
    font-size: 21px;
    margin-top: 32px;
  }

  .faq-content .faq-question {
    font-size: 17px;
  }

  .faq-content .faq-answer {
    font-size: 14px;
  }
}
