.page-faq__hero-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

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

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

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

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

.page-faq__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-faq__section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

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

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-faq__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details tag */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* For details tag in webkit browsers */
}

.page-faq__faq-item[open] > .page-faq__faq-question {
  background-color: #f0f0f0;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  background-color: #f9f9f9;
  border-top: none;
}

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

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

.page-faq__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-faq__dark-section .page-faq__section-title {
  color: #ffffff;
}

.page-faq__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-faq__contact-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-faq__contact-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-faq__image-content {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Base responsive rule */
  height: auto; /* Base responsive rule */
}

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

  .page-faq__hero-description,
  .page-faq__contact-text {
    font-size: 1.1em;
  }

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

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

  .page-faq__faq-answer {
    font-size: 1em;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-faq__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__section {
    padding: 40px 15px;
  }

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

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

  .page-faq__faq-answer {
    font-size: 0.95em;
    padding: 15px;
  }

  .page-faq__contact-section {
    padding: 60px 15px;
  }

  .page-faq__contact-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Image responsive adaptation */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__container,
  .page-faq__section,
  .page-faq__hero-section,
  .page-faq__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Ensure content area images (selected by any selector under .page-faq img) are not too small */
  .page-faq img {
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: contain; /* Ensure image content is fully visible */
  }

  /* Button group for mobile stacking */
  .page-faq__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}