.page-resources {
  color: #333333; /* Dark text for light body background #f4f4f4 */
}

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
}

.page-resources__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E3B505; /* Auxiliary brand color for accent */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #E3B505; /* Auxiliary brand color */
  color: #0A2463; /* Main brand color for text */
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-button:hover {
  background-color: #f0c94f; /* Slightly lighter yellow on hover */
  transform: translateY(-3px);
}

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

.page-resources__overview-section {
  background-color: #f8f8f8;
  padding: 60px 0;
  text-align: center;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main brand color */
  margin-bottom: 30px;
  text-align: center;
}

.page-resources__text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #444444;
}

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

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

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

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

.page-resources__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  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: #0A2463; /* Main brand color */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-resources__card-title a:hover {
  color: #E3B505; /* Auxiliary brand color on hover */
}

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

.page-resources__read-more-button {
  display: inline-block;
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more-button:hover {
  background-color: #1a3c7e; /* Slightly lighter blue on hover */
}

.page-resources__faq-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-resources__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #0A2463; /* Main brand color */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-resources__faq-answer.active {
  max-height: 300px; /* Adjust based on expected answer length */
  padding-top: 15px;
}

.page-resources__explore-more-section {
  background-color: #0A2463;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-resources__explore-more-content {
  max-width: 900px;
}

.page-resources__explore-more-section .page-resources__section-title {
  color: #E3B505; /* Auxiliary brand color */
  margin-bottom: 30px;
}

.page-resources__explore-more-section .page-resources__text {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Mobile specific header offset */
  }
  .page-resources__hero-container {
    padding: 40px 15px;
  }
  .page-resources__hero-image {
    margin-bottom: 20px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-resources__container {
    padding: 30px 15px;
  }
  .page-resources__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }
  .page-resources__text {
    font-size: 1em;
    margin-bottom: 15px;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__card-image {
    height: 200px;
  }
  .page-resources__card-content {
    padding: 20px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__card-description {
    font-size: 0.95em;
  }
  .page-resources__read-more-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources__faq-item {
    padding: 20px;
  }
  .page-resources__faq-question {
    font-size: 1.2em;
  }
  .page-resources__faq-answer {
    font-size: 0.95em;
  }
  .page-resources__explore-more-section {
    padding: 60px 0;
  }
  /* Ensure all images within .page-resources are responsive */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must not be smaller than 200px */
  .page-resources__article-card img,
  .page-resources__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}