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

.page-resources-ph9999-beginner-guide__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-ph9999-beginner-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Only for darkening, not color change */
}

.page-resources-ph9999-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ph9999-beginner-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-resources-ph9999-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-resources-ph9999-beginner-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-ph9999-beginner-guide__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-resources-ph9999-beginner-guide__button--primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #007bff; /* Primary color for text */
  border: 2px solid #ffc107;
}

.page-resources-ph9999-beginner-guide__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-resources-ph9999-beginner-guide__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-resources-ph9999-beginner-guide__button--secondary:hover {
  background-color: rgba(255, 193, 7, 0.2);
  transform: translateY(-2px);
}

.page-resources-ph9999-beginner-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-ph9999-beginner-guide__table-of-contents {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 40px;
}

.page-resources-ph9999-beginner-guide__toc-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  text-align: center;
}

.page-resources-ph9999-beginner-guide__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-ph9999-beginner-guide__toc-list li {
  margin-bottom: 10px;
}

.page-resources-ph9999-beginner-guide__toc-link {
  color: #007bff;
  text-decoration: none;
  font-size: 1.1em;
  display: block;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.page-resources-ph9999-beginner-guide__toc-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

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

.page-resources-ph9999-beginner-guide__article-heading {
  font-size: 2.2em;
  color: #007bff;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 10px;
}

.page-resources-ph9999-beginner-guide__article-subheading {
  font-size: 1.6em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-ph9999-beginner-guide__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.page-resources-ph9999-beginner-guide__ordered-list,
.page-resources-ph9999-beginner-guide__unordered-list {
  margin-bottom: 1.5em;
  padding-left: 25px;
}

.page-resources-ph9999-beginner-guide__ordered-list li,
.page-resources-ph9999-beginner-guide__unordered-list li {
  margin-bottom: 0.8em;
  font-size: 1.1em;
}

.page-resources-ph9999-beginner-guide__text-link {
  color: #007bff;
  text-decoration: none;
}

.page-resources-ph9999-beginner-guide__text-link:hover {
  text-decoration: underline;
}

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

.page-resources-ph9999-beginner-guide__final-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-resources-ph9999-beginner-guide__button--outline {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-resources-ph9999-beginner-guide__button--outline:hover {
  background-color: rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

.page-resources-ph9999-beginner-guide__related-resources {
  margin-top: 60px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.page-resources-ph9999-beginner-guide__related-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 25px;
}

.page-resources-ph9999-beginner-guide__resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-ph9999-beginner-guide__resource-list li {
  margin-bottom: 12px;
}

.page-resources-ph9999-beginner-guide__resource-link {
  color: #007bff;
  text-decoration: none;
  font-size: 1.1em;
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #007bff;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-resources-ph9999-beginner-guide__resource-link:hover {
  background-color: #007bff;
  color: #ffffff;
}

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

  .page-resources-ph9999-beginner-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-ph9999-beginner-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-resources-ph9999-beginner-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-ph9999-beginner-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-ph9999-beginner-guide__article-subheading {
    font-size: 1.4em;
  }

  .page-resources-ph9999-beginner-guide__article-paragraph,
  .page-resources-ph9999-beginner-guide__ordered-list li,
  .page-resources-ph9999-beginner-guide__unordered-list li {
    font-size: 1em;
  }

  /* Ensure images in content area are responsive and don't overflow */
  .page-resources-ph9999-beginner-guide img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-ph9999-beginner-guide__resource-link {
    padding: 6px 10px;
    font-size: 0.95em;
  }

  .page-resources-ph9999-beginner-guide__final-cta {
    flex-direction: column;
  }
}