.page-faq__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0; /* Brand primary color for dark background */
  padding: calc(var(--header-offset, 120px) + 60px) 20px 60px;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

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

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

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

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter for background */
}

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

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 60px;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border-radius: 12px;
  margin-top: 60px;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  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, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-faq__btn-primary:hover {
  background-color: #e0e0e0;
  color: #1a7fb0;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-faq__benefits-section {
  background-color: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-faq__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.page-faq__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.page-faq__benefit-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-faq__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__important-rules-section {
  background-color: #ffffff; /* Light background */
  color: #333333;
  padding: 80px 20px;
  text-align: center;
}

.page-faq__rules-content {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-faq__rules-content p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-faq__rules-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-faq__rules-list li {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-faq__rules-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-faq__rules-list li a:hover {
  text-decoration: underline;
}

/* General image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: calc(var(--header-offset, 120px) + 40px) 15px 40px;
  }
  
  .page-faq__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq__content-area,
  .page-faq__benefits-section,
  .page-faq__important-rules-section {
    padding: 40px 15px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-question h3 {
    font-size: 1.1em;
  }

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

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px;
  }

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

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

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

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-faq__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-faq__rules-content p,
  .page-faq__rules-list li {
    font-size: 1em;
  }
  
  /* Mobile image specific overrides */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__cta-section,
  .page-faq__benefits-section,
  .page-faq__important-rules-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video section padding-top for mobile if it contains video */
  /* .page-faq__video-section { 
    padding-top: var(--header-offset, 120px) !important; 
  } */
}

/* Ensure images in cards are not small */
.page-faq__benefit-card .page-faq__benefit-image {
  min-width: 200px;
  min-height: 200px;
}