/* General styles for .page-faq */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #140C0C; /* Custom background color */
  color: #FFF1E8; /* Custom text color for dark background */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-faq__dark-section {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
  padding: 40px 0;
}

.page-faq__light-bg {
  background-color: #140C0C; /* Main background */
  color: #FFF1E8;
  padding: 40px 0;
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
}

.page-faq__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  color: #F3C54D; /* Gold for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__inline-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button gradient */
  color: #FFF1E8;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #6A1E1E; /* Border */
}

.page-faq__btn-secondary:hover {
  background: #6A1E1E; /* Border */
  color: #FFF1E8;
}

.page-faq__inline-button {
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  border: 1px solid #6A1E1E;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-faq__inline-button:hover {
  background: #C61F1F;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-faq__section-description {
  font-size: 1.05em;
  color: #FFF1E8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  max-width: 800px;
}

.page-faq__faq-list {
  margin-top: 40px;
}

.page-faq__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

.page-faq__faq-question::-webkit-details-marker, 
.page-faq__faq-question::marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF1E8;
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__bottom-cta {
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-faq__copyright {
  background-color: #140C0C; /* Main background */
  color: #6A1E1E; /* Border color for subtle text */
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-faq__hero-content {
    margin-bottom: 20px;
  }

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

  .page-faq__hero-description,
  .page-faq__section-description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__inline-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-faq__introduction,
  .page-faq__faq-section,
  .page-faq__additional-info {
    padding: 30px 0;
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-faq img,
  .page-faq__hero-image img,
  .page-faq__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
  }
}