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

.page-resources__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-resources__content-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
}

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

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

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #555555;
}

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

.page-resources__article-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Ensure images are not small */
  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: #000000;
}

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

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

.page-resources__article-summary {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-resources__section-subtitle {
  font-size: 2em;
  color: #000000;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-resources__paragraph {
  font-size: 1.1em;
  color: #444444;
  max-width: 900px;
  margin: 0 auto 25px auto;
  text-align: justify;
}

.page-resources__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px 30px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
  margin-bottom: 60px;
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

.page-resources__cta-button--secondary {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-resources__additional-links {
  margin-top: 60px;
  text-align: center;
}

.page-resources__additional-links-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 25px;
}

.page-resources__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-resources__link-list li a {
  display: block;
  background-color: #f0f0f0;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__link-list li a:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-resources__article-image {
    height: 200px; /* Maintain minimum size */
  }

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

  .page-resources__paragraph {
    font-size: 1em;
  }

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

  .page-resources__cta-button {
    margin: 10px 0;
    width: 100%;
  }

  .page-resources__link-list {
    flex-direction: column;
    align-items: center;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-resources__hero-button {
    padding: 12px 25px;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__article-title {
    font-size: 1.4em;
  }

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

  .page-resources__hero-section {
    padding: 60px 20px;
  }

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