.page-resources-phplus-login-guide {
  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 space below fixed header */
}

.page-resources-phplus-login-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  text-align: center;
  padding: 40px 20px;
  background-color: #1A202C; /* Dark background for hero */
  color: #ffffff;
}

.page-resources-phplus-login-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the background image */
}

.page-resources-phplus-login-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 8px;
}

.page-resources-phplus-login-guide__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-phplus-login-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources-phplus-login-guide__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-resources-phplus-login-guide__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

.page-resources-phplus-login-guide__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-phplus-login-guide__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-resources-phplus-login-guide__content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-resources-phplus-login-guide__back-link:hover {
  color: #FFD700;
}

.page-resources-phplus-login-guide__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-phplus-login-guide__section-title {
  font-size: 2.2em;
  color: #1A202C;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-phplus-login-guide__subsection-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid #FFD700;
  padding-left: 15px;
}

.page-resources-phplus-login-guide__article p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-phplus-login-guide__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-phplus-login-guide__action-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-phplus-login-guide__faq-list {
  margin-top: 30px;
}

.page-resources-phplus-login-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-phplus-login-guide__faq-question {
  font-size: 1.2em;
  color: #1A202C;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources-phplus-login-guide__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources-phplus-login-guide__faq-question--active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-phplus-login-guide__faq-answer {
  padding: 0 20px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-resources-phplus-login-guide__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-phplus-login-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-phplus-login-guide__hero-description {
    font-size: 1em;
  }

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

  .page-resources-phplus-login-guide__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-phplus-login-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-phplus-login-guide__subsection-title {
    font-size: 1.4em;
  }

  .page-resources-phplus-login-guide__article p {
    font-size: 1em;
  }

  /* Ensure content images do not overflow */
  .page-resources-phplus-login-guide img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-phplus-login-guide__hero-title {
    font-size: 1.8em;
  }

  .page-resources-phplus-login-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-phplus-login-guide__section-title {
    font-size: 1.5em;
  }

  .page-resources-phplus-login-guide__subsection-title {
    font-size: 1.2em;
  }

  .page-resources-phplus-login-guide__faq-question {
    font-size: 1em;
  }
}