.page-resources-ph33-login-faq {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-ph33-login-faq__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)); /* Dark overlay for text readability */
}

.page-resources-ph33-login-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-resources-ph33-login-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ph33-login-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for prominence */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-ph33-login-faq__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources-ph33-login-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-ph33-login-faq__button--primary {
  background-color: #FFD700; /* Gold for primary action */
  color: #000000;
}

.page-resources-ph33-login-faq__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-ph33-login-faq__button--secondary {
  background-color: #DC143C; /* Deep Red for secondary action */
  color: #ffffff;
  border: 2px solid #DC143C;
}

.page-resources-ph33-login-faq__button--secondary:hover {
  background-color: #c01132;
  transform: translateY(-2px);
}

.page-resources-ph33-login-faq__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-resources-ph33-login-faq__back-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

.page-resources-ph33-login-faq__back-link:hover {
  color: #e6c200;
}

.page-resources-ph33-login-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-ph33-login-faq__intro-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: justify;
  color: #e0e0e0;
}

.page-resources-ph33-login-faq__faq-list {
  margin-top: 40px;
}

.page-resources-ph33-login-faq__faq-category {
  margin-bottom: 50px;
}

.page-resources-ph33-login-faq__category-title {
  font-size: 2em;
  color: #DC143C; /* Deep Red for category titles */
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-ph33-login-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle light background for each FAQ item */
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-ph33-login-faq__question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  cursor: pointer; /* Indicates it's clickable for accordion */
  position: relative;
  padding-right: 30px;
}

.page-resources-ph33-login-faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources-ph33-login-faq__question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-resources-ph33-login-faq__answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-resources-ph33-login-faq__answer.active {
  max-height: 500px; /* Adjust as needed for content length */
}

.page-resources-ph33-login-faq__answer p {
  margin-bottom: 15px;
}

.page-resources-ph33-login-faq__answer p:last-child {
  margin-bottom: 0;
}

.page-resources-ph33-login-faq__answer .page-resources-ph33-login-faq__button {
  margin-top: 20px;
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-resources-ph33-login-faq__answer .page-resources-ph33-login-faq__button:hover {
  background-color: #c01132;
}

.page-resources-ph33-login-faq__image {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-ph33-login-faq__call-to-action {
  text-align: center;
  background-color: #000000; /* Primary dark background */
  border-radius: 10px;
  padding: 50px 30px;
  margin-top: 60px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.page-resources-ph33-login-faq__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-ph33-login-faq__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ph33-login-faq__hero-title {
    font-size: 3em;
  }
}

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

  .page-resources-ph33-login-faq__hero-description {
    font-size: 1.1em;
  }

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

  .page-resources-ph33-login-faq__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-ph33-login-faq__section-title {
    font-size: 2em;
  }

  .page-resources-ph33-login-faq__category-title {
    font-size: 1.8em;
  }

  .page-resources-ph33-login-faq__question {
    font-size: 1.2em;
  }

  .page-resources-ph33-login-faq__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-resources-ph33-login-faq__cta-title {
    font-size: 1.8em;
  }

  .page-resources-ph33-login-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-ph33-login-faq__button--primary, .page-resources-ph33-login-faq__button--secondary {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure all content area images are responsive and do not cause overflow */
  .page-resources-ph33-login-faq img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-resources-ph33-login-faq__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-ph33-login-faq__section-title {
    font-size: 1.8em;
  }

  .page-resources-ph33-login-faq__category-title {
    font-size: 1.5em;
  }

  .page-resources-ph33-login-faq__question {
    font-size: 1.1em;
  }

  .page-resources-ph33-login-faq__cta-title {
    font-size: 1.5em;
  }
}