.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 below fixed header */
}

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

.page-resources__hero-section {
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

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

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__hero-cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6);
  display: block;
}

.page-resources__introduction-section,
.page-resources__articles-section,
.page-resources__deep-dive-section,
.page-resources__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-resources__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

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

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

.page-resources__article-thumbnail {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-resources__article-category {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__article-abstract {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-resources__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

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

.page-resources__primary-cta-button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources__primary-cta-button:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources__secondary-cta-button {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.page-resources__secondary-cta-button:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.page-resources__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive adjustments */
@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: 2em;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-thumbnail {
    height: 180px;
  }
  .page-resources__article-content {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.4em;
  }
  .page-resources__section-text,
  .page-resources__faq-answer {
    font-size: 0.95em;
  }
  .page-resources__cta-wrapper {
    flex-direction: column;
  }
  .page-resources__primary-cta-button,
  .page-resources__secondary-cta-button {
    width: 100%;
  }
  /* Ensure images in content area do not overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for hero image if needed, though object-fit should handle it */
  .page-resources__hero-image {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__sub-section-title {
    font-size: 1.3em;
  }
  .page-resources__article-title {
    font-size: 1.2em;
  }
  .page-resources__article-thumbnail {
    height: 150px;
  }
  .page-resources__hero-cta-button,
  .page-resources__primary-cta-button,
  .page-resources__secondary-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}