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

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000080; /* Auxiliary color for hero background */
}

.page-resources__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
}

.page-resources__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #ffffff; /* White text on dark background */
  padding: 20px;
  max-width: 90%;
}

.page-resources__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color for button */
  color: #000080; /* Auxiliary color for button text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources__introduction-section,
.page-resources__why-jili77-section,
.page-resources__faq-section,
.page-resources__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__introduction-section {
  background-color: #fcfcfc;
}

.page-resources__articles-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #000080; /* Auxiliary color for main section titles */
  margin-bottom: 30px;
  font-weight: 700;
}

.page-resources__section-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #333333;
}

.page-resources__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000080; /* Auxiliary color for article titles */
  font-weight: 600;
  line-height: 1.3;
}

.page-resources__article-title a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FFD700; /* Primary color on hover */
}

.page-resources__article-excerpt {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__article-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color for button */
  color: #000080; /* Auxiliary color for button text */
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__article-button:hover {
  background-color: #e6c200;
}

.page-resources__why-jili77-section {
  background-color: #000080;
  color: #ffffff;
}

.page-resources__why-jili77-section .page-resources__section-title {
  color: #FFD700; /* Primary color for title on dark background */
}

.page-resources__why-jili77-section .page-resources__section-paragraph {
  color: #f0f0f0;
}

.page-resources__faq-section {
  background-color: #fcfcfc;
}

.page-resources__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
  font-size: 1.4em;
  color: #000080; /* Auxiliary color for FAQ questions */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-resources__faq-answer {
  font-size: 1.05em;
  color: #555555;
  line-height: 1.7;
}

.page-resources__cta-section {
  background-color: #FFD700; /* Primary color for CTA background */
  color: #000080; /* Auxiliary color for CTA text */
  padding: 80px 0;
}

.page-resources__cta-title {
  font-size: 3em;
  color: #000080;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-resources__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #000080; /* Auxiliary color for CTA button */
  color: #FFD700; /* Primary color for CTA button text */
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-button:hover {
  background-color: #000066; /* Slightly darker auxiliary color on hover */
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__article-title {
    font-size: 1.4em;
  }
  .page-resources__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__section-paragraph {
    font-size: 0.95em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 200px;
  }
  .page-resources__article-title {
    font-size: 1.2em;
  }
  .page-resources__article-excerpt {
    font-size: 0.9em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-description {
    font-size: 1.1em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area images must not overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__faq-question {
    font-size: 1.2em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}