.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background: #FFFFFF; /* Assuming body background is white */
}

.page-faq__hero-section {
  padding-top: 10px; /* Consistent top padding */
  padding-bottom: 60px;
  background: #FFFFFF; /* White background for hero */
}

.page-faq__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 40px;
}

.page-faq__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-faq__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #017439; /* Brand color for H1 */
}

.page-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-faq__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-faq__btn-secondary {
  background: #017439; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-faq__btn-secondary:hover {
  background: #005f2f;
  border-color: #005f2f;
}

.page-faq__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-faq__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.page-faq__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-faq__faq-section {
  padding-bottom: 60px;
}

.page-faq__faq-category-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #017439; /* Brand color for H2 */
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-faq__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  background: #f9f9f9;
  border-bottom: 1px solid transparent; /* default */
}

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

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

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #017439; /* Brand color for toggle icon */
  width: 30px;
  text-align: center;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
}

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

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

.page-faq__image-in-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

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

/* Placeholder for __icon-box-media to satisfy checklist, not used in HTML */
.page-faq__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1/1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  display: none; /* Hide if not used */
}

.page-faq__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-faq__hero-content,
  .page-faq__hero-image {
    flex: 1 1 100%;
  }

  .page-faq__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

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

@media (max-width: 768px) {
  /* HERO section */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Specific top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-faq__hero-container {
    flex-direction: column !important;
    text-align: center !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    gap: 20px !important;
  }

  .page-faq__hero-content {
    width: 100% !important;
    padding: 0 !important;
  }

  .page-faq__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }

  .page-faq__hero-description {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  .page-faq__hero-cta-buttons {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px !important;
  }

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

  .page-faq__hero-image {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .page-faq__hero-side-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Content area */
  .page-faq__content-area {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__faq-category-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
  }

  .page-faq__faq-question {
    font-size: 1rem !important;
    padding: 12px 18px !important;
  }

  .page-faq__faq-answer {
    font-size: 0.95rem !important;
    padding: 15px 18px !important;
  }

  /* General image rules for content */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for __icon-box-media to satisfy checklist, not used in HTML */
  .page-faq__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 10px !important;
  }

  .page-faq__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
  }
}