.page-faq__hero-section {
  padding-top: 10px; /* Adjusted for shared header padding */
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #F3F8FF; /* Text Main */
  text-align: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop to fill space */
  display: block;
}

.page-faq__hero-content {
  padding: 40px 20px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy to Main Color */
  border-radius: 8px;
  margin: -80px auto 0; /* Overlap with image slightly for visual effect */
  max-width: 900px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-faq__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
}

.page-faq__section--spacing {
  padding-bottom: 80px;
}

.page-faq__section:nth-of-type(even) {
  background-color: #10233F; /* Card BG */
}

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

.page-faq__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3F8FF; /* Text Main */
}

.page-faq__section-title--light {
  color: #F3F8FF; /* Text Main */
}

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

details.page-faq__faq-item {
  margin-bottom: 0;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border Color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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: #F3F8FF; /* Text Main */
  font-size: 18px;
  font-weight: 600;
}

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: #1B3357; /* Divider - slightly lighter */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
  line-height: 1.7;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-answer strong {
  color: #F2C14E; /* Gold */
}

.page-faq__button-group {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

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

/* Mobile responsiveness */
@media (max-width: 849px) {
  .page-faq__hero-image {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
    height: auto; /* Allow height to adjust based on content */
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-faq__hero-image-wrapper {
    height: auto;
    min-height: 200px;
  }

  .page-faq__hero-content {
    margin: -40px auto 0;
    padding: 30px 15px;
  }

  .page-faq__main-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  .page-faq__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-faq__section--spacing {
    padding-bottom: 50px;
  }

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 24px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__faq-answer ul,
  .page-faq__faq-answer ol {
    padding-left: 20px;
  }

  /* Ensure all content containers are responsive */
  .page-faq__content-area,
  .page-faq__text-block,
  .page-faq__card,
  .page-faq__section,
  .page-faq__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}