.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #ffffff;
}

.page-resources__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
  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 15px;
  box-sizing: border-box;
}

.page-resources__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-resources__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1em;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-resources__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources__content-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-resources__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources__section-title--white {
  color: #ffffff;
}

.page-resources__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources__paragraph {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources__paragraph--white {
  color: #f0f0f0;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-resources__list-item {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #333333;
}

.page-resources__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__link:hover {
  text-decoration: underline;
}

.page-resources__link--white {
  color: #ffffff;
}

.page-resources__link--white:hover {
  color: #e0f4ff;
}

.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #333333;
  font-weight: bold;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 20px;
}

.page-resources__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  margin-top: 50px;
  border-radius: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
  }

  .page-resources__content-section,
  .page-resources__cta-section {
    padding: 30px 0;
  }

  .page-resources__container {
    padding: 0 15px;
  }

  .page-resources__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-resources__sub-title {
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources__paragraph,
  .page-resources__list-item {
    font-size: 0.95em;
  }

  .page-resources__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-resources__faq-question {
    padding: 12px 15px;
  }

  .page-resources__faq-title {
    font-size: 1em;
  }

  .page-resources__faq-answer {
    padding: 0 15px;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 10px 15px;
  }

  /* Ensure all content containers are responsive */
  .page-resources__section,
  .page-resources__card,
  .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure images within content area are at least 200px wide */
.page-resources__content-area img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific contrast fixes if needed */
.page-resources__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

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

.page-resources__cta-buttons a {
    text-align: center;
}