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

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

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

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

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

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

.page-resources__hero-button--register {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

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

.page-resources__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
}

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

.page-resources__articles-section,
.page-resources__cta-section,
.page-resources__about-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.page-resources__card-image-wrapper {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  overflow: hidden;
}

.page-resources__card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

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

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

.page-resources__cta-description {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 30px;
}

.page-resources__cta-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-resources__cta-button--register {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

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

.page-resources__cta-button--login {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-resources__cta-button--login:hover {
  background-color: #f0f0f0;
  border-color: #333333;
}

.page-resources__about-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-resources__about-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__about-content a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-resources__articles-section,
  .page-resources__cta-section,
  .page-resources__about-section {
    margin: 20px auto;
    padding: 30px 15px;
  }

  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-resources__card-image-wrapper {
    height: 200px;
  }

  .page-resources__card-title {
    font-size: 1.3em;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__hero-button,
  .page-resources__cta-button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
  }

  /* Mobile content area images must be responsive */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

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

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