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

.page-resources-ph444-login-faq__hero-section {
  background-color: #003366; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-resources-ph444-login-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ph444-login-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
  line-height: 1.2;
}

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

.page-resources-ph444-login-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-ph444-login-faq__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-resources-ph444-login-faq__button--primary {
  background-color: #FFCC00; /* Accent color */
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources-ph444-login-faq__button--primary:hover {
  background-color: #e6b800;
  color: #001a33;
}

.page-resources-ph444-login-faq__button--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-resources-ph444-login-faq__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources-ph444-login-faq__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-resources-ph444-login-faq__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
  display: block; /* Ensure it behaves as a block element */
}

.page-resources-ph444-login-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources-ph444-login-faq__faq-navigation {
  flex: 0 0 280px; /* Fixed width for navigation on larger screens */
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  align-self: flex-start; /* Stick to the top */
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Stick below header with some margin */
}

.page-resources-ph444-login-faq__navigation-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFCC00;
  padding-bottom: 10px;
}

.page-resources-ph444-login-faq__navigation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-ph444-login-faq__navigation-list li {
  margin-bottom: 12px;
}

.page-resources-ph444-login-faq__navigation-link {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-resources-ph444-login-faq__navigation-link:hover,
.page-resources-ph444-login-faq__navigation-link:focus {
  color: #003366;
  transform: translateX(5px);
}

.page-resources-ph444-login-faq__article {
  flex: 1; /* Take remaining space */
  min-width: 300px; /* Minimum width for article content */
  max-width: 800px; /* Optimal reading width */
}

.page-resources-ph444-login-faq__article-heading {
  font-size: 2.2em;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid #FFCC00;
  padding-bottom: 10px;
}

.page-resources-ph444-login-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-resources-ph444-login-faq__faq-question {
  font-size: 1.4em;
  color: #003366;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources-ph444-login-faq__faq-answer {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 0;
}

.page-resources-ph444-login-faq__text-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s ease;
}

.page-resources-ph444-login-faq__text-link:hover {
  color: #FFCC00;
}

.page-resources-ph444-login-faq__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image width */
  min-height: 200px; /* Enforce minimum image height */
}

.page-resources-ph444-login-faq__call-to-action {
  background-color: #003366;
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-resources-ph444-login-faq__call-to-action-title {
  font-size: 2.5em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-resources-ph444-login-faq__call-to-action-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-resources-ph444-login-faq__back-link-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-ph444-login-faq__back-link {
  display: inline-block;
  padding: 12px 25px;
  background-color: #f0f0f0;
  color: #003366;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-ph444-login-faq__back-link:hover {
  background-color: #e0e0e0;
  color: #FFCC00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ph444-login-faq__faq-navigation {
    flex: 0 0 220px;
  }

  .page-resources-ph444-login-faq__article {
    flex: 1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-resources-ph444-login-faq__hero-title {
    font-size: 2.5em;
  }

  .page-resources-ph444-login-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-ph444-login-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-ph444-login-faq__button {
    width: 100%;
    max-width: 300px;
  }

  .page-resources-ph444-login-faq__content-area {
    flex-direction: column;
    padding: 30px 15px;
  }

  .page-resources-ph444-login-faq__faq-navigation {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }

  .page-resources-ph444-login-faq__article-heading {
    font-size: 1.8em;
  }

  .page-resources-ph444-login-faq__faq-question {
    font-size: 1.2em;
  }

  .page-resources-ph444-login-faq__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-ph444-login-faq__call-to-action-title {
    font-size: 2em;
  }

  /* Mobile content image constraints */
  .page-resources-ph444-login-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
}

@media (max-width: 480px) {
  .page-resources-ph444-login-faq__hero-title {
    font-size: 2em;
  }

  .page-resources-ph444-login-faq__call-to-action-title {
    font-size: 1.8em;
  }

  .page-resources-ph444-login-faq__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}