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

.page-resources__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
  padding: var(--header-offset, 120px) 20px 40px;
  position: relative;
  overflow: hidden;
}

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

.page-resources__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #0A2463;
  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__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px;
  margin-top: 40px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-resources__articles-overview {
  padding: 60px 20px;
  text-align: center;
  background-color: #f5f5f5;
}

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

.page-resources__section-title {
  font-size: 2.2em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-resources__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-resources__article-list {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-resources__list-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 50px;
}

.page-resources__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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: #0A2463;
  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: #FFD700;
}

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

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

.page-resources__card-button:hover {
  background-color: #e6c200;
}

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

.page-resources__subsection-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources__deep-dive p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 25px;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-resources__cta-banner {
  background-color: #0A2463;
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  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;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.4em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__list-title {
    font-size: 2.2em;
  }
  .page-resources__subsection-title {
    font-size: 1.6em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: var(--header-offset, 120px) 15px 30px;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__list-title {
    font-size: 2em;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-card {
    margin-bottom: 20px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__card-summary {
    font-size: 0.95em;
  }
  .page-resources__deep-dive {
    padding: 50px 0;
  }
  .page-resources__subsection-title {
    font-size: 1.5em;
  }
  .page-resources__deep-dive p {
    font-size: 1em;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-resources__hero-image,
  .page-resources__card-image,
  .page-resources__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.7em;
  }
  .page-resources__section-title {
    font-size: 1.6em;
  }
  .page-resources__list-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__hero-button,
  .page-resources__cta-button {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-resources__container {
    padding: 0 15px;
  }
}