.page-faqs {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default background */
}

.page-faqs__hero-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding-top: 10px; /* Small top margin */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faqs__hero-image-wrap {
  position: relative;
  width: 100%;
  max-height: 400px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-faqs__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-faqs__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faqs__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-faqs__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faqs__btn-primary,
.page-faqs__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faqs__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-faqs__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

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

.page-faqs__btn-secondary:hover {
  background-color: #e0f2ff;
  color: #1e87c0;
}

.page-faqs__faq-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

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

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

.page-faqs__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-faqs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none;   /* Disable text selection on iOS */
  -khtml-user-select: none;    /* Disable text selection on Android */
  -moz-user-select: none;      /* Disable text selection on Firefox */
  -ms-user-select: none;       /* Disable text selection on IE/Edge */
  user-select: none;           /* Disable text selection on modern browsers */
}

.page-faqs__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-faqs__faq-question:hover {
  background-color: #f5f5f5;
}

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

.page-faqs__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faqs__faq-item[open] .page-faqs__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-faqs__faq-item[open] .page-faqs__faq-toggle {
  transform: rotate(45deg);
}

.page-faqs__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  background-color: #f8f8f8;
}

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

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

.page-faqs__figure {
  margin: 25px 0;
  text-align: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-faqs__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-faqs__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-faqs__call-to-action {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-faqs {
    font-size: 15px;
  }
}