.page-faq {
  background-color: #FFFFFF;
  color: #333333;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-faq__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-faq__button--primary {
  background-color: #FCBC45;
  color: #000000; /* Dark text for contrast on FCBC45 */
  border: 2px solid #FCBC45;
}

.page-faq__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-faq__button--secondary {
  background-color: #000000;
  color: #FFFFFF; /* White text for contrast on black */
  border: 2px solid #000000;
}

.page-faq__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}

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

.page-faq__faq-list {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-intro {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__category-section {
  margin-bottom: 40px;
  background-color: #f8f8f8; /* Slightly off-white for category background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__category-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 30px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-faq__faq-item {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.page-faq__faq-item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.25em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #fefefe;
  transition: background-color 0.3s ease;
}

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

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

.page-faq__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

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

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #e0a53a;
  text-decoration: underline;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Ensure content images don't exceed a reasonable width */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-faq__contact-support-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  background-color: #f0f0f0; /* Light grey background for contact section */
  border-radius: 15px;
  text-align: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-faq__contact-content {
  max-width: 700px;
}

.page-faq__contact-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-faq__contact-description {
  font-size: 1.1em;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-faq__contact-image {
  width: 100%;
  max-width: 600px;
}

.page-faq__contact-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-faq__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-faq__hero-content {
    text-align: left;
    max-width: 50%;
  }

  .page-faq__hero-image {
    max-width: 45%;
    margin-top: 0;
  }

  .page-faq__hero-actions {
    justify-content: flex-start;
  }

  .page-faq__contact-support-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-faq__contact-content {
    max-width: 50%;
  }

  .page-faq__contact-image {
    max-width: 45%;
  }
}

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
  }

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

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

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

  .page-faq__faq-question::after {
    right: 15px;
  }

  .page-faq__faq-answer {
    padding: 0 15px 15px;
  }

  .page-faq__content-image,
  .page-faq__contact-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

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