.page-faq {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #f8f9fa; /* Light background for contrast with dark text */
  color: #333333; /* Dark text for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #0A1931; /* Main brand color */
  color: #ffffff; /* White text on dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.page-faq__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-faq__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-faq__button--primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  transform: translateY(-2px);
}

.page-faq__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-faq__button--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.2em;
  color: #0A1931; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-faq__accordion-container {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-faq__accordion-header {
  background-color: #ffffff;
  color: #0A1931; /* Main brand color */
  padding: 20px 30px;
  font-size: 1.3em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  margin: 0;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  background-color: #fdfdfd;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 20px 30px;
}

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

.page-faq__image {
  border-radius: 8px;
  margin: 20px 0;
  object-fit: cover;
  display: block; /* Ensure it's a block element */
}

.page-faq__image--full-width {
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 10px;
  margin-right: 10px;
}

.page-faq__call-to-action {
  background: linear-gradient(135deg, #0A1931, #1e3a6a); /* Gradient using main color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for emphasis */
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-faq__related-resources {
  margin-top: 60px;
  padding: 40px 0;
  text-align: center;
}

.page-faq__resource-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0 auto;
  max-width: 600px;
}

.page-faq__resource-list li {
  margin-bottom: 15px;
}

.page-faq__resource-list li a {
  color: #0A1931; /* Dark blue for links */
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__resource-list li a:hover {
  color: #FFD700; /* Gold on hover */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.2em;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-actions, .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content.active {
    padding: 15px 20px;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  /* Ensure images are responsive and do not overflow */
  .page-faq__image, .page-faq__image--full-width {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must still be >= 200px when possible, but max-width: 100% is crucial */
  .page-faq__accordion-content img {
    min-width: unset; /* Override desktop min-width for mobile responsiveness */
    min-height: unset;
    width: 100%; /* Force full width on mobile */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.5em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__button {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
}