.page-resources {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
}

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

.page-resources__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Deep red for prominent title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-resources__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-resources__introduction-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources__introduction-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources__introduction-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-resources__articles-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__articles-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-resources__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__card-title .page-resources__card-link {
  color: #8B0000; /* Deep red for link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__card-title .page-resources__card-link:hover {
  color: #FFD700; /* Gold on hover */
}

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

.page-resources__card-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text on gold button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.page-resources__card-button:hover {
  background-color: #8B0000; /* Deep red on hover */
  color: #FFD700; /* Gold text on deep red hover */
}

.page-resources__more-value-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources__more-value-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources__more-value-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__call-to-action-text {
  font-size: 1.5em;
  color: #333333;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources__call-to-action-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text on gold button */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__call-to-action-button:hover {
  background-color: #8B0000;
  color: #FFD700;
}

.page-resources__call-to-action-button--secondary {
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text on deep red button */
}

.page-resources__call-to-action-button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__introduction-title,
  .page-resources__articles-title,
  .page-resources__more-value-title {
    font-size: 2.2em;
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__introduction-title,
  .page-resources__articles-title,
  .page-resources__more-value-title {
    font-size: 1.8em;
  }
  .page-resources__introduction-text,
  .page-resources__articles-intro,
  .page-resources__more-value-text {
    font-size: 0.95em;
  }
  .page-resources__article-image,
  .page-resources__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-resources__article-card {
    margin-bottom: 20px;
  }
  .page-resources__call-to-action-text {
    font-size: 1.2em;
  }
  .page-resources__call-to-action-button {
    display: block;
    margin: 15px auto;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-section {
    padding: 60px 15px 30px;
  }
  .page-resources__introduction-title,
  .page-resources__articles-title,
  .page-resources__more-value-title {
    font-size: 1.6em;
  }
  .page-resources__container {
    padding: 0 15px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__card-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources__call-to-action-button {
    width: 90%;
  }
}