.page-faq {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for main content */
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 20px;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

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

.page-faq__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-faq__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 176, 74, 0.3);
}

.page-faq__accordion-section {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__accordion-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__accordion-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #2A1212;
  color: #FFF1E8;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #3A1A1A;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-icon {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F3C54D;
}

.page-faq__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content p {
  padding-bottom: 20px;
  font-size: 1rem;
  color: #FFF1E8;
}

.page-faq__accordion-content.is-expanded {
  max-height: 500px; /* Adjust based on expected content height */
  padding-top: 10px;
}

.page-faq__accordion-content p:last-child {
    padding-bottom: 25px;
}

.page-faq__inline-link {
  color: #FFB04A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.page-faq__inline-link:hover {
  color: #F3C54D;
}

.page-faq__cta-section {
  background-color: #2A1212;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #6A1E1E;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF1E8;
}

/* Responsive adjustments */
@media (max-width: 850px) {
  .page-faq__hero-section {
    padding: 30px 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .page-faq__intro-text {
    font-size: 1rem;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-faq__accordion-header {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-faq__accordion-icon {
    font-size: 1.5rem;
  }

  .page-faq__accordion-content p {
    font-size: 0.95rem;
  }

  .page-faq__cta-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

@media (max-width: 768px) {
  .page-faq__container {
    padding: 15px;
  }

  .page-faq__hero-image-wrapper img, .page-faq__accordion-content img {
    max-width: 100%;
    height: auto;
  }

  .page-faq__accordion-content.is-expanded {
    max-height: 800px; /* Increased max-height for mobile content */
  }
}

/* Ensure images within content area are responsive and not too small */
.page-faq img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: unset; /* Allow images to shrink below 200px width on mobile if necessary, but maintain max-width: 100% */
    min-height: unset;
  }
}