.page-resources {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0d0d1a; /* Matches shared.css body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources__hero-section {
  background: linear-gradient(135deg, #1A1A2E, #0d0d1a); /* Gradient background with primary color */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  color: #E9B000; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-resources__hero-button {
  display: inline-block;
  background-color: #E9B000; /* Auxiliary color for buttons */
  color: #1A1A2E;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__hero-button:hover {
  background-color: #fcc200;
  transform: translateY(-3px);
}

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

.page-resources__introduction-section,
.page-resources__articles-section,
.page-resources__cta-section,
.page-resources__faq-section,
.page-resources__final-cta {
  padding: 60px 0;
  text-align: center;
}

.page-resources__introduction-section {
  background-color: #1A1A2E;
}

.page-resources__introduction-section .page-resources__section-text {
  text-align: left;
  max-width: 900px;
  margin: 20px auto;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-resources__section-heading {
  font-size: 2.5em;
  color: #E9B000;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-resources__section-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-resources__article-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  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.5em;
  color: #E9B000;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

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

.page-resources__card-button:hover {
  background-color: #E9B000;
  color: #1A1A2E;
}

.page-resources__cta-section {
  background: linear-gradient(90deg, #1A1A2E, #0d0d1a);
  padding: 80px 20px;
}

.page-resources__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #E9B000;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-resources__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #E9B000;
  color: #1A1A2E;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-resources__cta-button:hover {
  background-color: #fcc200;
  transform: translateY(-3px);
}

.page-resources__cta-button--secondary {
  background-color: #1A1A2E;
  color: #E9B000;
  border: 2px solid #E9B000;
}

.page-resources__cta-button--secondary:hover {
  background-color: #E9B000;
  color: #1A1A2E;
  transform: translateY(-3px);
}

.page-resources__faq-section {
  background-color: #0d0d1a;
  padding-bottom: 80px;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #E9B000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

.page-resources__final-cta {
  background-color: #1A1A2E;
  padding: 80px 20px;
}

.page-resources__final-cta-title {
  font-size: 2.5em;
  color: #E9B000;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-resources__final-cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__final-cta-button {
  display: inline-block;
  background-color: #E9B000;
  color: #1A1A2E;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__final-cta-button:hover {
  background-color: #fcc200;
  transform: translateY(-3px);
}

.page-resources__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-heading {
    font-size: 2.2em;
  }
  .page-resources__cta-title {
    font-size: 2.4em;
  }
  .page-resources__final-cta-title {
    font-size: 2.2em;
  }
  .page-resources__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources__introduction-section,
  .page-resources__articles-section,
  .page-resources__cta-section,
  .page-resources__faq-section,
  .page-resources__final-cta {
    padding: 40px 0;
  }
  .page-resources__content-wrapper {
    padding: 30px 15px;
  }
  .page-resources__section-heading {
    font-size: 1.8em;
  }
  .page-resources__section-text {
    font-size: 0.95em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 200px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-resources__final-cta-title {
    font-size: 2em;
  }
  .page-resources__final-cta-description {
    font-size: 1em;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
  }
  .page-resources__faq-answer {
    font-size: 0.9em;
  }
  /* Ensure all content area 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: 1.8em;
  }
  .page-resources__section-heading {
    font-size: 1.6em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__final-cta-title {
    font-size: 1.8em;
  }
  .page-resources__hero-button,
  .page-resources__cta-button,
  .page-resources__final-cta-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-resources__cta-button--secondary {
    margin-top: 10px;
  }
  .page-resources__article-card {
    margin-bottom: 20px;
  }
}

/* Ensure content area images are not smaller than 200px where applicable */
.page-resources__article-image,
.page-resources__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-resources img {
  filter: none; /* Explicitly prevent any filter effects */
}