.page-resources-jili88ph-introduction {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-jili88ph-introduction__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #000000; /* Auxiliary color for hero section background */
  overflow: hidden;
}

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

.page-resources-jili88ph-introduction__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-jili88ph-introduction__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Main color for primary title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-jili88ph-introduction__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-jili88ph-introduction__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-jili88ph-introduction__button--primary {
  background-color: #FFD700; /* Main color for primary button */
  color: #000000; /* Auxiliary color for text */
}

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

.page-resources-jili88ph-introduction__button--secondary {
  background-color: #4d4d4d; /* Darker grey for secondary button */
  color: #ffffff;
  border: 1px solid #666666;
}

.page-resources-jili88ph-introduction__button--secondary:hover {
  background-color: #666666;
  transform: translateY(-2px);
}

.page-resources-jili88ph-introduction__content-area {
  max-width: 800px; /* Constrain content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Ensure content area matches body background or a dark variant */
}

.page-resources-jili88ph-introduction__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FFD700; /* Main color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-resources-jili88ph-introduction__back-link:hover {
  text-decoration: underline;
}

.page-resources-jili88ph-introduction__article {
  margin-top: 20px;
}

.page-resources-jili88ph-introduction__article-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-jili88ph-introduction__article-subtitle {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-jili88ph-introduction__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-jili88ph-introduction__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.4);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-resources-jili88ph-introduction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-resources-jili88ph-introduction__hero-section {
    padding: 40px 15px;
  }

  .page-resources-jili88ph-introduction__hero-title {
    font-size: 2.2em;
  }

  .page-resources-jili88ph-introduction__hero-description {
    font-size: 1em;
  }

  .page-resources-jili88ph-introduction__hero-buttons,
  .page-resources-jili88ph-introduction__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-jili88ph-introduction__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-jili88ph-introduction__content-area {
    padding: 20px 15px;
  }

  .page-resources-jili88ph-introduction__article-title {
    font-size: 1.8em;
  }

  .page-resources-jili88ph-introduction__article-subtitle {
    font-size: 1.4em;
  }

  .page-resources-jili88ph-introduction__article-paragraph {
    font-size: 1em;
  }

  /* Mobile content image constraint */
  .page-resources-jili88ph-introduction__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-size even on mobile */
    min-height: 200px;
  }
}

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