.page-resources {
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Matches #FFFFFF */
}

.page-resources__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  z-index: 1;
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

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

.page-resources__btn--register, .page-resources__btn--register-cta {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Register color */
}

.page-resources__btn--register:hover, .page-resources__btn--register-cta:hover {
  background-color: #333333;
}

.page-resources__btn--login, .page-resources__btn--login-cta {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
}

.page-resources__btn--login:hover, .page-resources__btn--login-cta:hover {
  background-color: #e0a73d;
}

.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.1);
}

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

.page-resources__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-resources__about-section, .page-resources__latest-updates, .page-resources__support-section, .page-resources__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-resources__featured-resources {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-resources__resource-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

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

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

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

.page-resources__card-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  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-btn:hover {
  background-color: #e0a73d;
}

.page-resources__more-resources {
  margin-top: 50px;
  text-align: center;
}

.page-resources__update-actions, .page-resources__support-actions, .page-resources__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-resources__btn--promotions {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__btn--promotions:hover {
  background-color: #333333;
}

.page-resources__btn--blog {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources__btn--blog:hover {
  background-color: #e0a73d;
}

.page-resources__btn--faq, .page-resources__btn--contact {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__btn--faq:hover, .page-resources__btn--contact:hover {
  background-color: #333333;
}

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

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

  .page-resources__hero-image {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    flex-direction: column;
    padding-bottom: 40px;
  }

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

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

  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-resources__hero-image {
    margin-top: 30px;
  }

  .page-resources__container {
    padding: 30px 15px;
  }

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

  .page-resources__section-description {
    font-size: 0.95em;
  }

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

  .page-resources__resource-card {
    margin-bottom: 20px;
  }

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

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

  .page-resources__card-summary {
    font-size: 0.9em;
  }

  .page-resources__update-actions, .page-resources__support-actions, .page-resources__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__update-actions .page-resources__btn, .page-resources__support-actions .page-resources__btn, .page-resources__cta-actions .page-resources__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

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

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