.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

/* Header offset for main content */
.page-resources__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background-color: #017439; /* Brand color for hero background */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  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;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Specific button colors */
.page-resources__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-resources__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources__btn-link {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-resources__btn-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.page-resources__section {
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-resources__subsection-title {
  font-size: 1.8em;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #FFFF00;
}

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

.page-resources__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

/* Card Grid */
.page-resources__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.page-resources__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-resources__card-title a {
  color: #FFFF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-resources__card-description {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

/* Benefits List */
.page-resources__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-resources__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #017439;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-resources__list-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-resources__list-description {
  color: #f0f0f0;
  font-size: 0.95em;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

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

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

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px;
}

.page-resources__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

/* Call to Action Section */
.page-resources__cta-section {
  background-color: #017439;
  padding: 100px 20px;
}

.page-resources__cta-container {
  max-width: 900px;
}

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

.page-resources__cta-section .page-resources__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-resources__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* 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-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

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