.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Minimal top padding, shared.css handles body padding */
  padding-bottom: 60px;
  background-color: #f0f8ff;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-faq__hero-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-faq__hero-description {
  font-size: 1.15rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-faq__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-faq__btn-small {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: none;
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-small:hover {
  background-color: #c96806;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__introduction-section,
.page-faq__faq-list-section,
.page-faq__conclusion-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-faq__dark-section {
  background-color: #f0f8ff;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-faq__content-block {
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-faq__sub-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-faq__content-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-faq__content-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-faq__content-block a:hover {
  color: #1e87b7;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

/* FAQ Accordion Styling */
details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #f5f5f5;
  color: #26A9E0;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

details.page-faq__faq-item[open] .page-faq__faq-qtext {
  color: #26A9E0;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #26A9E0;
  transform: rotate(45deg);
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
  line-height: 1.6;
}

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

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #1e87b7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-faq__sub-title {
    font-size: 1.3rem;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 16px 20px;
  }
  .page-faq__faq-qtext {
    font-size: 1rem;
  }
  .page-faq__faq-toggle {
    font-size: 26px;
    width: 26px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 18px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 40px;
  }
  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }
  .page-faq__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-faq__hero-content-wrapper {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 15px;
  }
  .page-faq__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__btn-small,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-faq__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__conclusion-section {
    padding: 40px 0 !important;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    margin-bottom: 30px;
  }
  .page-faq__sub-title {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-faq__content-block p {
    font-size: 0.95rem;
  }
  .page-faq__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto !important;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px !important;
  }
  .page-faq__faq-qtext {
    font-size: 0.95rem !important;
  }
  .page-faq__faq-toggle {
    font-size: 24px !important;
    width: 24px !important;
    margin-left: 10px !important;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px !important;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}