.page-resources-ph777-registration-process {
  color: #333333; /* Dark text for light body background #f4f4f4 */
}

.page-resources-ph777-registration-process__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #0A246A; /* Main brand color for hero background */
  color: #ffffff;
}

.page-resources-ph777-registration-process__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 30px;
}

.page-resources-ph777-registration-process__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  object-fit: cover;
}

.page-resources-ph777-registration-process__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
  position: relative;
  padding: 20px;
}

.page-resources-ph777-registration-process__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3C70E; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

.page-resources-ph777-registration-process__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

.page-resources-ph777-registration-process__hero-button {
  display: inline-block;
  background-color: #F3C70E; /* Auxiliary color for CTA */
  color: #0A246A; /* Main color for text on auxiliary background */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-ph777-registration-process__hero-button:hover {
  background-color: #e0b60d;
  transform: translateY(-3px);
}

.page-resources-ph777-registration-process__article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-ph777-registration-process__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #0A246A;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-resources-ph777-registration-process__back-link:hover {
  color: #F3C70E;
}

.page-resources-ph777-registration-process__section-title {
  font-size: 2.2em;
  color: #0A246A;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-resources-ph777-registration-process__sub-section-title {
  font-size: 1.7em;
  color: #0A246A;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.page-resources-ph777-registration-process__paragraph {
  margin-bottom: 1.2em;
  font-size: 1em;
  color: #333333;
}

.page-resources-ph777-registration-process__paragraph--center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-ph777-registration-process__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-ph777-registration-process__list-item {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-resources-ph777-registration-process__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-resources-ph777-registration-process__image--centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.page-resources-ph777-registration-process__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-ph777-registration-process__button--primary {
  background-color: #F3C70E;
  color: #0A246A;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-ph777-registration-process__button--primary:hover {
  background-color: #e0b60d;
  transform: translateY(-2px);
}

.page-resources-ph777-registration-process__button--secondary {
  background-color: #0A246A;
  color: #ffffff;
  border: 1px solid #0A246A;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-ph777-registration-process__button--secondary:hover {
  background-color: #071a4f;
  border-color: #071a4f;
  transform: translateY(-2px);
}

.page-resources-ph777-registration-process__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources-ph777-registration-process__button--bottom-cta {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-ph777-registration-process__hero-title {
    font-size: 2.5em;
  }

  .page-resources-ph777-registration-process__hero-description {
    font-size: 1.1em;
  }

  .page-resources-ph777-registration-process__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-resources-ph777-registration-process__sub-section-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-ph777-registration-process__article-content {
    padding: 0 15px;
    font-size: 1em;
  }

  .page-resources-ph777-registration-process__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-resources-ph777-registration-process img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-ph777-registration-process__hero-title {
    font-size: 2em;
  }

  .page-resources-ph777-registration-process__hero-description {
    font-size: 1em;
  }

  .page-resources-ph777-registration-process__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-ph777-registration-process__section-title {
    font-size: 1.6em;
  }

  .page-resources-ph777-registration-process__sub-section-title {
    font-size: 1.2em;
  }

  .page-resources-ph777-registration-process__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}