.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

/* Fixed header offset to prevent content from being hidden by sticky header */
/* As per instructions, if shared handles body padding, this should be 0 or small.
   If not, apply var(--header-offset) to first section. */
.page-resources__hero-section {
  padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
  background-color: #26A9E0; /* Brand primary color for dark background */
  color: #FFFFFF; /* Light text for dark background */
  padding-bottom: 60px;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources__hero-section > .page-resources__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid transparent;
}

.page-resources__btn-primary:hover {
  background-color: #d46b00;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-resources__large-btn {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* General Sections */
.page-resources__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: inherit;
}

.page-resources__paragraph {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: inherit;
  text-align: left;
}