.page-faq {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column; /* Stack content vertically on mobile */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  gap: 40px;
}

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

.page-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

.page-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-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, color 0.3s ease;
  margin: 0 10px;
}

.page-faq__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__cta-button--login:hover {
  background-color: #e0a53a;
}

.page-faq__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__cta-button--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
}

.page-faq__hero-image {
  max-width: 100%;
  overflow: hidden; /* Ensure image doesn't overflow container */
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

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

.page-faq__accordion-wrapper {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-faq__accordion-header {
  background-color: #f9f9f9;
  color: #000000;
  cursor: pointer;
  padding: 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: bold;
  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-header[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__accordion-body {
  padding: 0 20px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-body p {
  padding: 20px 0;
  color: #333333;
}

.page-faq__accordion-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-faq__accordion-body a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__accordion-body a:hover {
  text-decoration: underline;
}

.page-faq__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

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

.page-faq__cta-contact-button,
.page-faq__cta-play-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, color 0.3s ease;
  margin: 0 10px;
}

.page-faq__cta-contact-button {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__cta-contact-button:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-faq__cta-play-button {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__cta-play-button:hover {
  background-color: #e0a53a;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-faq__hero-section {
    flex-direction: column;
    padding: 60px 15px;
  }

  .page-faq__hero-content {
    margin-bottom: 20px;
  }

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

  .page-faq__intro-text {
    font-size: 1em;
  }

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

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

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

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

  /* Mobile content area image overflow prevention */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is still met */
    min-height: 200px;
  }

  .page-faq__accordion-body p {
    padding: 15px 0;
  }

  .page-faq__cta-contact-button,
  .page-faq__cta-play-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 5px;
  }
}

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

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.5em;
  }

  .page-faq__cta-button {
    display: block;
    margin: 10px auto;
  }

  .page-faq__cta-contact-button,
  .page-faq__cta-play-button {
    display: block;
    margin: 15px auto;
  }
}