.page-resources {
  color: #333333;
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
}

.page-resources__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 40px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__hero-content {
  max-width: 800px;
}

.page-resources__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources__cta-button:hover {
  background-color: #e0a53b;
}

.page-resources__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__articles-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-resources__articles-heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #000000;
}

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

.page-resources__article-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 285px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-resources__article-card h3 {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
}

.page-resources__article-card h3 a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-card h3 a:hover {
  color: #FCBC45;
}

.page-resources__article-summary {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-resources__article-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin: 0 20px 20px 20px;
  transition: background-color 0.3s ease;
}

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

.page-resources__cta-section--bottom {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-resources__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 15px;
    gap: 20px;
  }

  .page-resources__hero-title {
    font-size: 2em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources__articles-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-resources__articles-heading {
    font-size: 2em;
  }

  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__article-card h3 {
    font-size: 1.3em;
  }

  .page-resources__article-summary {
    font-size: 0.9em;
  }

  .page-resources__cta-section--bottom {
    padding: 60px 15px;
  }

  .page-resources__cta-title {
    font-size: 2em;
  }

  .page-resources__cta-description {
    font-size: 1em;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
  .page-resources__article-image {
    height: 200px; /* Adjust height for mobile if needed, but ensure >= 200px */
  }
}