/* style/resources.css */
.page-resources {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Allow body background to show */
  padding-top: 0; /* Handled by shared for body, or set for first section if not */
}

/* Ensure content area respects header offset if body doesn't handle it */
.page-resources__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first visual section */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

.page-resources__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.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;
  display: block;
  opacity: 0.3; /* Slightly dim the background image for text readability */
}