.page-resources {
  color: #ffffff; /* Dark body background #121212, so use light text */
  background-color: #121212;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-resources__section--intro,
.page-resources__section--news,
.page-resources__section--app,
.page-resources__section--cta {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-resources__dark-bg {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
}

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

.page-resources__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #E5B80B; /* Gold for main titles */
  text-transform: uppercase;
}

.page-resources__content-block {
  text-align: left;
  margin-top: 30px;
}

.page-resources__content-subtitle {
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources__text {
  font-size: 17px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources__highlight {
  color: #E5B80B;
  font-weight: bold;
}

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

.page-resources__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Banner */
.page-resources__hero-banner {
  position: relative;
  padding: 0;
  padding-top: var(--header-offset, 120px); /* Use shared offset or default */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.page-resources__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
  margin-bottom: 30px;
}

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

.page-resources__hero-description {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 30px;
}

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

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

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
  margin: 0;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: nowrap;
  word-wrap: normal;
}

.page-resources__btn-primary {
  background-color: #E5B80B;
  color: #0A2463;
  border: 2px solid #E5B80B;
}

.page-resources__btn-primary:hover {
  background-color: #ffc93c;
  border-color: #ffc93c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 184, 11, 0.4);
}

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

.page-resources__btn-secondary:hover {
  background-color: #E5B80B;
  color: #0A2463;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 184, 11, 0.4);
}

.page-resources__btn-center {
  display: block;
  margin: 30px auto;
  max-width: 300px;
}

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

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

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463; /* Main brand color for question background */
  border: 1px solid #0A2463;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-resources__faq-question:hover {
  background: #1e3c78;
  border-color: #1e3c78;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-resources__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E5B80B;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for answer */
  color: #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* CTA Section */
.page-resources__section--cta {
  padding: 100px 20px;
}

.page-resources__cta-content {
  max-width: 800px;
}

.page-resources__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-resources__section {
    padding: 40px 15px;
  }

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

  .page-resources__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources__content-subtitle {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources__text {
    font-size: 16px;
  }

  /* Hero Banner for mobile */
  .page-resources__hero-banner {
    min-height: 450px;
    padding-top: var(--header-offset, 80px) !important; /* Adjust offset for mobile */
  }

  .page-resources__hero-container {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-resources__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  /* Buttons for mobile */
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__btn-center {
    max-width: 100%;
    margin: 20px auto;
  }

  /* Images for mobile */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ for mobile */
  .page-resources__faq-list {
    margin-top: 30px;
  }

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

  .page-resources__faq-question h3 {
    font-size: 16px;
  }

  .page-resources__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px !important;
  }

  /* CTA Section for mobile */
  .page-resources__section--cta {
    padding: 60px 15px;
  }

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