.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); /* Ensures content is not hidden by fixed header */
}

.page-resources__hero-section {
  background-color: #000000; /* Main brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.page-resources__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-resources__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.page-resources__articles-section,
.page-resources__deep-dive-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-resources__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-resources__article-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__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  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.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

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

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

.page-resources__article-category {
  font-size: 0.9em;
  color: #FFD700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.page-resources__deep-dive-section h2 {
  margin-bottom: 30px;
}

.page-resources__deep-dive-section h3 {
  font-size: 2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #000000;
}

.page-resources__deep-dive-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources__deep-dive-section p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__deep-dive-section p a:hover {
  text-decoration: underline;
}

.page-resources__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 12px;
}

.page-resources__cta-bottom p {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #ffffff;
}

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

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

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

  .page-resources__articles-section,
  .page-resources__deep-dive-section {
    padding: 40px 15px;
  }

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

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

  .page-resources__article-image {
    height: 200px;
  }

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

  .page-resources__deep-dive-section h3 {
    font-size: 1.6em;
  }

  .page-resources__deep-dive-section p {
    font-size: 0.95em;
  }

  .page-resources__cta-bottom p {
    font-size: 1.2em;
  }

  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-resources__articles-section img,
  .page-resources__deep-dive-section img {
    max-width: 100%;
    height: auto; /* Allow height to adjust proportionally */
    min-width: 200px; /* Ensure minimum display size */
    min-height: 200px; /* Ensure minimum display size */
  }
}

/* Ensure images within the main content area are not smaller than 200px */
.page-resources img {
  min-width: 200px;
  min-height: 200px;
}