.page-faq {
  color: #333333; /* Dark text for default white body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-faq__hero-section {
  background-color: #1A202C; /* Dark blue background */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-faq__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-faq__hero-image-wrapper {
  max-width: 1000px; /* Max width for the image */
  width: 100%;
  margin-top: 40px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #f8f8f8; /* Light background for content */
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #1A202C; /* Dark blue for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-intro {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-group {
  margin-top: 30px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-faq__accordion-header {
  display: block; /* Make summary block-level to fill width */
  padding: 20px 25px;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-question {
  font-size: 1.2em;
  color: #1A202C;
  margin: 0;
  padding-right: 30px; /* Space for arrow */
}

.page-faq__accordion-item[open] .page-faq__accordion-header {
  background-color: #e6f0ff;
  border-bottom-color: #cce0ff;
}

.page-faq__accordion-item[open] .page-faq__accordion-header::after {
  transform: rotate(180deg);
}

.page-faq__accordion-header::after {
  content: '▼'; /* Down arrow */
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #FFD700; /* Gold arrow */
  transition: transform 0.3s ease;
}

.page-faq__accordion-content {
  padding: 20px 25px;
  font-size: 1em;
  color: #444444;
  border-top: 1px solid #f0f0f0;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
}

.page-faq__accordion-content p:last-child {
  margin-bottom: 0;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__inline-cta {
  color: #FFD700; /* Gold for inline links */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-cta:hover {
  color: #e6c200; /* Darker gold on hover */
}

.page-faq__cta-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
  border-radius: 10px;
}

.page-faq__cta-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-faq__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-faq__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-faq__related-links {
  margin-top: 60px;
  text-align: center;
}

.page-faq__related-title {
  font-size: 2em;
  color: #1A202C;
  margin-bottom: 25px;
}

.page-faq__link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

.page-faq__link-list li a {
  color: #1A202C;
  text-decoration: none;
  font-size: 1.1em;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-faq__link-list li a:hover {
  background-color: #FFD700;
  color: #1A202C;
  border-color: #FFD700;
}

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

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

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

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-faq__section-intro {
    font-size: 0.95em;
  }

  .page-faq__accordion-header {
    padding: 18px 20px;
  }

  .page-faq__accordion-question {
    font-size: 1.1em;
    padding-right: 25px;
  }

  .page-faq__accordion-header::after {
    right: 20px;
  }

  .page-faq__accordion-content {
    padding: 15px 20px;
  }

  .page-faq__cta-section {
    padding: 40px 15px;
  }

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

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

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

  .page-faq__link-list {
    flex-direction: column;
    gap: 10px;
  }

  .page-faq__link-list li a {
    width: calc(100% - 30px);
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  /* Mobile content image constraint */
  .page-faq__accordion-content img,
  .page-faq__hero-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }

  .page-faq__section-title {
    font-size: 1.6em;
  }

  .page-faq__accordion-question {
    font-size: 1em;
  }
}