.page-resources {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1a1a1a; /* Inherited from body, but good to ensure text color contrast */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-resources__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 50px; /* Space below hero content */
}

.page-resources__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #E3B505; /* Auxiliary color */
  color: #0A2463; /* Main color for contrast */
  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;
  border: none;
  cursor: pointer;
}

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

.page-resources__cta-button--secondary {
  background-color: #0A2463;
  color: #E3B505;
  border: 2px solid #E3B505;
  margin-left: 15px;
}

.page-resources__cta-button--secondary:hover {
  background-color: #1a3c7c;
  border-color: #f0c94b;
}

.page-resources__intro-section, .page-resources__articles-section, .page-resources__deep-dive {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #E3B505; /* Auxiliary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #0A2463; /* Main color */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-resources__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #cccccc;
}

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

.page-resources__article-card {
  background-color: rgba(10, 36, 99, 0.7); /* Semi-transparent main color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #E3B505; /* Auxiliary color accent */
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #E3B505; /* Auxiliary color */
  min-height: 60px; /* Ensure consistent title height */
}

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

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

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

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

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

.page-resources__deep-dive {
  background-color: #0a0a0a;
  padding: 80px 0;
}

.page-resources__sub-title {
  font-size: 2.2em;
  color: #E3B505; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #0A2463;
}

.page-resources__cta-block {
  background-color: #0A2463; /* Main color */
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources__cta-title {
  font-size: 2.5em;
  color: #E3B505; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-resources__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__section-title {
    font-size: 2.5em;
  }
  .page-resources__sub-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__sub-title {
    font-size: 1.8em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 180px;
  }
  .page-resources__cta-block {
    padding: 30px;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-button {
    display: block;
    margin: 15px auto;
  }
  .page-resources__cta-button--secondary {
    margin-left: auto;
  }
  .page-resources__hero-image, .page-resources__article-image, .page-resources__content-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-content {
    padding: 20px 15px;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__sub-title {
    font-size: 1.5em;
  }
  .page-resources__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}