.page-resources__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  color: #ffffff;
  background-color: #017439;
  overflow: hidden;
}

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

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

.page-resources__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

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

.page-resources__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

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

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

.page-resources__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources__hero-image-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources__content-section {
  padding: 60px 20px;
}

.page-resources__dark-bg {
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

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

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

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-resources__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  color: inherit;
}

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources__text-block a {
  color: #FFFF00; /* Links in text blocks */
  text-decoration: underline;
}

.page-resources__text-block a:hover {
  color: #e02020;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: inherit;
}

.page-resources__list-item {
  margin-bottom: 10px;
}

.page-resources__list-item strong {
  color: #FFFF00;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__btn-centered {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 300px;
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-resources__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #e9ecef;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources__faq-item summary:hover {
  background-color: #dee2e6;
}

.page-resources__faq-qtext {
  flex-grow: 1;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-resources__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-resources__faq-answer p {
  margin-bottom: 10px;
}

.page-resources__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-resources__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-resources__faq-answer a:hover {
  color: #005f2e;
}

/* Call to Action Section */
.page-resources__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
}

/* General link styling for keywords */
.page-resources__keyword {
  font-weight: bold;
  color: #FFFF00;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }

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

  .page-resources__subsection-title {
    font-size: 1.6em;
  }
}

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

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

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

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

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__content-section,
  .page-resources__faq-section,
  .page-resources__cta-section {
    padding: 40px 15px;
  }
}