.page-resources {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Matches body background */
}

.page-resources__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 900px;
  z-index: 1;
}

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

.page-resources__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  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__hero-button:hover {
  background-color: #e0a53b;
}

.page-resources__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  z-index: 0;
}

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

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

.page-resources__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-resources__article-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-resources__article-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: #000000;
}

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

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

.page-resources__card-summary {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-resources__why-choose-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.page-resources__why-choose-section .page-resources__section-title {
  color: #000000;
  margin-bottom: 30px;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #444444;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.page-resources__subsection-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #FCBC45;
}

.page-resources__content-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources__content-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 15px;
  margin-bottom: 30px;
  transition: background-color 0.3s ease;
}

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

.page-resources__image-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

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

.page-resources__cta-section .page-resources__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-resources__cta-section .page-resources__section-description {
  color: #F0F0F0;
  margin-bottom: 40px;
}

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

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

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px 30px;
  }

  .page-resources__hero-title {
    font-size: 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;
    margin-bottom: 30px;
  }

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

  .page-resources__article-card img {
    
  }

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

  .page-resources__why-choose-section {
    margin: 40px 15px;
    padding: 15px;
  }

  .page-resources__subsection-title {
    font-size: 1.5em;
  }

  .page-resources__content-text {
    font-size: 0.95em;
  }

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

  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-resources__hero-image img,
  .page-resources__articles-section img,
  .page-resources__why-choose-section img,
  .page-resources__cta-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}