/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq-hero-section {
  background: linear-gradient(135deg, #FFD700, #DC143C);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.page-faq-highlight {
  color: #FFD700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-faq-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

.page-faq-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-faq-btn-primary {
  background-color: #FFD700;
  color: #DC143C;
  margin-right: 15px;
}

.page-faq-btn-primary:hover {
  background-color: #e6c200;
  color: #a30f2c;
  transform: translateY(-2px);
}

.page-faq-btn-secondary {
  background-color: #DC143C;
  color: #fff;
  border: 2px solid #DC143C;
}

.page-faq-btn-secondary:hover {
  background-color: #a30f2c;
  border-color: #a30f2c;
  transform: translateY(-2px);
}

.page-faq-btn-sm {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #DC143C;
  color: #fff;
  border: 1px solid #DC143C;
  margin-top: 10px;
}

.page-faq-btn-sm:hover {
  background-color: #a30f2c;
  border-color: #a30f2c;
  transform: translateY(-1px);
}

.page-faq-content-section {
  padding: 60px 0;
  background-color: #fff;
}

.page-faq-section-title {
  font-size: 2.5em;
  color: #DC143C;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq-accordion {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-faq-item {
  border-bottom: 1px solid #eee;
}

.page-faq-item:last-child {
  border-bottom: none;
}

.page-faq-question {
  background-color: #fff;
  padding: 20px 25px;
  font-size: 1.25em;
  color: #333;
  cursor: pointer;
  margin: 0;
  position: relative;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.page-faq-question:hover {
  background-color: #f5f5f5;
}

.page-faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  font-weight: bold;
}

.page-faq-question.active {
  background-color: #FFD700;
  color: #DC143C;
}

.page-faq-question.active::after {
  content: '-';
  color: #DC143C;
}

.page-faq-answer {
  padding: 0 25px;
  background-color: #fcfcfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq-answer.open {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

.page-faq-answer p {
  margin-bottom: 15px;
  color: #555;
}

.page-faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq-keyword {
  font-weight: bold;
  color: #DC143C;
}

.page-faq-img-inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-faq-cta-section {
  background-color: #DC143C;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq-cta-content {
  max-width: 900px;
}

.page-faq-cta-section .page-faq-section-title {
  color: #FFD700;
  margin-bottom: 20px;
}

.page-faq-cta-section .page-faq-description {
  color: #fff;
  margin-bottom: 40px;
}

.page-faq-cta-buttons .page-faq-btn {
  margin: 0 10px;
}

.page-faq-detail-pages-section {
  padding: 60px 0;
  background-color: #f2f2f2;
  text-align: center;
}

.page-faq-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq-detail-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-faq-detail-item:hover {
  transform: translateY(-5px);
}

.page-faq-detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #DC143C;
  font-weight: bold;
}

.page-faq-detail-title a {
  color: #DC143C;
  text-decoration: none;
}

.page-faq-detail-title a:hover {
  text-decoration: underline;
}

.page-faq-detail-desc {
  color: #666;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq-title {
    font-size: 2.5em;
  }

  .page-faq-description {
    font-size: 1em;
  }

  .page-faq-section-title {
    font-size: 2em;
  }

  .page-faq-question {
    font-size: 1.1em;
  }

  .page-faq-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-faq-btn-primary,
  .page-faq-btn-secondary {
    margin-bottom: 15px;
  }

  .page-faq-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-faq-cta-buttons .page-faq-btn {
    margin: 0 0 15px 0;
    width: 80%;
    max-width: 300px;
  }

  .page-faq-detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-faq-hero-section,
  .page-faq-content-section,
  .page-faq-cta-section,
  .page-faq-detail-pages-section {
    padding: 40px 0;
  }

  .page-faq-title {
    font-size: 2em;
  }

  .page-faq-section-title {
    font-size: 1.8em;
  }

  .page-faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-faq-question::after {
    right: 20px;
  }

  .page-faq-answer.open {
    padding: 15px 20px;
  }

  .page-faq-detail-title {
    font-size: 1.3em;
  }
}