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

.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 400px;
  max-height: 600px;
}

.page-faq__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

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

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

.page-faq__hero-button {
  display: inline-block;
  background-color: #CC0000; /* Main color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-faq__hero-button:hover {
  background-color: #e06666; /* Lighter shade for hover */
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-categories {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-faq__category-button {
  background-color: #f0f0f0;
  color: #333333;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__category-button:hover {
  background-color: #e0e0e0;
}

.page-faq__category-button--active {
  background-color: #FFD700; /* Auxiliary color */
  color: #333333;
  font-weight: bold;
}

.page-faq__accordion {
  margin-top: 20px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__accordion-header {
  background-color: #f7f7f7;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #CC0000; /* Main color */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page-faq__accordion-content a {
  color: #CC0000; /* Main color for links */
  text-decoration: underline;
}

.page-faq__accordion-content a:hover {
  color: #FFD700; /* Auxiliary color for link hover */
}

.page-faq__cta-section {
  background-color: #CC0000; /* Main color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px;
}

.page-faq__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FFD700; /* Auxiliary color */
}

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

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

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

.page-faq__cta-button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #333333;
}

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

.page-faq__cta-button--secondary {
  background-color: #ffffff;
  color: #CC0000; /* Main color */
  border: 2px solid #CC0000;
}

.page-faq__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.4em;
  }

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

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

  .page-faq__hero-image, .page-faq__cta-image {
    min-height: 200px;
    max-height: 400px;
  }
}

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

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

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

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

  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-faq__accordion-item--active .page-faq__accordion-content {
    padding: 10px 20px 20px;
  }

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

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

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

  .page-faq__faq-categories {
    flex-direction: column;
    align-items: center;
  }

  .page-faq__hero-image, .page-faq__cta-image, .page-faq__content-area img, .page-faq__accordion-content img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

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

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

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

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

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

  .page-faq__hero-image, .page-faq__cta-image, .page-faq__content-area img, .page-faq__accordion-content img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

/* Ensure all content area images are at least 200px */
.page-faq img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Override specific element styles to ensure minimum image size */
.page-faq__content-area img,
.page-faq__accordion-content img,
.page-faq__cta-image {
  width: auto; /* Allow image to scale down */
  height: auto; /* Allow image to scale down */
  max-width: 100%; /* Ensure responsiveness */
  min-width: 200px;
  min-height: 200px;
}

.page-faq__hero-image {
  min-height: 400px; /* Hero image often needs larger min-height */
}

/* No filter on images */
.page-faq img {
  filter: none; /* Ensure no CSS filters are applied */
}