.page-faq {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background #f4f4f4 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #0A246A; /* Main brand color for hero background */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* To contain the image if it overflows */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Ensure text is above image overlay */
}

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #F3C500; /* Accent color for title */
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #F3C500; /* Accent color for button */
  color: #0A246A; /* Dark text for accent background */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq__hero-button:hover {
  background-color: #e0b400; /* Slightly darker accent on hover */
  transform: translateY(-2px);
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for background effect */
  z-index: 1;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-faq__accordion-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #0A246A; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-faq__accordion-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__accordion-header {
  padding: 20px;
  cursor: pointer;
  font-size: 1.3em;
  color: #0A246A; /* Main brand color for accordion headers */
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #F3C500; /* Accent color for expand icon */
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-content.active {
  max-height: 1000px; /* Increased max-height for expanded content */
  padding: 20px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  color: #555555;
}

.page-faq__button {
  display: inline-block;
  background-color: #F3C500;
  color: #0A246A;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-faq__button:hover {
  background-color: #e0b400;
}

.page-faq__cta-section {
  background-color: #0A246A;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #F3C500;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #F3C500;
  color: #0A246A;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-faq__cta-button:hover {
  background-color: #e0b400;
  transform: translateY(-2px);
}

.page-faq__cta-button--primary {
    background-color: #0A246A;
    color: #F3C500;
    border: 2px solid #F3C500;
}

.page-faq__cta-button--primary:hover {
    background-color: #1a3c7f;
    border-color: #e0b400;
}

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-faq__related-links-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.page-faq__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq__link-card {
  display: block;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__link-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-faq__link-title {
  font-size: 1.4em;
  color: #0A246A;
  padding: 15px 20px 5px;
  font-weight: bold;
}

.page-faq__link-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section, .page-faq__cta-section {
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description, .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__hero-button, .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-faq__accordion-content.active {
    padding: 15px;
  }
  .page-faq__links-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure images in content area are responsive and not too small */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-faq__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: 1.5em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 15px;
  }
  .page-faq__accordion-content.active {
    padding: 10px 15px;
  }
  .page-faq__cta-buttons {
      flex-direction: column;
      gap: 15px;
  }
  .page-faq__cta-button {
      width: 100%;
  }
}

/* Global image size enforcement for content area */
.page-faq img {
    min-width: 200px;
    min-height: 200px;
}