.page-resources-ace-ph-guide {
  color: #ffffff; /* Light text for dark body background */
  background-color: #2D3748; /* Ensuring consistent background, though inherited from body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-ace-ph-guide__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  color: #ffffff;
  display: flex; /* Use flex to center content over image */
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-resources-ace-ph-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-resources-ace-ph-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  padding: 20px;
}

.page-resources-ace-ph-guide__hero-content {
  position: relative;
  z-index: 3;
  padding: 20px;
}

.page-resources-ace-ph-guide__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-ace-ph-guide__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-resources-ace-ph-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.2s ease;
  white-space: nowrap;
}

.page-resources-ace-ph-guide__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1A202C; /* Dark Slate */
  border: 2px solid #FFD700;
}

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

.page-resources-ace-ph-guide__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-resources-ace-ph-guide__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-resources-ace-ph-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 20px;
  background-color: #1A202C; /* Dark Slate background for content area */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-ace-ph-guide__article {
  color: #f0f0f0;
}

.page-resources-ace-ph-guide__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-resources-ace-ph-guide__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-ace-ph-guide__article p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-ace-ph-guide__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-ace-ph-guide__list li {
  margin-bottom: 8px;
}

.page-resources-ace-ph-guide__list li strong {
  color: #FFD700;
}

.page-resources-ace-ph-guide__article a {
  color: #FFD700; /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-ace-ph-guide__article a:hover {
  color: #e6c200;
}

.page-resources-ace-ph-guide__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum image width */
  min-height: 200px; /* Enforce minimum image height */
}

.page-resources-ace-ph-guide__call-to-action {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-ace-ph-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-ace-ph-guide__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-ace-ph-guide__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-ace-ph-guide__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-resources-ace-ph-guide__main-title {
    font-size: 2.5em;
  }

  .page-resources-ace-ph-guide__intro-text {
    font-size: 1em;
  }

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

  .page-resources-ace-ph-guide__button {
    width: 100%;
  }

  .page-resources-ace-ph-guide__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-resources-ace-ph-guide__section-title {
    font-size: 2em;
  }

  .page-resources-ace-ph-guide__sub-title {
    font-size: 1.5em;
  }

  .page-resources-ace-ph-guide__article p,
  .page-resources-ace-ph-guide__list,
  .page-resources-ace-ph-guide__faq-answer {
    font-size: 0.95em;
  }

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

@media (max-width: 480px) {
  .page-resources-ace-ph-guide__main-title {
    font-size: 2em;
  }

  .page-resources-ace-ph-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-ace-ph-guide__sub-title {
    font-size: 1.3em;
  }
}