/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   FAQ PAGE - CURLY TAIL SCREEN & WINDOW
   Accordion-style FAQ with blue theme
   ================================ */

/* ================================
   PAGE HEADER
   ================================ */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
}

.page-header-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.page-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: 0;
}

/* ================================
   FAQ SECTIONS
   ================================ */
.faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.faq-section .section-header {
  margin-bottom: 32px;
}

.faq-section .section-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0;
}

/* ================================
   FAQ LIST & ACCORDION
   ================================ */
/* .faq-list max-width/margin moved to internal-critical.css */

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

/* Question (Summary) */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  list-style: none;
  transition: background-color var(--transition-fast);
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question:hover {
  background-color: var(--bg-section-alt);
}

.faq-question span {
  flex: 1;
  padding-right: 16px;
  font-size: var(--text-base);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-blue);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

/* Answer */
.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* Grey section adjustment */
.section-grey .faq-item {
  background-color: var(--color-white);
}

/* ================================
   RESPONSIVE STYLES
   ================================ */
@media (max-width: 768px) {
  /* Page Header Mobile */
  .page-header {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .page-header-content {
    max-width: none;
  }

  /* FAQ Section Mobile */
  .faq-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .faq-question span {
    font-size: var(--text-sm);
  }

  .faq-answer {
    padding: 0 20px 16px 20px;
    font-size: var(--text-sm);
  }
}

/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
