.page-faq {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: transparent; /* Rely on shared body background */
}

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

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0a0a0a; /* Dark background for hero section */
}

.page-faq__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-faq__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  width: 100%; /* Ensure width: 100% is present for flex container */
  padding: 20px;
  box-sizing: border-box;
}

.page-faq__hero-title {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-faq__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background for main sections */
  color: #ffffff;
}

.page-faq__overview-section {
  background-color: #1a1a1a;
}

.page-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-faq__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-faq__text-block {
  flex: 1;
}

.page-faq__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-list-section {
  background-color: #0a0a0a;
}

.page-faq__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-faq__faq-question:hover {
  background-color: #1e8dc7;
}

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

.page-faq__faq-answer {
  padding: 20px 25px;
  background-color: #2a2a2a;
  color: #e0e0e0;
  font-size: 1.05em;
  line-height: 1.6;
}

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

.page-faq__faq-answer img {
  margin-top: 20px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-faq__cta-section {
  background: linear-gradient(135deg, #26A9E0, #1e8dc7);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-faq__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-faq__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e8dc7;
  border-color: #f0f0f0;
}

/* General responsiveness for images */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px !important;
  }

  .page-faq__hero-content {
    padding: 15px;
  }

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

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

  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-faq__sub-title {
    font-size: 1.5em;
  }

  .page-faq__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

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

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

  .page-faq__cta-title {
    font-size: 2.2em;
  }

  .page-faq__cta-description {
    font-size: 1.1em;
  }

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

  .page-faq__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness for mobile */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__hero-image-container,
  .page-faq__content-wrapper,
  .page-faq__image-block,
  .page-faq__faq-list-section,
  .page-faq__faq-item,
  .page-faq__faq-answer,
  .page-faq__cta-section,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-faq__hero-section {
    padding-top: 10px !important;
  }

  .page-faq__faq-answer img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Details/Summary specific styles for correct toggle behavior */
.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}