.page-resources {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Match body background for consistency */
}

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

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

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

.page-resources__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45; /* Emphasize with accent color */
  line-height: 1.2;
}

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

.page-resources__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text for light button */
  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-wrapper {
  width: 100%;
  max-width: 1200px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover; /* Ensure image covers the area */
}

.page-resources__introduction-section,
.page-resources__trust-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Slightly lighter dark background for contrast */
}

.page-resources__section-heading {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources__section-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources__articles-section {
  padding: 80px 0;
}

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

.page-resources__article-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  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.6em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-resources__card-title a:hover {
  color: #FFFFFF;
}

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

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

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

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

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

.page-resources__trust-section .page-resources__container {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-heading {
    font-size: 2em;
  }
  .page-resources__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__introduction-section,
  .page-resources__trust-section,
  .page-resources__articles-section {
    padding: 60px 0;
  }
  .page-resources__section-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__section-paragraph {
    font-size: 0.95em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-resources__card-image,
  .page-resources__articles-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-resources__card-title {
    font-size: 1.4em;
  }
  .page-resources__card-summary {
    font-size: 0.9em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__section-heading {
    font-size: 1.6em;
  }
  .page-resources__hero-section {
    gap: 20px;
  }
  .page-resources__card-image {
    height: 180px;
  }
  .page-resources__card-content {
    padding: 20px;
  }
  .page-resources__card-title {
    font-size: 1.2em;
  }
  .page-resources__card-summary {
    font-size: 0.85em;
  }
  .page-resources__cta-button {
    width: 100%;
  }
}