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

.page-resources__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: #0A2E36; /* Main color for hero background behind image if it doesn't cover fully */
}

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

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-resources__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

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

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

.page-resources__hero-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2E36;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-resources__articles-section,
.page-resources__deep-content,
.page-resources__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-resources__articles-section {
  background-color: #ffffff;
}

.page-resources__section-title,
.page-resources__deep-content-title,
.page-resources__deep-content-subtitle,
.page-resources__cta-title {
  color: #0A2E36;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
}

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

.page-resources__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-resources__filter-button {
  background-color: #f0f0f0;
  color: #0A2E36;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-resources__filter-button:hover,
.page-resources__filter-button--active {
  background-color: #0A2E36;
  color: #FFD700;
  border-color: #0A2E36;
}

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

.page-resources__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  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 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 250px; /* 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.6em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-resources__article-title a {
  color: #0A2E36;
  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: #777777;
  margin-bottom: 15px;
}

.page-resources__article-summary {
  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: #0A2E36;
  color: #FFD700;
  padding: 10px 20px;
  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: #1a4a55;
}

.page-resources__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-resources__pagination-link {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #0A2E36;
  border-radius: 5px;
  text-decoration: none;
  color: #0A2E36;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__pagination-link:hover,
.page-resources__pagination-link--active {
  background-color: #0A2E36;
  color: #FFD700;
}

.page-resources__deep-content {
  background-color: #f0f4f7;
  padding: 80px 0;
  color: #333333;
}

.page-resources__deep-content-title {
  font-size: 3em;
  color: #0A2E36;
  margin-bottom: 30px;
}

.page-resources__deep-content-intro {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #444444;
}

.page-resources__deep-content-subtitle {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources__deep-content-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #555555;
}

.page-resources__cta-section {
  background-color: #0A2E36;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-resources__cta-container {
  max-width: 800px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2E36;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title,
  .page-resources__deep-content-title,
  .page-resources__cta-title {
    font-size: 2.2em;
  }
  .page-resources__deep-content-subtitle {
    font-size: 1.8em;
  }
  .page-resources__article-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 30px 15px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__articles-section,
  .page-resources__deep-content,
  .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__section-title,
  .page-resources__deep-content-title,
  .page-resources__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-resources__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-resources__filters {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 180px;
  }
  .page-resources__article-title {
    font-size: 1.4em;
  }
  .page-resources__article-summary {
    font-size: 0.9em;
  }
  .page-resources__read-more-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-resources__deep-content-subtitle {
    font-size: 1.5em;
  }
  .page-resources__deep-content-paragraph {
    font-size: 1em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Content area images must be responsive and not cause overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}