/* Base styles for the FAQ page */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f9f9f9; /* Light background for the main content area */
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f0f0f0;
  overflow: hidden;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop */
  max-height: 500px;
}

.page-faq__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-50%); /* Pull up over image */
  margin-top: -100px; /* Adjust to position correctly */
  position: relative; /* Ensure z-index works if needed, but avoiding overlay */
  z-index: 1;
}

.page-faq__main-title {
  font-size: 3em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

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

.page-faq__cta-buttons--center {
  margin-top: 40px;
}

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

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

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

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

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

/* Section General Styles */
.page-faq__section {
  padding: 60px 0;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-faq__introduction-section {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq__text-block--light {
  color: #f0f0f0;
}

.highlight-keyword {
  font-weight: bold;
  color: #017439;
}

/* FAQ List Section */
.page-faq__faq-list-section {
  background-color: #f9f9f9;
}

.page-faq__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* FAQ Item (details/summary based) */
details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px 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;
  font-weight: 600;
  font-size: 1.1em;
  color: #333;
}

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;
}

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

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 1em;
  color: #555;
}

details.page-faq__faq-item .page-faq__faq-answer ul,
details.page-faq__faq-item .page-faq__faq-answer ol {
  margin-left: 20px;
  padding-left: 0;
  list-style-position: inside;
}

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

/* Account Management Section */
.page-faq__account-management-section {
  background-color: #017439;
  color: #ffffff;
}